Go to the documentation of this file.
23 : m_associatedPTG(nullptr),
24 m_enableApproachTargetSlowDown(true),
25 m_cfgSectionName(defaultCfgSectionName)
28 CAbstractHolonomicReactiveMethod::~CAbstractHolonomicReactiveMethod() {}
61 if (!classId)
return nullptr;
74 : targets(), maxRobotSpeed(1.0), maxObstacleDist(1.0), clearance(nullptr)
79 : desiredDirection(0), desiredSpeed(0)
mrpt::nav::CParameterizedTrajectoryGenerator * getAssociatedPTG() const
Returns the pointer set by setAssociatedPTG()
IMPLEMENTS_VIRTUAL_SERIALIZABLE(CAbstractHolonomicReactiveMethod, CSerializable, mrpt::nav) CAbstractHolonomicReactiveMethod
A structure that holds runtime class type information.
void registerAllPendingClasses()
Register all pending classes - to be called just before de-serializing an object, for example.
std::string m_cfgSectionName
used in setConfigFileSectionName(), initialize()
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::shared_ptr< CAbstractHolonomicReactiveMethod > Ptr
A base class for holonomic reactive navigation methods.
static CAbstractHolonomicReactiveMethod::Ptr Factory(const std::string &className) noexcept
mrpt::rtti::CObject * createObject() const
void setAssociatedPTG(mrpt::nav::CParameterizedTrajectoryGenerator *ptg)
Optionally, sets the associated PTG, just in case a derived class requires this info (not required fo...
void setConfigFileSectionName(const std::string §Name)
Defines the name of the section used in initialize()
CAbstractHolonomicReactiveMethod(const std::string &defaultCfgSectionName)
ctor
mrpt::nav::CParameterizedTrajectoryGenerator * m_associatedPTG
If applicable, this will contain the argument of the most recent call to setAssociatedPTG()
GLsizei const GLchar ** string
std::string getConfigFileSectionName() const
Gets the name of the section used in initialize()
This is the base class for any user-defined PTG.
const TRuntimeClassId * findRegisteredClass(const std::string &className)
Return info about a given class by its name, or nullptr if the class is not registered.
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 | |