How to change the topic name?

asked 2020-12-04 06:20:38 -0500

hairy gravatar image

I am trying to spawn multiple robots in gazebo simulation. It almost works because there spawn two robots and they have thier own topics (in their namespaces), except one... The topic that uses sensor is only one and the plugin for that sensor for robot description looks like this:

<gazebo reference="sensor_laser">
<sensor type="gpu_ray" name="head_hokuyo_sensor">
  <pose>0 0 0 0 0 0</pose>
  <plugin name="gazebo_ros_head_hokuyo_controller" filename="">


I've tried to spawn those robots usning this tutorial

and there is always one /m2wr/laser/scan topic instead of two in different namespaces.

edit retag flag offensive close merge delete