RI-SE / ATOS

ROS2 based platform for coordinating tests of automated vehicles and their surrounding systems.
Mozilla Public License 2.0
14 stars 5 forks source link

Generic mqtt2ros pub sub #636

Closed Robert108 closed 5 months ago

Robert108 commented 8 months ago

This PR introduces generic std_msgs::msg::Empty ros publishers in which the user is able to configure, in the params.yaml file, a mapping from a mqtt topic to a ros topic.

It removes the old wrapper and subscribercallback classes and instead incorporates the mqtt client directly as a member in the bridge.

This PR has been tried working with the old way of publishing MQTT msgs out from ATOS with predefined ros topics. (DENMs and state changes)