MRPT logo

mrpt::slam::CObservationComment Class Reference

This "observation" is actually a placeholder for a text block with comments or additional parameters attached to a given rawlog file. More...

#include <mrpt/slam/CObservationComment.h>

Inheritance diagram for mrpt::slam::CObservationComment:

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

List of all members.

Public Member Functions

 CObservationComment ()
 Constructor.
virtual ~CObservationComment ()
 Destructor.
float likelihoodWith (const CObservation *anotherObs, const CPosePDF *anotherObsPose=NULL) const
 Implements the virtual method in charge of finding the likelihood between this and another observation, probably only of the same derived class.
void getSensorPose (CPose3D &) const
 A general method to retrieve the sensor pose on the robot.
void setSensorPose (const CPose3D &)
 A general method to change the sensor pose on the robot.

Public Attributes

std::string text
 The text block.


Detailed Description

This "observation" is actually a placeholder for a text block with comments or additional parameters attached to a given rawlog file.

There should be only one of this observations in a rawlog file, and it's recommended to insert/modify them from the application RawlogViewer.

See also:
CObservation

Definition at line 46 of file CObservationComment.h.


Constructor & Destructor Documentation

mrpt::slam::CObservationComment::CObservationComment (  )  [inline]

Constructor.

Definition at line 54 of file CObservationComment.h.

virtual mrpt::slam::CObservationComment::~CObservationComment (  )  [inline, virtual]

Destructor.

Definition at line 60 of file CObservationComment.h.


Member Function Documentation

void mrpt::slam::CObservationComment::getSensorPose ( CPose3D  )  const [inline, virtual]

A general method to retrieve the sensor pose on the robot.

Note that most sensors will return a full (6D) CPose3D, but see the derived classes for more details or special cases.

See also:
setSensorPose

Implements mrpt::slam::CObservation.

Definition at line 85 of file CObservationComment.h.

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

Implements the virtual method in charge of finding the likelihood between this and another observation, probably only of the same derived class.

The operator may be asymmetric.

Parameters:
anotherObs The other observation to compute likelihood with.
anotherObsPose If known, the belief about the robot pose when the other observation was taken can be supplied here, or NULL if it is unknown.
Returns:
Returns a likelihood measurement, in the range [0,1].
Exceptions:
std::exception On any error, as another observation being of an invalid class.

Implements mrpt::slam::CObservation.

Definition at line 76 of file CObservationComment.h.

void mrpt::slam::CObservationComment::setSensorPose ( const CPose3D  )  [inline, virtual]

A general method to change the sensor pose on the robot.

Note that most sensors will use the full (6D) CPose3D, but see the derived classes for more details or special cases.

See also:
getSensorPose

Implements mrpt::slam::CObservation.

Definition at line 92 of file CObservationComment.h.


Member Data Documentation

The text block.

Definition at line 64 of file CObservationComment.h.




Page generated by Doxygen 1.5.9 for MRPT 0.7.1 SVN: at Mon Aug 17 22:32:05 EDT 2009