Robotics StackExchange | Archived questions

Getting Frame Transform With Shared Parent

Because ROS (python indigo at least) does not like reverse traversing the TF tree it won't perform a transform between two frames that share a parent. For example if you have a parent frame Base which has two child frames LeftWheel and RightWheel, ROS will happily find the transform between Base and either child, but cannot find the transform between LeftWheel and RightWheel.

I have a convoluted workaround for this which involves setting up a local transformer, inverting one of the the child transforms and setting it as the parent of the shared parent. This is super unpleasant and has to be done every single time I want to perform this transform. Is there a smarter way to do this?

Thanks

Asked by davelkan on 2016-05-09 16:05:44 UTC

Comments

Can you provide a small reproducable example of this behavior. If so it's a major bug and should be ticketed to be fixed. http://www.sscce.org/

Asked by tfoote on 2016-05-09 16:43:22 UTC

Answers