Invalid node name gazeboo when trying to launch gazebo empty world
When trying to launch an empty world in gazebo using the command
roslaunch gazebo_worlds empty_world.launch
I encounter the error
Invalid node name [gazeboo/�]: node names cannot contain /
Is there a known fix for this issue?
The full error is:
terminate called after throwing an instance of 'ros::InvalidNodeNameException' what(): Invalid node name [gazeboo/�]: node names cannot contain / Msg Waiting for master Aborted (core dumped) Error [Connection.cc:477] Connection[0] Closed during Read terminate called after throwing an instance of 'boost::system::system_error' what(): Connection reset by peer [gazebo-2] process has died [pid 18337, 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/dhruv/.ros/log/6ed9ee8a-dde5-11e2-a0c6-0026c789069a/gazebo-2.log]. log file: /home/dhruv/.ros/log/6ed9ee8a-dde5-11e2-a0c6-0026c789069a/gazebo-2.log Aborted (core dumped) [gazebo_gui-3] process has died [pid 18346, exit code 134, cmd /opt/ros/groovy/stacks/simulator_gazebo/gazebo/scripts/gui __name:=gazebo_gui __log:=/home/dhruv/.ros/log/6ed9ee8a-dde5-11e2-a0c6-0026c789069a/gazebo_gui-3.log]. log file: /home/dhruv/.ros/log/6ed9ee8a-dde5-11e2-a0c6-0026c789069a/gazebo_gui-3.log
Launch file:
<launch>
<arg name="paused" default="false"/> <arg name="use_sim_time" default="true"/> <arg name="gui" default="true"/> <arg name="throttled" default="false"/>
<group if="$(arg use_sim_time)"> </group><group if="$(arg paused)">
<group if="$(arg throttled)"> <node name="gazebo" pkg="gazebo" type="gazebo" args="-u $(find gazebo_worlds)/worlds/empty_throttled.world" respawn="false" output="screen"/> </group>
<group unless="$(arg throttled)"> <node name="gazebo" pkg="gazebo" type="gazebo" args="-u $(find gazebo_worlds)/worlds/empty.world" respawn="false" output="screen"/> </group> </group> <group unless="$(arg paused)">
<group if="$(arg throttled)"> <node name="gazebo" pkg="gazebo" type="gazebo" args="$(find gazebo_worlds)/worlds/empty_throttled.world" respawn="false" output="screen"/> </group>
<group unless="$(arg throttled)"> <node name="gazebo" pkg="gazebo" type="gazebo" args="$(find gazebo_worlds)/worlds/empty.world" respawn="false" output="screen"/> </group> </group>
<group if="$(arg gui)"> <node name="gazebo_gui" pkg="gazebo" type="gui" respawn="false" output="screen"/>
</group></launch>
Did you try changing the node name ? Try re-naming the node name from its current value to something else, just 'gazebo' for instance. And also please update the question with your launch file.
I believe the issue is in the ROS api for the gazebo. I haven't made any modifications to the standard groovy install for gazebo (I'm just attempting to run the launch file that ships with the package). I've posted the launch file.
I would go through the source code myself, but it's thousands of lines of code, and a simply searching for "gazeboo" leads me to believe the issue is not as simple as a typo. Of course, I could be wrong, but I couldn't find where the issue was myself.
I have the same problem, I hope to find the way to solve this.
Did anyone resolve this issue?