9 #ifndef CObservationBatteryState_H 10 #define CObservationBatteryState_H 67 std::ostream& o)
const override;
This represents a measurement of the batteries on the robot.
CObservationBatteryState()
Constructor.
Column vector, like Eigen::MatrixX*, but automatically initialized to zeros since construction...
double voltageMainRobotBattery
The data members.
void setSensorPose(const mrpt::poses::CPose3D &newSensorPose) override
A general method to change the sensor pose on the robot.
void getSensorPose(mrpt::poses::CPose3D &out_sensorPose) const override
A general method to retrieve the sensor pose on the robot.
void getDescriptionAsText(std::ostream &o) const override
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
This namespace contains representation of robot actions and observations.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Declares a class that represents any robot's observation.
bool voltageMainRobotComputerIsValid
std::vector< bool > voltageOtherBatteriesValid
These values must be true if the corresponding fields contain valid values (it MUST has the same size...
bool voltageMainRobotBatteryIsValid
These values must be true if the corresponding fields contain valid values.
double voltageMainRobotComputer
mrpt::math::CVectorDouble voltageOtherBatteries
The users can use this vector for any arbitrary number of batteries or any other analog measurements...