Home | Tutorials | Wiki | Issues
Ask Your Question
0

Deactivate /clock topic in gazebo ros plugins

asked 2015-12-09 11:29:22 -0500

Illuminatur gravatar image

Hi,

is it possible to deactivate the /clock-topic using gazebo with the ros_plugin? This causes conflicts, when also rosbags are replayed, when containing a own /clock topic.

Best regards!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-12-09 12:42:12 -0500

Stefan Kohlbrecher gravatar image

Not sure if there is built-in functionality for this, but the easiest way is probably remapping the clock topic away. Somewhere in your code there likely is launch code for the gazebo main process like this:

  <node name="gazebo" pkg="gazebo_ros" type="gzserver" args="$(arg world) $(arg args)" respawn="false" output="screen"/>

The remapping can easily be added:

<node name="gazebo" pkg="gazebo_ros" type="gzserver" args="$(arg world) $(arg args)" respawn="false" output="screen">
  <remap from="clock" to="clock_remap_away"/>
</node>
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-12-09 11:29:22 -0500

Seen: 1,400 times

Last updated: Dec 09 '15