Ask Your Question
0

Should tf frames exist at all times?

asked 2018-06-20 04:04:58 -0600

Mehdi. gravatar image

I am interested to know from the authors of TF if the nodes/joints in a tf tree are expected to exist during all the time the robot is up and running?

As an example: using tf to spawn new joints (for example object grasped will have its tf spawned, as a child node of the gripper) and then let it disappear once the grasped object is put down. Or imagine two robots that could dock to each other (like a locomotive and wagons) and then a link would be spawned between both robots.

would that infringe the rules of using tf? What would speak against it? And what would be an alternative solution in that case?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-06-20 12:47:28 -0600

tfoote gravatar image

updated 2018-06-20 12:47:41 -0600

It's completely find for frames to come and go from the system. It's designed to support that without incurring any overhead.

Attaching at a leaf is trivial, as you say you can just attach and detach something from the gripper by publishing the transform and then stopping.

If you want to join two different subtrees it's a little bit more complicated. Because you must join the root of one subtree to the other tree often you'll want to write a script that does this with the right semantic for your application. In your case of joining two subtrains.

There's a discussion of how to do that in #q293004

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: 2018-06-20 04:04:58 -0600

Seen: 78 times

Last updated: Jun 20 '18