MRPT  2.0.0
List of all members | Public Member Functions | Public Attributes | Protected Member Functions
mrpt::nav::CAbstractPTGBasedReactive::TNavigationParamsPTG Struct Reference

Detailed Description

The struct for configuring navigation requests to CAbstractPTGBasedReactive and derived classes.

Definition at line 97 of file CAbstractPTGBasedReactive.h.

#include <mrpt/nav/reactive/CAbstractPTGBasedReactive.h>

Inheritance diagram for mrpt::nav::CAbstractPTGBasedReactive::TNavigationParamsPTG:

Public Member Functions

std::string getAsText () const override
 Gets navigation params as a human-readable format. More...
 
std::unique_ptr< TNavigationParamsclone () const override
 

Public Attributes

std::vector< size_t > restrict_PTG_indices
 (Default=empty) Optionally, a list of PTG indices can be sent such that the navigator will restrict itself to only employ those PTGs. More...
 
std::vector< mrpt::nav::CAbstractNavigator::TargetInfomultiple_targets
 If not empty, this will prevail over the base class single goal target. More...
 
TargetInfo target
 Navigation target. More...
 

Protected Member Functions

bool isEqual (const CAbstractNavigator::TNavigationParamsBase &o) const override
 

Member Function Documentation

◆ clone()

std::unique_ptr<TNavigationParams> mrpt::nav::CAbstractPTGBasedReactive::TNavigationParamsPTG::clone ( ) const
inlineoverridevirtual

Reimplemented from mrpt::nav::CAbstractNavigator::TNavigationParams.

Definition at line 106 of file CAbstractPTGBasedReactive.h.

◆ getAsText()

std::string CAbstractPTGBasedReactive::TNavigationParamsPTG::getAsText ( ) const
overridevirtual

Gets navigation params as a human-readable format.

Reimplemented from mrpt::nav::CAbstractNavigator::TNavigationParams.

Definition at line 38 of file CAbstractPTGBasedReactive.cpp.

References mrpt::containers::sprintf_vector().

Here is the call graph for this function:

◆ isEqual()

bool CAbstractPTGBasedReactive::TNavigationParamsPTG::isEqual ( const CAbstractNavigator::TNavigationParamsBase o) const
overrideprotectedvirtual

Member Data Documentation

◆ multiple_targets

std::vector<mrpt::nav::CAbstractNavigator::TargetInfo> mrpt::nav::CWaypointsNavigator::TNavigationParamsWaypoints::multiple_targets
inherited

If not empty, this will prevail over the base class single goal target.

Semantic is: any of these targets will be good for heading the robot towards them, but the priority is for the latest ones in the sequence.

Definition at line 51 of file CWaypointsNavigator.h.

Referenced by mrpt::nav::CWaypointsNavigator::waypoints_navigationStep().

◆ restrict_PTG_indices

std::vector<size_t> mrpt::nav::CAbstractPTGBasedReactive::TNavigationParamsPTG::restrict_PTG_indices

(Default=empty) Optionally, a list of PTG indices can be sent such that the navigator will restrict itself to only employ those PTGs.

Definition at line 103 of file CAbstractPTGBasedReactive.h.

Referenced by isEqual().

◆ target

TargetInfo mrpt::nav::CAbstractNavigator::TNavigationParams::target
inherited



Page generated by Doxygen 1.8.14 for MRPT 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020