From: Yiannis G. <me...@le...> - 2005-05-09 14:34:04
|
Mike Gauthier wrote: >I am having some rendering problems with wxgazebo. When I run it I get the main >window but no environment displays in it. My graphics card is ATI Rage 128 PF >Pro AGP4X TMDS. Is this card compatible with gazebo 0.5.1? I also notice that >it says direct [no]. This means that direct rendering is disabled? > > for direct rendering in gazebo have a look on the following: http://playerstage.sourceforge.net/doc/Gazebo-manual-0.5-html/gazebo_opengl.html in your case it must be commented out the glx module in /etc/X11/xorg.conf or xfree config file. >$ wxgazebo /usr/local/share/gazebo/worlds/example.world >starting server >waiting for server >*** Gazebo 0.5.1 *** >using display [:0.0] >rendering: [GLX offscreen] direct [no] RGBA [8 8 8 0] depth [24] >rendering: [GLX offscreen] direct [no] RGBA [8 8 8 0] depth [24] >connecting to server >opening simulator interface >server id [0] >waiting for data >running956 0.820 0.000 [0.419] 0.240 [ 12%] >Traceback (most recent call last):70 [ 9%] > File "/usr/local/lib/python2.2/site-packages/wxgazebo/main.py", line 170, in >OnTimer > win.OnUpdate() > File "/usr/local/lib/python2.2/site-packages/wxgazebo/panels/sim.py", line >159, in OnUpdate > h.panel.OnUpdate() > File "/usr/local/lib/python2.2/site-packages/wxgazebo/panels/guicam.py", line >129, in OnUpdate > self.imagePanel.SetData(data.image) > File "/usr/local/lib/python2.2/site-packages/wxgazebo/image.py", line 27, in >SetData > self.image.SetData(image) > File "/home/mike/Python/wxPython-src-2.6.0.0/wxPython/wx/_core.py", line 2391, >in SetData > return _core_.Image_SetData(*args, **kwargs) >ValueError: Invalid data buffer size. > > hmmm, i am getting same error messages similar to yours and this is on an nvidia machine which i tested. i suspect it has to do with the version of wxPython you installed. i remember reading in the email list that compatible is version 2.4. anything more recent than that has issues. |