wbc
PotentialFieldInfo.hpp
Go to the documentation of this file.
1#ifndef POTENTIAL_FIELD_INFO_HPP
2#define POTENTIAL_FIELD_INFO_HPP
3
4#include "PotentialField.hpp"
5
6namespace wbc {
7
9
11 time = field->time;
12 dimension = field->dimension;
13 influence_distance = field->influence_distance;
14 distance = field->distance;
15 gradient = field->gradient;
16 pot_field_center = field->pot_field_center;
18 name = field->name;
19 }
20
21 base::Time time;
22
25
28
30 base::VectorXd distance;
31
34
36 base::VectorXd gradient;
37
39 base::VectorXd pot_field_center;
40
42 std::string name;
43};
44
45
46}
47
48#endif
Definition ContactsAccelerationConstraint.cpp:3
std::shared_ptr< PotentialField > PotentialFieldPtr
Definition PotentialField.hpp:57
Definition PotentialFieldInfo.hpp:8
base::VectorXd gradient
Definition PotentialFieldInfo.hpp:36
base::VectorXd distance
Definition PotentialFieldInfo.hpp:30
base::Time time
Definition PotentialFieldInfo.hpp:21
uint dimension
Definition PotentialFieldInfo.hpp:24
void fromPotentialField(PotentialFieldPtr field)
Definition PotentialFieldInfo.hpp:10
std::string name
Definition PotentialFieldInfo.hpp:42
double influence_distance
Definition PotentialFieldInfo.hpp:27
double euclidean_distance
Definition PotentialFieldInfo.hpp:33
base::VectorXd pot_field_center
Definition PotentialFieldInfo.hpp:39