Eigen class for potential field controllers.
More...
#include <PotentialFieldsController.hpp>
Eigen class for potential field controllers.
◆ PotentialFieldsController()
| PotentialFieldsController::PotentialFieldsController |
( |
const uint | _dimension | ) |
|
◆ applySaturation()
| void PotentialFieldsController::applySaturation |
( |
const Eigen::VectorXd & | in, |
|
|
Eigen::VectorXd & | out ) |
Apply Saturation on the control output. If one or more values of <in> are bigger than the Corrresponding entry of <max>, all values will be scaled down according to the biggest ratio eta = in_i / max,i.
- Parameters
-
| in | Input vector. Size has to be same as max. |
| out | Output vector. Will be resized if out.size() != in.size() |
◆ clearFields()
| void wbc::PotentialFieldsController::clearFields |
( |
| ) |
|
|
inline |
Erase all potential fields
◆ getDimension()
| uint wbc::PotentialFieldsController::getDimension |
( |
| ) |
|
|
inline |
return dimensionality of controller
◆ getFieldInfos()
Return potential field infos
◆ getFields()
| const std::vector< PotentialFieldPtr > & wbc::PotentialFieldsController::getFields |
( |
| ) |
|
|
inline |
Return current potential field vector
◆ getMaxControlOutput()
| Eigen::VectorXd wbc::PotentialFieldsController::getMaxControlOutput |
( |
| ) |
|
|
inline |
Return max contorl output vector
◆ getPGain()
| Eigen::VectorXd wbc::PotentialFieldsController::getPGain |
( |
| ) |
|
|
inline |
◆ setFields()
| void PotentialFieldsController::setFields |
( |
const std::vector< PotentialFieldPtr > & | _fields | ) |
|
Provide new potential fields. Dimension of each field has to be the same as dimension of the controller.
◆ setMaxControlOutput()
| void PotentialFieldsController::setMaxControlOutput |
( |
const Eigen::VectorXd & | new_max_control_output | ) |
|
Set maximum control output
◆ setPGain()
| void PotentialFieldsController::setPGain |
( |
const Eigen::VectorXd & | gain | ) |
|
◆ control_output
| Eigen::VectorXd wbc::PotentialFieldsController::control_output |
|
protected |
◆ dimension
| uint wbc::PotentialFieldsController::dimension |
|
protected |
◆ field_infos
◆ fields
◆ max_ctrl_output
| Eigen::VectorXd wbc::PotentialFieldsController::max_ctrl_output |
|
protected |
◆ p_gain
| Eigen::VectorXd wbc::PotentialFieldsController::p_gain |
|
protected |
The documentation for this class was generated from the following files: