Starting PR2 in Simulation doesn't work [closed]

asked 2013-03-06 22:38:09 -0500

camilla gravatar image

updated 2014-11-22 17:05:13 -0500

ngrennan gravatar image

Hi,
I'm using ros electric and I was trying to follow the Starting PR2 in Simulation tutorial but after calling:

roslaunch pr2_gazebo pr2.launch

Gazebo crashes and I get this message:

   INFO] [1362652374.345924726, 48.333000000]: Reconfigure request for the gazebo ros camera: prosilica. New rate: 2.00
terminate called after throwing an instance of 'Ogre::RenderingAPIException'
  what():  OGRE EXCEPTION(3:RenderingAPIException): Zero sized texture surface on texture high_def_sensor_RttTex face 0 mipmap 0. Probably, the GL driver refused to create the texture. in GLTexture::_createSurfaceList at /tmp/buildd/ros-electric-visualization-common-1.6.3/debian/ros-electric-visualization-common/opt/ros/electric/stacks/visualization_common/ogre/build/ogre_src_v1-7-3/RenderSystems/GL/src/OgreGLTexture.cpp (line 406)
[gazebo-2] process has died [pid 10403, exit code -6].
log files: /home/camilla/.ros/log/3b4121e4-8712-11e2-aae9-001c25361341/gazebo-2*.log

Can you help me?
I used Gazebo with other robot models before and never had problems.

EDIT:
If in pr2.urdf.xacro i comment this part:

 <!-- Camera package: double stereo, prosilica -->
  <xacro:pr2_head_sensor_package_v0 name="sensor_mount" hd_frame_name="high_def" 
         hd_camera_name="prosilica" 
         stereo_name="double_stereo" 
         parent="head_plate_frame">
    <origin xyz="0.0 0.0 0.0" rpy="0 0 0" />
  </xacro:pr2_head_sensor_package_v0>

The simulation start without problems and I can see the model of the Pr2.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2013-04-04 13:13:33