The Transform message contains a transformation between two coordinate frames. More...
#include <creos/messages/transform.hpp>
Public Member Functions | |
auto | operator<=> (const Transform &other) const =default |
Compare two Transform messages. | |
Public Attributes | |
std::string | frame_id |
The frame id of the source frame. | |
std::string | child_frame_id |
The frame id of the target frame. | |
Vector3d | translation = {0, 0, 0} |
The translation from the source frame to the target frame. | |
Quaterniond | rotation = {0, 0, 0, 1} |
The rotation quaternion from the source frame to the target frame. | |
The Transform message contains a transformation between two coordinate frames.
The Transform is defined is defined in terms of a translation and a rotation. The translation is the vector from the source frame to the target frame. The rotation is a quaternion.