View Full Version : ROS/Gazebo crashes when spawing PR2 robot model

02-22-2012, 09:54 AM
Hello all.
I am new to ROS and also to this mailing group, so let me introduce myself breifly:

I am a student in Computer Vision and Robotics and currently working on my master's thesis which needs to be carried out in ROS.
I am getting really strange errors when running GAZEBO and spawing a PR2. In fact the entire GAZEBO crashes and I do not know how to track this error.

Here is the error message I get:

[ WARN] [1329924386.489855153, 11.500000000]: You've passed in true for auto_start for the C++ action server at [/head_traj_controller/follow_joint_trajectory]. You should always pass in false to avoid race conditions.
[base_laser_self_filter-23] process has finished cleanly.
log file: /home/reinhard/.ros/log/9799641e-5d66-11e1-8c07-485b39b465c6/base_laser_self_filter-23*.log
[base_laser_self_filter-23] restarting process
process[base_laser_self_filter-23]: started with pid [17328]
[ WARN] [1329924386.592470362, 11.506000000]: Shutdown request received.
[ WARN] [1329924386.592511749, 11.506000000]: Reason given for shutdown: [new node registered with same name]
[ WARN] [1329924386.756356578, 11.529000000]: no localization information yet (odom_combined -> base_laser_link)
[ WARN] [1329924386.928924445, 11.546000000]: No collision geometry specified for link 'r_forearm_cam_frame'
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
[gazebo-1] process has died [pid 11286, exit code -11].
log files: /home/reinhard/.ros/log/9799641e-5d66-11e1-8c07-485b39b465c6/gazebo-1*.log
[tilt_laser_self_filter-21] process has finished cleanly.
log file: /home/reinhard/.ros/log/9799641e-5d66-11e1-8c07-485b39b465c6/tilt_laser_self_filter-21*.log

I hope someone can help me in this. Thank you all in advance!


02-22-2012, 11:07 AM
It seems that if I launch it with gdb it works, but it is extremely weird and definitely not a permanent solution. But I do not know any other way to fix this ..

02-22-2012, 11:45 AM
I would post this to answers.ros.org -- there will be a lot more PR2 users over there (as far as I know, I'm the only PR2 user on this forum -- but I really don't use Gazebo).