tf transformPoint() equivalent on tf2?
It used to be that, with tf, we would use a TransformListener
and its transformDATA()
methods, e.g.
import tf
listener = tf.TransformListener()
...
ptNew = listener.transformPoint('frameNew', ptOld)
but now with tf2 (i.e. tf2_ros), there doesn't seem to be a transformPoint()
. The only place I can find something close is in tf2_geometry_msgs.do_transform_point()
, which requires PyKDL (not installed by default with ROS). I can't find any docs on the api for the do_transform_DATA()
, however, and I see that the code is called "geometry_experimental" on github. Am I just trying to use this before it's ready for prime time, or is there something I'm missing as far as docs and using the tf2 listener?
Edit: Bump. I'm also facing this problem.
Is there an update on this? Transforming points from one coordinate system to the other is, for me, the essential use-case of tf2. But it seems that this is supported only poorly and documented even more poorly.