Robotics StackExchange | Archived questions

Using tf::transform_datatypes in python

The C++ api for tf provides many conversion utilities to convert messages to transforms (for example, tf::poseMsgToTF).

Is there any way to use these within python? The closest I've found is to do:

        frame = tf_conversions.fromMsg(pose)

But this returns a PyKDL.Frame object, not a transform. Ideally I'd like to go directly from a pose message to a TF transform.

Asked by Felix Duvallet on 2015-06-05 06:38:41 UTC

Comments

Answers