Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Public Attributes

mrpt::slam::CObservationBatteryState Class Reference


Detailed Description

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.

See also:
CObservation

Definition at line 52 of file CObservationBatteryState.h.

#include <mrpt/slam/CObservationBatteryState.h>

Inheritance diagram for mrpt::slam::CObservationBatteryState:
Inheritance graph
[legend]

List of all members.

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::CObjectduplicate () const
 Returns a copy of the object, indepently of its class.
static mrpt::utils::CObjectCreateObject ()
static CObservationBatteryStatePtr Create ()

Member Typedef Documentation

A typedef for the associated smart pointer

Definition at line 55 of file CObservationBatteryState.h.


Constructor & Destructor Documentation

mrpt::slam::CObservationBatteryState::CObservationBatteryState (  )

Constructor.


Member Function Documentation

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

See also:
setSensorPose

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

See also:
getSensorPose

Implements mrpt::slam::CObservation.

Definition at line 92 of file CObservationBatteryState.h.


Member Data Documentation

Definition at line 55 of file CObservationBatteryState.h.

Definition at line 55 of file CObservationBatteryState.h.

Definition at line 55 of file CObservationBatteryState.h.

The data members.

See also:
voltageMainRobotBatteryIsValid,voltageMainRobotComputerIsValid

Definition at line 65 of file CObservationBatteryState.h.

These values must be true if the corresponding fields contain valid values.

See also:
voltageMainRobotBattery,voltageMainRobotComputer

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.

See also:
voltageOtherBatteriesValid

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:30:30 UTC 2011