Can a frame be both parent_id and child_id?
I'm using odom as parent_id for base_link and child_frame_id for map tf in the respective launch files. Will it cause any issues in my tf tree?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I'm using odom as parent_id for base_link and child_frame_id for map tf in the respective launch files. Will it cause any issues in my tf tree?
No, it won't cause any issues, that is exactly how hierarchy trees work.
Me myself am a father because I have children, but at the same time I am a child because I have a father.
Same for the example you describe.
Asked: 2019-06-27 11:46:28 -0500
Seen: 312 times
Last updated: Jun 27 '19
Base_link frame is not connected to odom frame
Moving laser frame causing problem
Problem with TF Tree in RPLidar Hector SLAM and Navigation
how to change the transform according to a transform tree
How to Label an object in /map
getCurrentPose take too long time
How to understand robot_radius in costmap parameters and inflation_radius in inflation_layer?
As long as your overall TF tree doesn't have any loops or multiple roots then this shouldn't be a problem at all.
I would go even further: how would we ever create tree structures (or any linked structures) if frames can't be both parent and child?