This node is necessary to run multiple turtlebot4's in a global frame, this node subscribes to each namespaced tf
topic, gets the transforms and appends the namespace as the frame_prefix
, then publishes it to the global /tf
topic.
ros2 run tf_relay relay
For example:
namespace = turtlebot4
number of robots = 10
ros2 run tf_relay relay 'turtlebot4' 10