This represents a measurement of the batteries on the robot. More...
#include <mrpt/slam/CObservationBatteryState.h>
Public Member Functions | |
CObservationBatteryState () | |
Constructor. | |
float | likelihoodWith (const CObservation *anotherObs, const CPosePDF *anotherObsPose=NULL) const |
Does nothing in this class. | |
void | getSensorPose (CPose3D &out_sensorPose) const |
A general method to retrieve the sensor pose on the robot. | |
void | setSensorPose (const CPose3D &newSensorPose) |
A general method to change the sensor pose on the robot. | |
Public Attributes | |
double | voltageMainRobotBattery |
The data members. | |
double | voltageMainRobotComputer |
bool | voltageMainRobotBatteryIsValid |
These values must be true if the corresponding fields contain valid values. | |
bool | voltageMainRobotComputerIsValid |
vector_double | voltageOtherBatteries |
The users can use this vector for any arbitrary number of batteries or any other analog measurements. | |
vector_bool | voltageOtherBatteriesValid |
These values must be true if the corresponding fields contain valid values (it MUST has the same size than voltageOtherBatteries). |
This represents a measurement of the batteries on the robot.
The battery levels are in volts in the form of the public members:
voltageOtherBatteries
There are boolean flags for signaling when the corresponding values have been filled out or not.
Definition at line 52 of file CObservationBatteryState.h.
mrpt::slam::CObservationBatteryState::CObservationBatteryState | ( | ) |
Constructor.
void mrpt::slam::CObservationBatteryState::getSensorPose | ( | CPose3D & | out_sensorPose | ) | const [inline, virtual] |
A general method to retrieve the sensor pose on the robot.
It has no effects in this class
Implements mrpt::slam::CObservation.
Definition at line 89 of file CObservationBatteryState.h.
References mrpt::poses::CPose3D.
float mrpt::slam::CObservationBatteryState::likelihoodWith | ( | const CObservation * | anotherObs, | |
const CPosePDF * | anotherObsPose = NULL | |||
) | const |
Does nothing in this class.
void mrpt::slam::CObservationBatteryState::setSensorPose | ( | const CPose3D & | newSensorPose | ) | [inline, virtual] |
A general method to change the sensor pose on the robot.
It has no effects in this class
Implements mrpt::slam::CObservation.
Definition at line 96 of file CObservationBatteryState.h.
The data members.
Definition at line 65 of file CObservationBatteryState.h.
These values must be true if the corresponding fields contain valid values.
Definition at line 70 of file CObservationBatteryState.h.
Definition at line 65 of file CObservationBatteryState.h.
Definition at line 70 of file CObservationBatteryState.h.
The users can use this vector for any arbitrary number of batteries or any other analog measurements.
Definition at line 75 of file CObservationBatteryState.h.
These values must be true if the corresponding fields contain valid values (it MUST has the same size than voltageOtherBatteries).
Definition at line 79 of file CObservationBatteryState.h.
Page generated by Doxygen 1.6.1 for MRPT 0.7.1 SVN: at Tue Dec 22 08:29:35 CET 2009 |