Difference between two transform broadcasters
What is the difference between the following transform broadcasters in a multi-robot simulation:
1. br.sendTransform(tf::StampedTransform(transform, ros::Time::now(), "/map", "odom"));
2. br.sendTransform(tf::StampedTransform(transform, ros::Time::now(), "map", "odom"));
I have included the transform broadcaster in two namespaces: robot_1 (tf_prefix="robot_1")
and robot_2(tf_prefix="robot_2")
. I want to use a common map frame. Which of the above two command should I use to get transform of both robots w.r.t. global /map frame?