18#include <creos/messages/generic.hpp>
19#include <creos/robot_clock.hpp>
20#include <nlohmann/json.hpp>
44NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(
Pose, position, orientation)
63NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(
PoseWithCovariance, position, orientation, covariance)
107NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(
PoseStamped, timestamp, position, orientation)
Matrix template for a 2D array of type T.
Definition generic.hpp:115
The messages that are used in the communication between the agent and the client.
Definition accel.hpp:22
Point message containing a x, y and z of type double.
Definition generic.hpp:32
The Pose message contains a position and orientation.
Definition pose.hpp:27
Quaterniond orientation
Orientation of the robot in the world frame.
Definition pose.hpp:36
Point position
Position of the robot in the world frame.
Definition pose.hpp:31
auto operator<=>(const Pose &other) const =default
Compare two Pose messages.
The PoseStamped message contains a position and orientation with a timestamp.
Definition pose.hpp:90
auto operator<=>(const PoseStamped &other) const =default
Compare two PoseStamped messages.
creos::RobotClock::time_point timestamp
Timestamp of the estimated position and orientation.
Definition pose.hpp:94
std::string frame_id
Frame id of the estimated position and orientation.
Definition pose.hpp:99
The PoseWithCovariance message contains a position and orientation with a covariance matrix.
Definition pose.hpp:49
Matrixd< 6, 6 > covariance
Covariance matrix of the pose The covariance matrix is a 6x6 matrix with the following order: [x,...
Definition pose.hpp:55
auto operator<=>(const PoseWithCovariance &other) const =default
Compare two PoseWithCovariance messages.
The PoseWithCovarianceStamped message contains a position and orientation with a covariance matrix an...
Definition pose.hpp:68
auto operator<=>(const PoseWithCovarianceStamped &other) const =default
Compare two PoseWithCovarianceStamped messages.
std::string frame_id
Frame id of the estimated position and orientation.
Definition pose.hpp:77
creos::RobotClock::time_point timestamp
Timestamp of the estimated position and orientation.
Definition pose.hpp:72
Quaternion message containing the x, y, z and w components as doubles.
Definition generic.hpp:80