9 #ifndef CObservationIMU_H
10 #define CObservationIMU_H
134 dataIsPresent(25,false),
135 rawMeasurements(25,0)
162 virtual void getDescriptionAsText(std::ostream &o)
const;
std::vector< double > rawMeasurements
The accelerometer and/or gyroscope measurements taken by the IMU at the given timestamp.
pitch absolute value (rad)
void getSensorPose(mrpt::poses::CPose3D &out_sensorPose) const
A general method to retrieve the sensor pose on the robot.
temperature (degrees Celsius)
std::vector< bool > vector_bool
A type for passing a vector of bools.
x magnetic field value (gauss)
y-axis acceleration (m/sec2)
Orientation Quaternion X.
This class stores measurements from an Inertial Measurement Unit (IMU) (attitude estimation, raw gyroscope and accelerometer values), altimeters or magnetometers.
z-axis acceleration (m/sec2)
void setSensorPose(const mrpt::poses::CPose3D &newSensorPose)
A general method to change the sensor pose on the robot.
virtual ~CObservationIMU()
Destructor.
pitch angular velocity (rad/sec)
#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...
Orientation Quaternion Y.
Orientation Quaternion Z.
z magnetic field value (gauss)
Orientation Quaternion W.
y absolute value (meters)
y magnetic field value (gauss)
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...
mrpt::poses::CPose3D sensorPose
The pose of the sensor on the robot.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Declares a class that represents any robot's observation.
z absolute value (meters)
TIMUDataIndex
Symbolic names for the indices of IMU data (refer to mrpt::obs::CObservationIMU)
roll absolute value (rad)
yaw angular velocity (rad/sec)
x absolute value (meters)
roll angular velocity (rad/sec)
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
x-axis acceleration (m/sec2)
vector_bool dataIsPresent
Each entry in this vector is true if the corresponding data index contains valid data (the IMU unit s...
altitude from an altimeter (meters)