Base class for potential fields.
More...
#include <PotentialField.hpp>
|
| PotentialField (const uint _dimension, const std::string &_name="unset") |
|
virtual | ~PotentialField () |
|
virtual const base::VectorXd & | update (const base::VectorXd &position)=0 |
| Implement in derived class. Compute control update according to potential field equation.
|
|
Base class for potential fields.
◆ PotentialField()
wbc::PotentialField::PotentialField |
( |
const uint | _dimension, |
|
|
const std::string & | _name = "unset" ) |
|
inline |
Init all members. Dimension of the field. Has to be > 0. e.g. a field in Cartesian space would have dimension 3.
◆ ~PotentialField()
virtual wbc::PotentialField::~PotentialField |
( |
| ) |
|
|
inlinevirtual |
◆ update()
virtual const base::VectorXd & wbc::PotentialField::update |
( |
const base::VectorXd & | position | ) |
|
|
pure virtual |
◆ dimension
uint wbc::PotentialField::dimension |
Dimension of the potential field, e.g. a potential field in 3d space would have size 3.
◆ distance
base::VectorXd wbc::PotentialField::distance |
Distance vector to the potential field.
◆ gradient
base::VectorXd wbc::PotentialField::gradient |
◆ influence_distance
double wbc::PotentialField::influence_distance |
Maximum influence distance of the field. Default will be inf
◆ name
const std::string wbc::PotentialField::name |
ID of the potential field
◆ pot_field_center
base::VectorXd wbc::PotentialField::pot_field_center |
Potential field center position
◆ time
base::Time wbc::PotentialField::time |
The documentation for this class was generated from the following file: