Go to the documentation of this file.
9 #ifndef CReactiveNavigationSystem_H
10 #define CReactiveNavigationSystem_H
52 bool enableConsoleOutput =
true,
53 bool enableLogFile =
false);
95 std::vector<CParameterizedTrajectoryGenerator*>
PTGs;
CReactiveNavigationSystem(CReactiveInterfaceImplementation &react_iterf_impl, bool enableConsoleOutput=true, bool enableLogFile=false)
See docs in ctor of base class.
A class for storing, saving and loading a reactive navigation log record for the CReactiveNavigationS...
Base class for reactive navigator systems based on TP-Space, with an arbitrary holonomic reactive met...
math::CPolygon m_robotShape
The robot 2D shape model.
std::vector< CParameterizedTrajectoryGenerator * > PTGs
The set of transformations to be used:
virtual CParameterizedTrajectoryGenerator * getPTG(size_t i)
Gets the i'th PTG.
virtual size_t getPTG_count() const
Returns the number of different PTGs that have been setup.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
virtual void loggingGetWSObstaclesAndShape(CLogFileRecord &out_log)
Generates a pointcloud of obstacles, and the robot shape, to be saved in the logging record for the c...
void changeRobotShape(const math::CPolygon &shape)
Change the robot shape, which is taken into account for collision grid building.
void loadConfigFile(const mrpt::utils::CConfigFileBase &ini)
Reload the configuration from a file.
#define MRPT_MAKE_ALIGNED_OPERATOR_NEW
virtual ~CReactiveNavigationSystem()
Destructor.
This class allows loading and storing values and vectors of different types from a configuration text...
virtual bool STEP2_SenseObstacles()
Return false on any fatal error.
A cloud of points in 2D or 3D, which can be built from a sequence of laser scans.
The pure virtual class that a user of CAbstractReactiveNavigationSystem-derived classes must implemen...
A wrapper of a TPolygon2D class, implementing CSerializable.
See base class CAbstractPTGBasedReactive for a description and instructions of use.
virtual void STEP1_CollisionGridsBuilder()
mrpt::maps::CSimplePointsMap m_WS_Obstacles
The obstacle points, as seen from the local robot frame.
virtual void STEP3_WSpaceToTPSpace(const size_t ptg_idx, std::vector< float > &out_TPObstacles)
Builds TP-Obstacles from Workspace obstacles for the given PTG.
void loadConfigFile(const mrpt::utils::CConfigFileBase &ini, const mrpt::utils::CConfigFileBase &robotIni)
Reload the configuration from a file.
This is the base class for any user-defined PTG.
Page generated by Doxygen 1.8.20 for MRPT 1.4.0 SVN: at Thu Aug 27 02:40:23 UTC 2020 | | |