Main MRPT website
>
C++ reference for MRPT 1.4.0
mrpt
nav
tpspace
CPTG7.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 CPTG7_H
10
#define CPTG7_H
11
12
#include <
mrpt/nav/tpspace/CParameterizedTrajectoryGenerator.h
>
13
14
namespace
mrpt
15
{
16
namespace
nav
17
{
18
/** Trajectories with a fixed linear speed (V_MAX) and a first turning part followed by a straight segment.
19
*
20
* \ingroup nav_tpspace
21
*/
22
class
NAV_IMPEXP
CPTG7
:
public
CParameterizedTrajectoryGenerator
23
{
24
public
:
25
/** Constructor (this PTG has no parameters)
26
*/
27
CPTG7
(
const
mrpt::utils::TParameters<double>
¶ms );
28
29
/** Gets a short textual description of the PTG and its parameters.
30
*/
31
std::string getDescription()
const
;
32
33
bool
PTG_IsIntoDomain(
float
x,
float
y );
34
35
void
PTG_Generator(
float
alpha,
float
t
,
float
x,
float
y,
float
phi,
float
&v,
float
&w );
36
37
protected
:
38
39
};
40
}
41
}
42
43
44
#endif
45
CParameterizedTrajectoryGenerator.h
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
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::CPTG7
Trajectories with a fixed linear speed (V_MAX) and a first turning part followed by a straight segmen...
Definition:
CPTG7.h:22
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