Main MRPT website > C++ reference for MRPT 1.9.9
TCandidateMovementPTG.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #pragma once
10 
11 #include <mrpt/utils/TParameters.h>
12 
13 namespace mrpt
14 {
15 namespace nav
16 {
17 class CParameterizedTrajectoryGenerator;
18 
19 /** Stores a candidate movement in TP-Space-based navigation.
20 *\sa CReactiveNavigationSystem, CReactiveNavigationSystem3D
21 * \ingroup nav_reactive
22 */
24 {
25  /** The associated PTG. nullptr if not applicable / undefined. */
27  /** TP-Space movement direction. Within [-2*PI,+2*PI] */
28  double direction;
29  /** TP-Space movement speed, normalized to [0,1]. A negative number means
30  * this candidate movement is unfeasible and must be discarded. */
31  double speed;
32  /** Default to 0, they can be used to reflect a robot starting at a position
33  * not at (0,0). Used in "PTG continuation" */
35 
36  /** List of properties. May vary for different user implementations of
37  * scores and/or different multi-objective optimizers.
38  * See list of available variable names in docs for
39  * mrpt::nav::CAbstractPTGBasedReactive
40  */
42 
44 };
45 }
46 }
CParameterizedTrajectoryGenerator * PTG
The associated PTG.
This is the base class for any user-defined PTG.
double speed
TP-Space movement speed, normalized to [0,1].
double direction
TP-Space movement direction.
double starting_robot_dir
Default to 0, they can be used to reflect a robot starting at a position not at (0,0).
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
mrpt::utils::TParameters< double > props
List of properties.
Stores a candidate movement in TP-Space-based navigation.



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019