Go to the documentation of this file.
25 CDetectorDoorCrossing::CDetectorDoorCrossing()
31 lastEntropyValid(false)
106 act->GetRuntimeClass()->derivedFrom(
109 std::dynamic_pointer_cast<CActionRobotMovement2D>(act);
111 action->poseChange->getMean(pos);
121 sf->insertObservationsInto(&auxMap, &pose3D);
std::shared_ptr< CSensoryFrame > Ptr
void addAction(CAction &action)
Add an action to the sequence: a collection of just one element is created.
const double & phi() const
Get the phi angle of the 2D pose (in radians)
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.
mrpt::maps::COccupancyGridMap2D::TEntropyInfo lastEntropy
A structure used as output in this method.
ProxyFilterContainerByClass< mrpt::maps::COccupancyGridMap2D::Ptr, TListMaps > m_gridMaps
STL-like proxy to access this kind of maps in maps.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
mrpt::system::COutputLogger COutputLogger
Represents a probabilistic 2D movement of the robot mobile base.
#define ASSERT_(f)
Defines an assertion mechanism.
std::shared_ptr< CActionRobotMovement2D > Ptr
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
This namespace contains representation of robot actions and observations.
ProxyFilterContainerByClass< mrpt::maps::CSimplePointsMap::Ptr, TListMaps > m_pointsMaps
STL-like proxy to access this kind of maps in maps.
A set of TMetricMapInitializer structures, passed to the constructor CMultiMetricMap::CMultiMetricMap...
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.
mrpt::obs::CRawlog lastObs
The last observations and consecutive actions are stored here: Indexes (0,1) is the earlier (act,...
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
void clear()
Clear the sequence of actions/observations.
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle.
This class stores any customizable set of metric maps.
void clear()
Reset the detector, i.e.
float informationGain
The gain in information produced by the last observation, in "bits".
size_t size() const
Returns the number of actions / observations object in the sequence.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
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.
double I
The target variable for absolute "information", defining I(x) = 1 - H(x)
struct mrpt::detectors::CDetectorDoorCrossing::TOptions options
mrpt::maps::COccupancyGridMap2D::TEntropyInfo entropy
Entropy of current, and last "map patchs".
mrpt::maps::CSimplePointsMap pointsMap
virtual void copyFrom(const CPointsMap &obj) override
Virtual assignment operator, to be implemented in derived classes
#define CLASS_ID(T)
Access to runtime class ID for a defined class name.
void addObservations(CSensoryFrame &observations)
Add a set of observations to the sequence; the object is duplicated, so the original one can be free ...
void push_back(const MAP_DEFINITION &o)
std::shared_ptr< CAction > Ptr
float cumulativeTurning
The cumulative turning of the robot in radians for the movements in the "window".
bool enoughtInformation
If this is false, all other output fields must not be taken into account since there is not yet enoug...
std::shared_ptr< CActionCollection > Ptr
unsigned int windowSize
The window size, in (action,observations) pairs;min.
void remove(size_t index)
Delete the action or observation stored in the given index.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |