ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
TF was made so you don't have to fiddle with rotation matrices and quaternions by yourself. Just ask your TF listener object what the transform between two frames is, and apply it to your Pose.
The only example in the TF documentation sadly stops after looking up the transform, but after you got the Transform object, you can simply apply it to your Pose by using tf2::doTransform
.
See the tf2_geometry_msgs
API is here, and especially the doTransform
, fromMsg
, and toMsg
entries. For completeness, the methods of the Listener class are here.
Don't forget to check that your transform was successful and the Pose is safe before sending your real robot to it.
2 | No.2 Revision |
TF was made so you don't have to fiddle with rotation matrices and quaternions by yourself. Just ask your TF listener object what the transform between two frames is, and apply it to your Pose.
The only example in the TF documentation sadly stops after looking up the transform, but after you got the Transform object, you can simply apply it to your Pose by using
.tf2::doTransformtf2_geometry_msgs::doTransform
See the tf2_geometry_msgs
API is here, and especially the doTransform
, fromMsg
, and toMsg
entries. For completeness, the methods of the Listener class are here.
Don't forget to check that your transform was successful and the Pose is safe before sending your real robot to it.
3 | No.3 Revision |
TF was made so you don't have to fiddle with rotation matrices and quaternions by yourself. Just ask your TF listener object what the transform between two frames is, and apply it to your Pose.
The only example in the TF documentation sadly stops after looking up the transform, but after you got the Transform object, you can simply apply it to your Pose by using tf2_geometry_msgs::doTransform
.
See the tf2_geometry_msgs
API is here, and especially the doTransform
, fromMsg
, and toMsg
entries. For completeness, the methods of the Listener class are here.
Don't forget to check that your transform was successful and the Pose is safe before sending your real robot to it.
4 | No.4 Revision |
TF was made so you don't have to fiddle with rotation matrices and quaternions by yourself. Just ask your TF listener object what the transform between two frames is, and apply it to your Pose.
The only example in the TF documentation sadly stops after looking up the transform, but after you got the Transform object, you can simply apply it to your Pose by using tf2_geometry_msgs::doTransform
.
See the tf2_geometry_msgs
API here, and especially the doTransform
, fromMsg
, and toMsg
entries. For completeness, the methods of the Listener class are here.
Don't forget to check that your transform was successful and the Pose is safe before sending your real robot to it.
5 | No.5 Revision |
TF was made so you don't have to fiddle with rotation matrices and quaternions by yourself. Just ask your TF listener object what the transform between two frames is, and apply it to your Pose.
The only example in the TF documentation sadly stops after looking up the transform, but after you got the Transform object, you can simply apply it to your Pose by using
.tf2_geometry_msgs::doTransformdoTransform
See the TF2 API here, and especially the tf2_geometry_msgs
doTransform
, fromMsg
, and toMsg
entries. For completeness, the methods of the Listener class are here.
Don't forget to check that your transform was successful and the Pose is safe before sending your real robot to it.
6 | No.6 Revision |
TF was made so you don't have to fiddle with rotation matrices and quaternions by yourself. Just ask your TF listener object what the transform between two frames is, and apply it to your Pose.
The only example in the TF documentation sadly stops after looking up the transform, but after you got the Transform object, you can simply apply it to your Pose by using doTransform
.. Include tf2_geometry_msgs
to use this.
See the TF2 API here, and especially the doTransform
, fromMsg
, and toMsg
entries. For completeness, the methods of the Listener class are here.
Don't forget to check that your transform was successful and the Pose is safe before sending your real robot to it.