Individual target info in CAbstractNavigator::TNavigationParamsBase and derived classes.
Definition at line 58 of file CAbstractNavigator.h.
#include <mrpt/nav/reactive/CAbstractNavigator.h>
Public Member Functions | |
TargetInfo () | |
std::string | getAsText () const |
Gets navigation params as a human-readable format. More... | |
bool | operator== (const TargetInfo &o) const |
bool | operator!= (const TargetInfo &o) const |
Public Attributes | |
mrpt::math::TPose2D | target_coords |
Coordinates of desired target location. Heading may be ignored by some reactive implementations. More... | |
std::string | target_frame_id |
(Default="map") Frame ID in which target is given. Optional, use only for submapping applications. More... | |
float | targetAllowedDistance |
(Default=0.5 meters) Allowed distance to target in order to end the navigation. More... | |
bool | targetIsRelative |
(Default=false) Whether the target coordinates are in global coordinates (false) or are relative to the current robot pose (true). More... | |
double | targetDesiredRelSpeed |
(Default=.05) Desired relative speed (wrt maximum speed), in range [0,1], of the vehicle at target. Holonomic nav methods will perform "slow down" approaching target only if this is "==.0". Intermediary values will be honored only by the higher-level navigator, based on straight-line Euclidean distances. More... | |
bool | targetIsIntermediaryWaypoint |
CAbstractNavigator::TargetInfo::TargetInfo | ( | ) |
Definition at line 24 of file CAbstractNavigator.cpp.
std::string CAbstractNavigator::TargetInfo::getAsText | ( | ) | const |
Gets navigation params as a human-readable format.
Definition at line 35 of file CAbstractNavigator.cpp.
References mrpt::mrpt::format().
|
inline |
Definition at line 70 of file CAbstractNavigator.h.
bool mrpt::nav::CAbstractNavigator::TargetInfo::operator== | ( | const TargetInfo & | o | ) | const |
Definition at line 47 of file CAbstractNavigator.cpp.
References target_coords, target_frame_id, targetAllowedDistance, targetDesiredRelSpeed, targetIsIntermediaryWaypoint, and targetIsRelative.
mrpt::math::TPose2D mrpt::nav::CAbstractNavigator::TargetInfo::target_coords |
Coordinates of desired target location. Heading may be ignored by some reactive implementations.
Definition at line 60 of file CAbstractNavigator.h.
Referenced by operator==(), mrpt::nav::CAbstractNavigator::performNavigationStepNavigating(), mrpt::nav::CAbstractNavigator::processNavigateCommand(), run_rnav_test(), and mrpt::nav::CWaypointsNavigator::waypoints_navigationStep().
std::string mrpt::nav::CAbstractNavigator::TargetInfo::target_frame_id |
(Default="map") Frame ID in which target is given. Optional, use only for submapping applications.
Definition at line 61 of file CAbstractNavigator.h.
Referenced by operator==(), and mrpt::nav::CWaypointsNavigator::waypoints_navigationStep().
float mrpt::nav::CAbstractNavigator::TargetInfo::targetAllowedDistance |
(Default=0.5 meters) Allowed distance to target in order to end the navigation.
Definition at line 62 of file CAbstractNavigator.h.
Referenced by mrpt::nav::CWaypointsNavigator::checkHasReachedTarget(), operator==(), run_rnav_test(), and mrpt::nav::CWaypointsNavigator::waypoints_navigationStep().
double mrpt::nav::CAbstractNavigator::TargetInfo::targetDesiredRelSpeed |
(Default=.05) Desired relative speed (wrt maximum speed), in range [0,1], of the vehicle at target. Holonomic nav methods will perform "slow down" approaching target only if this is "==.0". Intermediary values will be honored only by the higher-level navigator, based on straight-line Euclidean distances.
Definition at line 64 of file CAbstractNavigator.h.
Referenced by mrpt::nav::CAbstractPTGBasedReactive::build_movement_candidate(), mrpt::nav::CAbstractPTGBasedReactive::calc_move_candidate_scores(), operator==(), mrpt::nav::CAbstractPTGBasedReactive::performNavigationStep(), and mrpt::nav::CWaypointsNavigator::waypoints_navigationStep().
bool mrpt::nav::CAbstractNavigator::TargetInfo::targetIsIntermediaryWaypoint |
Definition at line 65 of file CAbstractNavigator.h.
Referenced by mrpt::nav::CWaypointsNavigator::checkHasReachedTarget(), operator==(), mrpt::nav::CAbstractNavigator::performNavigationStepNavigating(), and mrpt::nav::CWaypointsNavigator::waypoints_navigationStep().
bool mrpt::nav::CAbstractNavigator::TargetInfo::targetIsRelative |
(Default=false) Whether the target coordinates are in global coordinates (false) or are relative to the current robot pose (true).
Definition at line 63 of file CAbstractNavigator.h.
Referenced by operator==(), mrpt::nav::CAbstractNavigator::processNavigateCommand(), and mrpt::nav::CWaypointsNavigator::waypoints_navigationStep().
Page generated by Doxygen 1.8.14 for MRPT 1.5.5 Git: e06b63dbf Fri Dec 1 14:41:11 2017 +0100 at lun oct 28 01:31:35 CET 2019 |