You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In flatland_server/src/model.cpp there is a function called NameSpaceTopic used to prepend the namespace to the topic name before creating a publisher.
Currently, this is only used in bool_sensor.cpp but it should probably be added to other plugins, like laser.cpp.
The text was updated successfully, but these errors were encountered:
Hi! There seems to be a bug in the way ROS topic names are loaded in various plugins.
How to reproduce
Add a laser plugin to a robot model:
Launch a
flatland_server
node with the following world configuration file and see how both robots publish on the same topic (/scan2
):Cause
In
flatland_server/src/model.cpp
there is a function calledNameSpaceTopic
used to prepend the namespace to the topic name before creating a publisher.Currently, this is only used in
bool_sensor.cpp
but it should probably be added to other plugins, likelaser.cpp
.The text was updated successfully, but these errors were encountered: