odometry
ContactState.hpp
Go to the documentation of this file.
1 #ifndef ODOMETRY_CONTACTSTATE_HPP__
2 #define ODOMETRY_CONTACTSTATE_HPP__
3 
4 #include <base/Eigen.hpp>
5 #include <base/Time.hpp>
6 #include <vector>
7 
8 namespace odometry
9 {
10 
12 {
14  base::Vector3d position;
15 
17  double contact;
18 
20  double slip;
21 
23  int groupId;
24 };
25 
27 {
29  base::Time time;
30 
35  std::vector<BodyContactPoint> points;
36 };
37 
38 }
39 
40 #endif
std::vector< BodyContactPoint > points
vector of all potential contact points of the body and their states.
Definition: ContactState.hpp:35
double slip
slip distance of contact point
Definition: ContactState.hpp:20
base::Time time
timestamp
Definition: ContactState.hpp:29
int groupId
contact group id, or -1 if not part of a group
Definition: ContactState.hpp:23
base::Vector3d position
position in body frame
Definition: ContactState.hpp:14
double contact
contact probability in the interval between 0 and 1.0, or NaN if unknown
Definition: ContactState.hpp:17
Definition: ContactState.hpp:11
Definition: ContactState.hpp:26