Preview horizon of an MPC [form_preview_horizon.m].
Definition at line 138 of file preview_horizon.h.
#include <preview_horizon.h>
◆ form()
Form the preview horizon object.
- Parameters
-
[in] | mpc_params | |
[in] | model | |
[in] | stance_fsm | |
[in] | walk_parameters | |
- Returns
Definition at line 354 of file preview_horizon.h.
◆ getConstraints()
◆ getCoPBounds()
etools::Matrix2 humoto::wpg04::PreviewHorizon::getCoPBounds |
( |
const std::size_t |
interval_index | ) |
const |
|
inline |
Get CoP bounds.
- Parameters
-
- Returns
- 2d matrix [lb, ub]
Definition at line 165 of file preview_horizon.h.
◆ getFootPositionBounds()
etools::Matrix2 humoto::wpg04::PreviewHorizon::getFootPositionBounds |
( |
const std::size_t |
var_support_index | ) |
const |
|
inline |
Get bounds on foot position.
- Parameters
-
[in] | var_support_index | index of a variable step in the preview horizon |
- Returns
- 2d matrix [lb, ub]
Definition at line 179 of file preview_horizon.h.
◆ getNumberOfVariableSteps()
std::size_t humoto::wpg04::PreviewHorizon::getNumberOfVariableSteps |
( |
| ) |
const |
Returns number of variable steps in the preview.
- Returns
- number of variable steps in the preview
Definition at line 337 of file preview_horizon.h.
◆ getRotationMatrix()
etools::Matrix2 humoto::wpg04::PreviewHorizon::getRotationMatrix |
( |
const std::size_t |
interval_index | ) |
const |
|
inline |
Get orientation of the support corresponding to the given interval.
- Parameters
-
- Returns
- 2d rotation matrix
Definition at line 194 of file preview_horizon.h.
◆ getWalkState()
const WalkState& humoto::wpg04::PreviewHorizon::getWalkState |
( |
const std::size_t |
interval_index | ) |
const |
|
inline |
Get walk state corresponding to the given interval.
- Parameters
-
- Returns
- walk state
Definition at line 208 of file preview_horizon.h.
◆ log()
Log.
- Parameters
-
[in,out] | logger | logger |
[in] | parent | parent |
[in] | name | name |
Definition at line 551 of file preview_horizon.h.
◆ previewStates()
Preview a sequence of walk states with velocities, rotations etc.
- Parameters
-
[in] | model | |
[in] | stance_fsm | |
[in] | walk_parameters | |
[in] | preview_duration | |
Definition at line 236 of file preview_horizon.h.
◆ intervals_
◆ variable_steps_indices_
std::vector<std::size_t> humoto::wpg04::PreviewHorizon::variable_steps_indices_ |
◆ walk_states_
std::vector<WalkState> humoto::wpg04::PreviewHorizon::walk_states_ |
The documentation for this class was generated from the following file: