9 #ifndef CAbstractHolonomicReactiveMethod_H 10 #define CAbstractHolonomicReactiveMethod_H 45 public
mrpt::utils::CSerializable
57 std::vector<mrpt::math::TPoint2D>
targets;
87 void setConfigFileSectionName(
const std::string §Name);
90 virtual double getTargetApproachSlowDownDistance()
const = 0;
91 virtual void setTargetApproachSlowDownDistance(
const double dist) = 0;
nav::THolonomicMethod enum_t
The virtual base class which provides a unified interface for all persistent objects in MRPT...
A base class for holonomic reactive navigation methods.
#define MRPT_NO_THROWS
C++11 noexcept: Used after member declarations.
Clearance information for one particular PTG and one set of obstacles.
Only specializations of this class are defined for each enum type of interest.
bool m_enableApproachTargetSlowDown
Whether to decrease speed when approaching target.
This class allows loading and storing values and vectors of different types from a configuration text...
#define DEFINE_VIRTUAL_SERIALIZABLE(class_name)
This declaration must be inserted in virtual CSerializable classes definition:
This is the base class for any user-defined PTG.
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
double desiredDirection
The desired motion direction, in the range [-PI, PI].
A bidirectional version of std::map, declared as bimap<KEY,VALUE> and which actually contains two std...
void enableApproachTargetSlowDown(bool enable)
GLsizei const GLchar ** string
static void fill(bimap< enum_t, std::string > &m_map)
THolonomicMethod
The implemented reactive navigation methods.
double desiredSpeed
The desired motion speed in that direction, from 0 up to NavInput::maxRobotSpeed. ...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
mrpt::nav::CParameterizedTrajectoryGenerator * m_associatedPTG
If applicable, this will contain the argument of the most recent call to setAssociatedPTG() ...
std::string m_cfgSectionName
used in setConfigFileSectionName(), initialize()
void insert(const KEY &k, const VALUE &v)
Insert a new pair KEY<->VALUE in the bi-map.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
Output for CAbstractHolonomicReactiveMethod::navigate()
CHolonomicLogFileRecordPtr logRecord
The navigation method will create a log record and store it here via a smart pointer.