Main MRPT website > C++ reference for MRPT 1.4.0
List of all members | Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes
mrpt::detectors::CDetectorDoorCrossing Class Reference

Detailed Description

See also
CPointsMap

Definition at line 31 of file CDetectorDoorCrossing.h.

#include <mrpt/detectors/CDetectorDoorCrossing.h>

Inheritance diagram for mrpt::detectors::CDetectorDoorCrossing:
Inheritance graph

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 (mrpt::obs::CActionRobotMovement2D &in_poseChange, mrpt::obs::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 DETECTORS_IMPEXP mrpt::detectors::CDetectorDoorCrossing::TOptions options
 

Private Attributes

mrpt::obs::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).
 
mrpt::maps::COccupancyGridMap2D::TEntropyInfo entropy
 Entropy of current, and last "map patchs".
 
mrpt::maps::COccupancyGridMap2D::TEntropyInfo lastEntropy
 
bool lastEntropyValid
 

Constructor & Destructor Documentation

◆ CDetectorDoorCrossing()

mrpt::detectors::CDetectorDoorCrossing::CDetectorDoorCrossing ( )

The constructor.

See options for customizing the default parameters.

Member Function Documentation

◆ clear()

void mrpt::detectors::CDetectorDoorCrossing::clear ( )

Reset the detector, i.e.

it erases all previous observations.

◆ printf_debug()

static void mrpt::utils::CDebugOutputCapable::printf_debug ( const char *  frmt,
  ... 
)
staticinherited

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

Referenced by mrpt::math::CLevenbergMarquardtTempl< VECTORTYPE, USERPARAM >::execute().

◆ process()

void mrpt::detectors::CDetectorDoorCrossing::process ( mrpt::obs::CActionRobotMovement2D in_poseChange,
mrpt::obs::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

mrpt::maps::COccupancyGridMap2D::TEntropyInfo mrpt::detectors::CDetectorDoorCrossing::entropy
private

Entropy of current, and last "map patchs".

Definition at line 121 of file CDetectorDoorCrossing.h.

◆ lastEntropy

mrpt::maps::COccupancyGridMap2D::TEntropyInfo mrpt::detectors::CDetectorDoorCrossing::lastEntropy
private

Definition at line 121 of file CDetectorDoorCrossing.h.

◆ lastEntropyValid

bool mrpt::detectors::CDetectorDoorCrossing::lastEntropyValid
private

Definition at line 122 of file CDetectorDoorCrossing.h.

◆ lastObs

mrpt::obs::CRawlog mrpt::detectors::CDetectorDoorCrossing::lastObs
private

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 118 of file CDetectorDoorCrossing.h.

◆ options

struct DETECTORS_IMPEXP mrpt::detectors::CDetectorDoorCrossing::TOptions mrpt::detectors::CDetectorDoorCrossing::options



Page generated by Doxygen 1.9.8 for MRPT 1.4.0 SVN: at Wed Dec 6 15:06:50 UTC 2023