Main MRPT website > C++ reference
MRPT logo
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes
mrpt::slam::CDetectorDoorCrossing Class Reference

Detailed Description

See also:
CPointsMap

#include <mrpt/slam/CDetectorDoorCrossing.h>

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

List of all members.

Classes

struct  TDoorCrossingOutParams
 A structure used as output in this method. More...
struct  TOptions
 In this structure parameters can be changed to customize the behaviour of this algorithm. More...

Public Member Functions

 CDetectorDoorCrossing ()
 The constructor.
void process (CActionRobotMovement2D &in_poseChange, CSensoryFrame &in_sf, TDoorCrossingOutParams &out_estimation)
 The main method, where a new action/observation pair is added to the list.
void clear ()
 Reset the detector, i.e.

Static Public Member Functions

static void printf_debug (const char *frmt,...)
 Sends a formated text to "debugOut" if not NULL, or to cout otherwise.

Public Attributes

struct SLAM_IMPEXP
mrpt::slam::CDetectorDoorCrossing::TOptions 
options

Private Attributes

CRawlog lastObs
 The last observations and consecutive actions are stored here: Indexes (0,1) is the earlier (act,obs) pair, and the lastest pair is in indexes ((M-1)*2,(M-1)*2-1).
COccupancyGridMap2D::TEntropyInfo entropy
 Entropy of current, and last "map patchs".
COccupancyGridMap2D::TEntropyInfo lastEntropy
bool lastEntropyValid

Constructor & Destructor Documentation

mrpt::slam::CDetectorDoorCrossing::CDetectorDoorCrossing ( )

The constructor.

See options for customizing the default parameters.


Member Function Documentation

void mrpt::slam::CDetectorDoorCrossing::clear ( )

Reset the detector, i.e.

it erases all previous observations.

static void mrpt::utils::CDebugOutputCapable::printf_debug ( const char *  frmt,
  ... 
) [static, inherited]

Sends a formated text to "debugOut" if not NULL, or to cout otherwise.

Referenced by mrpt::math::CLevenbergMarquardtTempl::execute().

void mrpt::slam::CDetectorDoorCrossing::process ( CActionRobotMovement2D in_poseChange,
CSensoryFrame in_sf,
TDoorCrossingOutParams out_estimation 
)

The main method, where a new action/observation pair is added to the list.

Here the list of old observations is updated, and a value with the probability of having pass a door is returned.

Parameters:
in_poseChangeThe odometry (or any other meanway) based change in the robot pose since last observation to this one.
in_sfThe observations.
out_estimationThe estimation results.
See also:
TDoorCrossingOutParams

Member Data Documentation

Entropy of current, and last "map patchs".

Definition at line 141 of file CDetectorDoorCrossing.h.

Definition at line 141 of file CDetectorDoorCrossing.h.

Definition at line 142 of file CDetectorDoorCrossing.h.

The last observations and consecutive actions are stored here: Indexes (0,1) is the earlier (act,obs) pair, and the lastest pair is in indexes ((M-1)*2,(M-1)*2-1).

Always contains (Action, Observation) pairs, in that order.

Definition at line 137 of file CDetectorDoorCrossing.h.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011