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