Main MRPT website > C++ reference
MRPT logo
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-2014, 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 
13 
14 namespace mrpt
15 {
16  /** \ingroup mrpt_reactivenav_grp */
17  namespace reactivenav
18  {
19  /** A PTG for optimal paths of type "CS", as named in PTG papers.
20  * See "Obstacle Distance for Car-Like Robots", IEEE Trans. Rob. And Autom, 1999.
21  * \ingroup mrpt_reactivenav_grp
22  */
24  {
25  public:
26  /** Constructor: possible values in "params", those of CParameterizedTrajectoryGenerator plus:
27  * - K: Direction, +1 or -1
28  */
29  CPTG5(const TParameters<double> &params );
30 
31  /** Gets a short textual description of the PTG and its parameters.
32  */
33  std::string getDescription() const;
34 
35  bool PTG_IsIntoDomain( float x, float y );
36 
37  void PTG_Generator( float alpha, float t,float x, float y, float phi, float &v, float &w );
38 
39 
40  protected:
41  float R,K;
42 
43  };
44  }
45 }
46 
47 
48 #endif
49 
A PTG for optimal paths of type "CS", as named in PTG papers.
Definition: CPTG5.h:23
EIGEN_STRONG_INLINE const AdjointReturnType t() const
Transpose.
This is the base class for any user-defined PTG.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.



Page generated by Doxygen 1.8.8 for MRPT 1.2.2 SVN:Unversioned directory at Tue Oct 14 02:14:08 UTC 2014