1#ifndef BITSIM_SENSORS_MESSAGES_IMU_H
2#define BITSIM_SENSORS_MESSAGES_IMU_H
32 std::array<real_t, 3>
accel{0.0, 0.0, 0.0};
33 std::array<real_t, 3>
gyro{0.0, 0.0, 0.0};
36 static std::optional<IMUMessage>
parse(
const std::string &msg);
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
Models a message from an inertial measurement unit with a three axis accelerometer and a three axis g...
Definition imu.h:31
std::array< real_t, 3 > accel
Definition imu.h:32
static std::optional< IMUMessage > parse(const std::string &msg)
Definition imu.cpp:30
std::array< real_t, 3 > gyro
Definition imu.h:33
Definition message_base.h:15