base
Waypoint.hpp
Go to the documentation of this file.
1 #ifndef __BASE_WAYPOINT_HH__
2 #define __BASE_WAYPOINT_HH__
3 
4 #include <base/Pose.hpp>
5 #include <base/Eigen.hpp>
6 
7 namespace base
8 {
12  struct Waypoint
13  {
15  //heading in radians
16  double heading;
17 
18  //tollerance of the position in m
19  double tol_position;
20  //tollerance of the heading in rad
21  double tol_heading;
22 
23  // default: initializing with identity and zero
24  Waypoint();
25 
26  // use base::Vector3d
27  Waypoint(base::Vector3d const &_position, double _heading,
28  double _tol_position, double _tol_heading);
29  // convenience: same for Eigen::Vector3d
30  Waypoint(Eigen::Vector3d const &_position, double _heading,
31  double _tol_position, double _tol_heading);
32  };
33 }
34 
35 #endif
36 
double tol_heading
Definition: Waypoint.hpp:21
Waypoint()
Definition: Waypoint.cpp:5
Definition: LinearAngular6DCommand.hpp:8
Eigen::Matrix< double, 3, 1, Eigen::DontAlign > Vector3d
Definition: Eigen.hpp:20
Eigen::Matrix< double, 3, 1, Eigen::DontAlign > Vector3d
Definition: Eigen.cpp:12
double heading
Definition: Waypoint.hpp:16
double tol_position
Definition: Waypoint.hpp:19
Definition: Waypoint.hpp:12
base::Vector3d position
Definition: Waypoint.hpp:14