CreOS SDK
The CreOS SDK allows you to interact with Avular robots
 
Loading...
Searching...
No Matches
creos_messages::Transform Struct Reference

The Transform message contains a transformation between two coordinate frames. More...

#include <creos/messages/transform.hpp>

Inheritance diagram for creos_messages::Transform:
Collaboration diagram for creos_messages::Transform:

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.
 

Detailed Description

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.


The documentation for this struct was generated from the following file: