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



Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Sun Jul 19 15:15:43 UTC 2020