Sensors need unique topic names

Issue #3 resolved
William Woodall created an issue

Currently, if the user provided a config like this:

sensors:
  logical_camera_1:
    type: logical_camera
    pose:
      xyz: [0.8, 4.4, 1]
      rpy: [0, 0, 0]
  logical_camera_2:
    type: logical_camera
    pose:
      xyz: [-0.3, 0.15, 1.92]
      rpy: [0, 'pi/2', 0]

Then there would be two logical cameras, but they would both be publishing their data to the topic /ariac/logical_camera. Instead we should probably use the sensor name in the topic name, e.g. logical_camera_1 would publish to /ariac/logical_camera_1 and the same for pattern for each other logical camera.

Also the competition interface document would need to be updated:

https://bitbucket.org/osrf/gear/wiki/competition_interface_documentation

Comments (1)

  1. Log in to comment