Gazebo dies when openning with PR2 controller
Dear all:
I was learning arm_navigation, by reading the tutorials. In "Checking a state for validity", I should run :
export ROBOT=sim
roslaunch pr2_arm_navigation_tutorials pr2_floorobj_world.launch
but I couldn't open gazebo successfully. Instead, it terminated and showed some messages as follow:
Traceback (most recent call last):
File "/opt/ros/electric/stacks/pr2_mechanism/pr2_controller_manager/scripts/spawner", line 159, in <module>
if __name__ == '__main__': main()
File "/opt/ros/electric/stacks/pr2_mechanism/pr2_controller_manager/scripts/spawner", line 137, in main
resp = load_controller(name)
File "/opt/ros/electric/stacks/ros_comm/clients/rospy/src/rospy/impl/tcpros_service.py", line 430, in __call__
return self.call(*args, **kwds)
File "/opt/ros/electric/stacks/ros_comm/clients/rospy/src/rospy/impl/tcpros_service.py", line 519, in call
raise ServiceException("transport error completing service call: %s"%(str(e)))
rospy.service.ServiceException: transport error completing service call: unable to receive data from sender, check sender's logs for details
[WARN] [WallTime: 1332306075.862983] [4.181000] Spawner couldn't reach pr2_controller_manager to take down controllers.
[gazebo-2] process has died [pid 32591, exit code -11].
log files: /home/albert/.ros/log/dd42c886-7312-11e1-bef1-5404a6dc3a5e/gazebo-2*.log
[default_controllers_spawner-23] process has died [pid 32680, exit code 1].
log files: /home/albert/.ros/log/dd42c886-7312-11e1-bef1-5404a6dc3a5e/default_controllers_spawner-23*.log
I could see pr2 in gazebo for a second and then the process died, and the program was closed immediately
I can run it on my laptop, but get this problem on my PC. My OS is ubuntu 10.10, and I use ros-electric. I'm pretty sure that I've install all the required packages or dependencies.
really appreciate for any help, thanks
does roslaunch pr2_gazebo pr2_empty_world.launch work for you?
No, it stil terminated with the same error. I think it's because this launch file include pr2_gazebo/pr2.launch , which include pr2_controller_configuration_gazebo/pr2_default_controllers.launch
Same problem as here, I'd say (and I also found no solution): http://answers.ros.org/question/28253/rosgazebo-crashes-when-spawing-pr2-robot-model Bug?
Actually, this error didn't happen on my computer before.......until one day, I dist-upgrade ros and my Ubuntu. The CPU of my PC is core i5 2450 and GPU is Nvidia GeForce GT 520. I've tried to re-install ros electric and even Ubuntu, but the damage seemed to be irreversible...so weird
Same to me. The problem seems come from when I'm using the discrete GPU (Nvidia GT540M), using bumblebee (optirun command). Without discrete GPU I don't get any problems.....