Main MRPT website
>
C++ reference for MRPT 1.4.0
mrpt
nav
tpspace
CPTG5.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-2016, 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
#ifndef CPTG5_H
10
#define CPTG5_H
11
12
#include <
mrpt/nav/tpspace/CParameterizedTrajectoryGenerator.h
>
13
14
namespace
mrpt
15
{
16
namespace
nav
17
{
18
/** A PTG for optimal paths of type "CS", as named in PTG papers.
19
* See "Obstacle Distance for Car-Like Robots", IEEE Trans. Rob. And Autom, 1999.
20
* \ingroup nav_tpspace
21
*/
22
class
NAV_IMPEXP
CPTG5
:
public
CParameterizedTrajectoryGenerator
23
{
24
public
:
25
/** Constructor: possible values in "params", those of CParameterizedTrajectoryGenerator plus:
26
* - K: Direction, +1 or -1
27
*/
28
CPTG5
(
const
mrpt::utils::TParameters<double>
¶ms );
29
30
/** Gets a short textual description of the PTG and its parameters.
31
*/
32
std::string getDescription()
const
;
33
34
bool
PTG_IsIntoDomain(
float
x,
float
y );
35
36
void
PTG_Generator(
float
alpha,
float
t
,
float
x,
float
y,
float
phi,
float
&v,
float
&w );
37
38
39
protected
:
40
float
R
,K;
41
42
};
43
}
44
}
45
46
47
#endif
48
CParameterizedTrajectoryGenerator.h
mrpt::nav::CPTG5
A PTG for optimal paths of type "CS", as named in PTG papers.
Definition:
CPTG5.h:22
NAV_IMPEXP
#define NAV_IMPEXP
Definition:
nav/include/mrpt/nav/link_pragmas.h:90
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition:
CParticleFilter.h:16
mrpt::nav::CPTG5::R
float R
Definition:
CPTG5.h:40
t
const EIGEN_STRONG_INLINE AdjointReturnType t() const
Transpose.
Definition:
eigen_plugins.h:470
mrpt::utils::TParameters
For usage when passing a dynamic number of (numeric) arguments to a function, by name.
Definition:
TParameters.h:46
mrpt::nav::CParameterizedTrajectoryGenerator
This is the base class for any user-defined PTG.
Definition:
CParameterizedTrajectoryGenerator.h:56
Page generated by
Doxygen 1.8.16
for MRPT 1.4.0 SVN: at Mon Oct 14 23:08:25 UTC 2019