9 #ifndef CObservationBatteryState_H
10 #define CObservationBatteryState_H
65 void getDescriptionAsText(std::ostream &o)
const MRPT_OVERRIDE;
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
#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...
Column vector, like Eigen::MatrixX*, but automatically initialized to zeros since construction.
This represents a measurement of the batteries on the robot.
mrpt::math::CVectorDouble voltageOtherBatteries
The users can use this vector for any arbitrary number of batteries or any other analog measurements.
bool voltageMainRobotBatteryIsValid
These values must be true if the corresponding fields contain valid values.
vector_bool voltageOtherBatteriesValid
These values must be true if the corresponding fields contain valid values (it MUST has the same size...
double voltageMainRobotBattery
The data members.
Declares a class that represents any robot's observation.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
std::vector< bool > vector_bool
A type for passing a vector of bools.
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.