How to invert a geometry_msgs::Transform in C++?
Given a geometry_msgs::Transform
not obtained through tf, how can I obtain the inverse of this transform?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
```
tf::Transform transform;
tf::transformMsgToTF(transform_msg, transform);
geometry_msgs::Transform inverted_transform_msg;
tf::transformTFToMsg(transform.inverse(), inverted_transform_msg)
Asked: 2019-11-20 03:36:41 -0600
Seen: 1,642 times
Last updated: Nov 20 '19