Error gazebo simulator in ros groovy
I am having problems when running: roslaunch gazebo_worlds empty_world.launch, in my ros groovy environment. I have two ros, fuerte and groovy installed in ubuntu 12.04 precise. When I switch to fuerte, it runs perfectly, but whenever switch to groovy, it produces an error message. Error:
roslaunch gazebo_worlds empty_world.launch
... logging to /home/anshar/.ros/log/946e8346-c82c-11e2-8138-5c260a08367a/roslaunch-anshar-17672.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://anshar:47955/
SUMMARY
========
PARAMETERS
* /rosdistro
* /rosversion
* /use_sim_time
NODES
/
gazebo (gazebo/gazebo)
gazebo_gui (gazebo/gui)
auto-starting new master
process[master]: started with pid [17686]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 946e8346-c82c-11e2-8138-5c260a08367a
process[rosout-1]: started with pid [17699]
started core service [/rosout]
process[gazebo-2]: started with pid [17713]
process[gazebo_gui-3]: started with pid [17719]
Gazebo multi-robot simulator, version 1.5.0
Copyright (C) 2013 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
Gazebo multi-robot simulator, version 1.5.0
Copyright (C) 2013 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
Warning [parser.cc:361] Converting a deprecated SDF source[/opt/ros/groovy/stacks/simulator_gazebo/gazebo_worlds/worlds/empty.world].
Set SDF value
Version[1.2] to Version[1.3]
Please use the gzsdf tool to update your SDF files.
$ gzsdf convert [sdf_file]
Msg Waiting for masterterminate called after throwing an instance of 'ros::InvalidNameException'
what(): Character [] at element [8] is not valid in Graph Resource Name [gazebobo]. Valid characters are a-z, A-Z, 0-9, / and _.
Error [Connection.cc:477] Connection[0] Closed during Read
Aborted (core dumped)
terminate called after throwing an instance of 'boost::system::system_error'
what(): End of file
[gazebo-2] process has died [pid 17713, exit code 134, cmd /opt/ros/groovy/stacks/simulator_gazebo/gazebo/scripts/gazebo /opt/ros/groovy/stacks/simulator_gazebo/gazebo_worlds/worlds/empty.world __name:=gazebo __log:=/home/anshar/.ros/log/946e8346-c82c-11e2-8138-5c260a08367a/gazebo-2.log].
log file: /home/anshar/.ros/log/946e8346-c82c-11e2-8138-5c260a08367a/gazebo-2*.log
Aborted (core dumped)
[gazebo_gui-3] process has died [pid 17719, exit code 134, cmd /opt/ros/groovy/stacks/simulator_gazebo/gazebo/scripts/gui __name:=gazebo_gui __log:=/home/anshar/.ros/log/946e8346-c82c-11e2-8138-5c260a08367a/gazebo_gui-3.log].
log file: /home/anshar/.ros/log/946e8346-c82c-11e2-8138-5c260a08367a/gazebo_gui-3*.log
^C[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
I need to ctrl -c to stop.
Any idea would be appreciated. Thank you
Anshar
Having the same problem. Could be an ogre error as: source /opt/ros/groovy/stacks/simulator_gazebo/gazebo/setup.bash [rospack] Error: stack/package ogre not found
After checking, my system doesn't have ogre and when trying to install from ogre wiki, found out that it doesn't support for precise 12.04. any clue would be great?
"Msg Waiting for masterterminate called after throwing an instance of 'ros::InvalidNameException'" I had a similar problem to this, but with the node name. There was a weird pointer allocation and I had to manually overwrite gazebo's ROS plugin to make it work. (in ROS package simulator_gazebo).
And I'm in Ubuntu 12.04 and have ogre running fine. It just wasn't in the right path. Try to look for it in your computer and if you find it change its path in the environment variable.
are you running dual ros installation?, fuerte and groovy?
Has anyone found a fix? I have the same issue on at least 4 different machines... and yet there are other computers in my lab that work just fine. All machines had Ubuntu 12.04 installed from scratch and they all have different hardware specs. I followed the exact same instructions every time!
The recommended way to use Gazebo with ROS groovy (at least since June 2013, if I remember correctly) was not to use simulator_gazebo package that comes with ROS, but to install Gazebo as a standalone software from [http://gazebosim.org/ Gazebo Oficial Website].
Only true on Hydro and above; I'm using Groovy, which requires an older version of Gazebo that is packaged with ROS. However, I think I've figured out the reason: it appears that older version of Gazebo doesn't work very well on 32-bit operating systems.