19#include <creos/robot_clock.hpp>
20#include <nlohmann/json.hpp>
59NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(
Odometry, timestamp, pose, twist)
The messages that are used in the communication between the agent and the client.
Definition accel.hpp:22
The Odometry message contains the estimated position, orientation and velocity of the robot.
Definition odometry.hpp:32
creos::RobotClock::time_point timestamp
Timestamp of the estimated position, orientation and velocity.
Definition odometry.hpp:36
auto operator<=>(const Odometry &other) const =default
Compare two Odometry messages.
TwistWithCovariance twist
Linear and angular velocity of the robot.
Definition odometry.hpp:51
std::string frame_id
Frame id of the odometry.
Definition odometry.hpp:41
PoseWithCovariance pose
Position and orientation of the robot.
Definition odometry.hpp:46
The PoseWithCovariance message contains a position and orientation with a covariance matrix.
Definition pose.hpp:49
The TwistWithCovariance message contains the linear and angular velocity of the robot with a covarian...
Definition twist.hpp:49