ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Thanks, I have not changed anything. I just add fake_localization node. Its working with one robot as there is only one transform /odom -> /base_link. But When there are multiple robots and you have a map frame then It gives error.
Yes. One thing I am doing is that, I have a node that is continuously giving a transform between /odom and /map. Im doing this.
tf::TransformBroadcaster broadcaster;
while(n.ok())
{
broadcaster.sendTransform(tf::StampedTransform(tf::Transform(tf::Quaternion(0,0,0,1), tf::Vector3(x, y, 0.0)), ros::Time::now(), "map", robot_name+"/odom"));
r.sleep();
}
Is it ok? Or I should write tf from /map to /odom in another way, so that fake_localization do not effect.