Hi,
I am just start with Gazebo. I try to convert my URDF file to Gazebo and launch it.
I got below error when running but I am not sure what it is.
Thank you in advance.
thangnguyen@thangnguyen:~/Projects/ROSTutorial$ roslaunch master_ros view_differential_drive_robot_gazebo.launch
... logging to /home/thangnguyen/.ros/log/e37a905e-d180-11e6-83d6-58fb8403a7f0/roslaunch-thangnguyen-10757.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://thangnguyen:40859/
SUMMARY
========
PARAMETERS
* /rosdistro: kinetic
* /rosversion: 1.12.6
* /use_sim_time: True
NODES
/
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
spawn_urdf (gazebo_ros/spawn_model)
auto-starting new master
process[master]: started with pid [10768]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to e37a905e-d180-11e6-83d6-58fb8403a7f0
process[rosout-1]: started with pid [10781]
started core service [/rosout]
process[gazebo-2]: started with pid [10787]
process[gazebo_gui-3]: started with pid [10799]
process[spawn_urdf-4]: started with pid [10812]
[ INFO] [1483426219.030409188]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1483426219.031334007]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
spawn_model script started
[INFO] [1483426219.176462, 0.000000]: Loading model xml from file
[INFO] [1483426219.177078, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
terminate called after throwing an instance of 'boost::exception_detail::clone_impl>'
what(): boost: mutex lock failed in pthread_mutex_lock: Invalid argument
Aborted (core dumped)
[gazebo-2] process has died [pid 10787, exit code 134, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode /home/thangnguyen/Projects/ROSTutorial/src/master_ros/worlds/ddrobot.world __name:=gazebo __log:=/home/thangnguyen/.ros/log/e37a905e-d180-11e6-83d6-58fb8403a7f0/gazebo-2.log].
log file: /home/thangnguyen/.ros/log/e37a905e-d180-11e6-83d6-58fb8403a7f0/gazebo-2*.log
[gazebo_gui-3] process has died [pid 10799, exit code 255, cmd /opt/ros/kinetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/thangnguyen/.ros/log/e37a905e-d180-11e6-83d6-58fb8403a7f0/gazebo_gui-3.log].
log file: /home/thangnguyen/.ros/log/e37a905e-d180-11e6-83d6-58fb8403a7f0/gazebo_gui-3*.log
^C[spawn_urdf-4] killing on exit
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/gazebo_ros/spawn_model", line 313, in
sm.callSpawnService()
File "/opt/ros/kinetic/lib/gazebo_ros/spawn_model", line 271, in callSpawnService
initial_pose, self.reference_frame, self.gazebo_namespace)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/gazebo_ros/gazebo_interface.py", line 28, in spawn_urdf_model_client
rospy.wait_for_service(gazebo_namespace+'/spawn_urdf_model')
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 159, in wait_for_service
raise ROSInterruptException("rospy shutdown")
rospy.exceptions.ROSInterruptException: rospy shutdown
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
↧