ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Error integrating Gazebo 1.9 with Ros Hydro

asked 2013-09-08 22:56:02 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am unable to wrap gazebo to interface with the the ROS. Followed the stepwise instruction in the gazebo page, everything goes fine but when I try to run the simulator it says could not connect to the master. when I run the gzserver in another terminal it works despite the error. Isnt gazebo supposed to run with only

$ rosrun gazebo_ros gazebo

command?

saroj@saroj:~$ rosrun gazebo_ros gazebo

Gazebo multi-robot simulator, version 1.9.1
Copyright (C) 2013 Open Source Robotics Foundation.
Released under the Apache 2 License.

Gazebo multi-robot simulator, version 1.9.1
Copyright (C) 2013 Open Source Robotics Foundation.
Released under the Apache 2 License.

Msg Waiting for master.Error [parser_urdf.cc:2680] Unable to load file[/opt/ros/hydro/lib/libgazebo_ros_paths_plugin.so].

Error [parser.cc:273] parse as old deprecated model file failed.
Error [Server.cc:289] Unable to read sdf file[/opt/ros/hydro/lib/libgazebo_ros_paths_plugin.so]

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
  what():  boost::lock_error
.............................
Error [ConnectionManager.cc:116] Failed to connect to master in 30 seconds.

/home/saroj/gazebo_ros/src/gazebo_ros_pkgs/gazebo_ros/scripts/gazebo: 25: kill: invalid signal number or name: SIGINT

Has anyone else faced similar problem??

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-09-10 18:30:55 -0500

espee gravatar image

The problem is solved.. had to use $killall gzserver because it was still running the previous instance because of error while closing.

edit flag offensive delete link more
0

answered 2013-09-09 08:16:07 -0500

tfoote gravatar image

updated 2013-09-09 08:16:28 -0500

If you're running the ROS bindings you need a ros Master instance. Did you run roscore yet? From your error message it suggests you have not.

edit flag offensive delete link more

Comments

I forgot to mention that. I did run the roscore. However, if I also run the gzserver independently and give command $rosrun gazebo_ros gazebo, gazebo window pops up despite the error . connected to gazebo master @ http://127.0.0.1:11345 Msg Publicized address: 192.168.11.56 And same error.

espee gravatar image espee  ( 2013-09-09 15:18:57 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-09-08 22:56:02 -0500

Seen: 1,800 times

Last updated: Dec 05 '14