18#include <creos/messages/generic.hpp>
19#include <creos/robot_clock.hpp>
20#include <nlohmann/json.hpp>
44NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(
Twist, linear, angular)
85NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(
TwistStamped, linear, angular, timestamp, frame_id)
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
The Twist message contains the linear and angular velocity of the robot.
Definition twist.hpp:27
Vector3d linear
Linear velocity of the robot in the world frame [m/s].
Definition twist.hpp:31
Vector3d angular
Angular velocity of the robot in the world frame [rad/s].
Definition twist.hpp:36
auto operator<=>(const Twist &other) const =default
Compare two Twist messages.
The TwistStamped message contains the linear and angular velocity of the robot with a timestamp.
Definition twist.hpp:68
creos::RobotClock::time_point timestamp
Timestamp of the estimated linear and angular velocity.
Definition twist.hpp:72
std::string frame_id
Frame id of the twist.
Definition twist.hpp:77
auto operator<=>(const TwistStamped &other) const =default
Compare two TwistStamped messages.
The TwistWithCovariance message contains the linear and angular velocity of the robot with a covarian...
Definition twist.hpp:49
Matrixd< 6, 6 > covariance
Covariance matrix of the pose The covariance matrix is a 6x6 matrix with the following order: [x,...
Definition twist.hpp:55
auto operator<=>(const TwistWithCovariance &other) const =default
Compare two TwistWithCovariance messages.
The TwistWithCovarianceStamped message contains the linear and angular velocity of the robot with a c...
Definition twist.hpp:90
auto operator<=>(const TwistWithCovarianceStamped &other) const =default
Compare two TwistWithCovarianceStamped messages.
std::string frame_id
Frame id of the twist.
Definition twist.hpp:99
creos::RobotClock::time_point timestamp
Timestamp of the estimated linear and angular velocity.
Definition twist.hpp:94
Vector3d message containing a x, y and z of type double.
Definition generic.hpp:48