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.
#include <mrpt/slam/CObservationBatteryState.h>
Public Member Functions | |
CObservationBatteryState () | |
Constructor. | |
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) | |
RTTI stuff | |
typedef CObservationBatteryStatePtr | SmartPtr |
static mrpt::utils::CLASSINIT | _init_CObservationBatteryState |
static mrpt::utils::TRuntimeClassId | classCObservationBatteryState |
static const mrpt::utils::TRuntimeClassId * | classinfo |
static const mrpt::utils::TRuntimeClassId * | _GetBaseClass () |
virtual const mrpt::utils::TRuntimeClassId * | GetRuntimeClass () const |
Returns information about the class of an object in runtime. | |
virtual mrpt::utils::CObject * | duplicate () const |
Returns a copy of the object, indepently of its class. | |
static mrpt::utils::CObject * | CreateObject () |
static CObservationBatteryStatePtr | Create () |
A typedef for the associated smart pointer
Definition at line 55 of file CObservationBatteryState.h.
mrpt::slam::CObservationBatteryState::CObservationBatteryState | ( | ) |
Constructor.
static const mrpt::utils::TRuntimeClassId* mrpt::slam::CObservationBatteryState::_GetBaseClass | ( | ) | [static, protected] |
Reimplemented from mrpt::slam::CObservation.
static CObservationBatteryStatePtr mrpt::slam::CObservationBatteryState::Create | ( | ) | [static] |
static mrpt::utils::CObject* mrpt::slam::CObservationBatteryState::CreateObject | ( | ) | [static] |
virtual mrpt::utils::CObject* mrpt::slam::CObservationBatteryState::duplicate | ( | ) | const [virtual] |
Returns a copy of the object, indepently of its class.
Implements mrpt::utils::CObject.
virtual const mrpt::utils::TRuntimeClassId* mrpt::slam::CObservationBatteryState::GetRuntimeClass | ( | ) | const [virtual] |
Returns information about the class of an object in runtime.
Reimplemented from mrpt::slam::CObservation.
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 85 of file CObservationBatteryState.h.
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 92 of file CObservationBatteryState.h.
mrpt::utils::CLASSINIT mrpt::slam::CObservationBatteryState::_init_CObservationBatteryState [static, protected] |
Definition at line 55 of file CObservationBatteryState.h.
mrpt::utils::TRuntimeClassId mrpt::slam::CObservationBatteryState::classCObservationBatteryState [static] |
Definition at line 55 of file CObservationBatteryState.h.
Definition at line 55 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.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:46:17 UTC 2011 |