25 CDetectorDoorCrossing::CDetectorDoorCrossing()
105 ASSERT_(act->GetRuntimeClass()->derivedFrom(
120 sf->insertObservationsInto(&auxMap, &pose3D);
unsigned int windowSize
The window size, in (action,observations) pairs;min.
mrpt::maps::COccupancyGridMap2D::TEntropyInfo entropy
Entropy of current, and last "map patchs".
bool enoughtInformation
If this is false, all other output fields must not be taken into account since there is not yet enoug...
A structure used as output in this method.
A cloud of points in 2D or 3D, which can be built from a sequence of laser scans. ...
mrpt::system::COutputLogger COutputLogger
void addObservations(CSensoryFrame &observations)
Add a set of observations to the sequence; the object is duplicated, so the original one can be free ...
A set of TMetricMapInitializer structures, passed to the constructor CMultiMetricMap::CMultiMetricMap...
CActionCollection::Ptr getAsAction(size_t index) const
Returns the i'th element in the sequence, as being actions, where index=0 is the first object...
#define ASSERT_(f)
Defines an assertion mechanism.
Represents a probabilistic 2D movement of the robot mobile base.
#define CLASS_ID(T)
Access to runtime class ID for a defined class name.
double I
The target variable for absolute "information", defining I(x) = 1 - H(x)
struct mrpt::detectors::CDetectorDoorCrossing::TOptions options
This namespace contains representation of robot actions and observations.
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
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.
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
CSensoryFrame::Ptr getAsObservations(size_t index) const
Returns the i'th element in the sequence, as being an action, where index=0 is the first object...
void remove(size_t index)
Delete the action or observation stored in the given index.
void push_back(const MAP_DEFINITION &o)
A class for storing an occupancy grid map.
float informationGain
The gain in information produced by the last observation, in "bits".
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
mrpt::containers::deepcopy_poly_ptr< mrpt::poses::CPosePDF::Ptr > poseChange
The 2D pose change probabilistic estimation.
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle...
void clear()
Reset the detector, i.e.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
T::Ptr mapByClass(const size_t &ith=0) const
Returns the i'th map of a given class (or of a derived class), or empty smart pointer if there is no ...
const double & phi() const
Get the phi angle of the 2D pose (in radians)
void clear()
Clear the sequence of actions/observations.
float cumulativeTurning
The cumulative turning of the robot in radians for the movements in the "window". ...
mrpt::obs::CRawlog lastObs
The last observations and consecutive actions are stored here: Indexes (0,1) is the earlier (act...
void addAction(CAction &action)
Add an action to the sequence: a collection of just one element is created.
mrpt::maps::CSimplePointsMap pointsMap
This class stores any customizable set of metric maps.
size_t size() const
Returns the number of actions / observations object in the sequence.
mrpt::maps::COccupancyGridMap2D::TEntropyInfo lastEntropy