MRPT logo

mrpt::slam::CObservationBatteryState Class Reference

This represents a measurement of the batteries on the robot. More...

#include <mrpt/slam/CObservationBatteryState.h>

Inheritance diagram for mrpt::slam::CObservationBatteryState:

mrpt::slam::CObservation mrpt::utils::CSerializable

List of all members.

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).


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.


Constructor & Destructor Documentation

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

Constructor.


Member Function Documentation

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 89 of file CObservationBatteryState.h.

References mrpt::poses::CPose3D.

float mrpt::slam::CObservationBatteryState::likelihoodWith ( const CObservation anotherObs,
const CPosePDF anotherObsPose = NULL 
) const [virtual]

Does nothing in this class.

Implements mrpt::slam::CObservation.

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 96 of file CObservationBatteryState.h.


Member Data Documentation

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.5.9 for MRPT 0.7.1 SVN: at Mon Aug 17 22:32:05 EDT 2009