You may not have installed hardware graphics drivers. Check that.
Rtv
On Monday, August 20, 2012, Xianshi (Matt) Xie wrote:
> Dear guys,
>
> Recently I reinstalled my ubuntu system 11.04 and player 3.0.2 / Stage
> 3.2.2.
> When I ran player with 8 robots and 20 entities, e.g. defined entities with
> importing an image like this:
> define orange model
> (
> bitmap "bitmaps/rink.png"
> size [0.4 0.4 1]
> color "yellow"
> )
>
> the Stage runs very slowly, about 0.3 of simulation speed, even when the
> robots sit there and did nothing.
> Do you guys know why is that?
>
> When I change the model definition to be defined with block function, Stage runs on normal speed.
>
> define carton model
> (
> # a carton is retangular
> # so make a square shape and use size[]
> block
> (
> points 4
> point[0] [1 0]
> point[1] [1 1]
> point[2] [0 1]
> point[3] [0 0]
> z [0 1]
> )
> # average litre carton size is ~ 20cm x 10cm x 5cm ish
> size [0.6 0.6 0.6]
> color "DarkBlue"
> )
>
>
> But when I connect the robots to my python client code, my client code
> (it is in vizard software, which is a virtual environment toolkit running
> python code) runs extremely slowly, even when the robots just sit there and
> do nothing.
>
> Did I install too many packages that slow down the Stage simulation and
> the communication between player and client code?
> Following is what I install for the player/stage dependencies:
>
> sudo apt-get update
> sudo apt-get install
>
> #FOR PLAYER
> sudo apt-get install autotools-dev
> sudo apt-get install build-essential
> sudo apt-get install cmake
> sudo apt-get install cpp
> sudo apt-get install libboost-thread1.42.0
> sudo apt-get install libboost-thread1.42-dev
> sudo apt-get install libboost-signals1.42.0
> sudo apt-get install libcv2.1
> sudo apt-get install libcv-dev
> sudo apt-get install libhighgui2.1
> sudo apt-get install libhighgui-dev
> sudo apt-get install libgdk-pixbuf2.0-0
> sudo apt-get install libgdk-pixbuf2.0-dev
> sudo apt-get install libgnomecanvas2-0
> sudo apt-get install libgnomecanvas2-dev
> sudo apt-get install libgsl0ldbl
> sudo apt-get install libgsl0-dev
> sudo apt-get install libjpeg62-dev
> sudo apt-get install libtool
> sudo apt-get install libxmu-dev
> sudo apt-get install swig
>
>
> #FOR STAGE
> sudo apt-get install freeglut3
> sudo apt-get install freeglut3-dev
> sudo apt-get install libfltk1.1
> sudo apt-get install libfltk1.1-dev
> sudo apt-get install libgtk2.0-dev
> sudo apt-get install libltdl7
> sudo apt-get install libltdl7-dev
> sudo apt-get install libpng12-0
> sudo apt-get install libpng12-0-dev
>
>
>
> #MISCELLANEOUS DEPENDENCIES
> sudo apt-get install libplayerc++
> sudo apt-get install libplayerc++-dev
> sudo apt-get install python
> sudo apt-get install python-dev
> sudo apt-get install ruby
> sudo apt-get install ruby-dev
>
> #FOR OPENCV(for IMAGE PROCESSING SUPPORT)
> sudo apt-get install libcvaux-dev
>
>
>
> sudo apt-get install cmake
> sudo apt-get install cmake-curses-gui
>
>
> Thanks a lot!
> --
> Xianshi (Matt) Xie
> Department of Electrical Engineering and Computer Science
> Vanderbilt University
> TN,USA
>
>
--
Sent from a mobile gadget
|