Ask Your Question
0

Can a frame be both parent_id and child_id?

asked 2019-06-27 11:46:28 -0500

sajal gravatar image

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?

edit retag flag offensive close merge delete

Comments

1

As long as your overall TF tree doesn't have any loops or multiple roots then this shouldn't be a problem at all.

PeteBlackerThe3rd gravatar imagePeteBlackerThe3rd ( 2019-06-27 11:51:05 -0500 )edit
2

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?

gvdhoorn gravatar imagegvdhoorn ( 2019-06-27 12:20:37 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-06-27 21:05:32 -0500

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2019-06-27 11:46:28 -0500

Seen: 25 times

Last updated: Jun 27