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
problems adding urdf frames to odom->base_link
facing error in robot_state_publisher
rviz process died on kinetic + debian, publisherupdate/tf connection refused error
how to fix very low frame publish rate of turtlebot
Concatenating relative transformations to obtain a global transformation
Waiting on transform from /base_link to /map?
How to synchronize tfMessage and Image messages?
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?