9 #ifndef CObservationIMU_H
10 #define CObservationIMU_H
120 dataIsPresent(21,false),
121 rawMeasurements(21,0)
x absolute value (meters)
z absolute value (meters)
temperature (degrees Celsius)
std::vector< double > rawMeasurements
The accelerometer and/or gyroscope measurements taken by the IMU at the given timestamp.
pitch absolute value (rad)
x magnetic field value (gauss)
TIMUDataIndex
Symbolic names for the indices of IMU data (refer to mrpt::slam::CObservationIMU) ...
altitude from an altimeter (meters)
y absolute value (meters)
z magnetic field value (gauss)
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
pitch angular velocity (rad/sec)
Declares a class that represents any robot's observation.
std::vector< bool > vector_bool
A type for passing a vector of bools.
virtual ~CObservationIMU()
Destructor.
y magnetic field value (gauss)
vector_bool dataIsPresent
Each entry in this vector is true if the corresponding data index contains valid data (the IMU unit s...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
x-axis acceleration (m/sec2)
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
This class stores measurements from an Inertial Measurement Unit (IMU) (attitude estimation, raw gyroscope and accelerometer values), altimeters or magnetometers.
void getSensorPose(CPose3D &out_sensorPose) const
A general method to retrieve the sensor pose on the robot.
CPose3D sensorPose
The pose of the sensor on the robot.
yaw angular velocity (rad/sec)
void setSensorPose(const CPose3D &newSensorPose)
A general method to change the sensor pose on the robot.
roll angular velocity (rad/sec)
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
y-axis acceleration (m/sec2)
z-axis acceleration (m/sec2)
roll absolute value (rad)