bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
odometry.h
Go to the documentation of this file.
1#ifndef BITSIM_SENSORS_MESSAGES_ODOMETRY_H
2#define BITSIM_SENSORS_MESSAGES_ODOMETRY_H
3
6
7#include <optional>
8#include <string>
9
10namespace bitsim
11{
12namespace sensors
13{
14
27{
28 real_t x{0.0};
29 real_t y{0.0};
30 real_t yaw{0.0};
31
33 static std::optional<OdometryMessage> parse(const std::string &msg);
34};
35} // namespace sensors
36} // namespace bitsim
37
38#endif // BITSIM_SENSORS_MESSAGES_ODOMETRY_H
The basic types of bitsim. Code outside this file names Eigen's matrix and vector types only through ...
Definition infrared_line_follower.h:9
Definition dc_motor_backend_base.h:9
double real_t
real_t
Definition bitsim_types.h:20
Definition message_base.h:15
A pose estimate from a board:
Definition odometry.h:27
static std::optional< OdometryMessage > parse(const std::string &msg)
Definition odometry.cpp:10
real_t y
[m]
Definition odometry.h:29
real_t x
[m]
Definition odometry.h:28
real_t yaw
[rad]
Definition odometry.h:30