robotoc
robotoc - efficient ROBOT Optimal Control solvers
|
Raibert heuristic for foot step planning. More...
#include <raibert_heuristic.hpp>
Public Member Functions | |
RaibertHeuristic (const double period, const double gain) | |
Constructs the planner. More... | |
RaibertHeuristic () | |
Default constructor. More... | |
~RaibertHeuristic () | |
Destructor. More... | |
RaibertHeuristic (const RaibertHeuristic &)=default | |
Default copy constructor. More... | |
RaibertHeuristic & | operator= (const RaibertHeuristic &)=default |
Default copy assign operator. More... | |
RaibertHeuristic (RaibertHeuristic &&) noexcept=default | |
Default move constructor. More... | |
RaibertHeuristic & | operator= (RaibertHeuristic &&) noexcept=default |
Default move assign operator. More... | |
void | setParameters (const double period, const double gain) |
Set parameters. More... | |
void | planStepLength (const Eigen::Vector2d &vcom, const Eigen::Vector2d &vcom_cmd, const double yaw_rate_cmd) |
Plans the step length. More... | |
const Eigen::Vector3d & | stepLength () const |
Gets the step length. More... | |
Raibert heuristic for foot step planning.
robotoc::RaibertHeuristic::RaibertHeuristic | ( | const double | period, |
const double | gain | ||
) |
Constructs the planner.
[in] | period | Period of a foot step. |
[in] | gain | Feedback gain of the velocity. Must be positive and less than 1.0. |
robotoc::RaibertHeuristic::RaibertHeuristic | ( | ) |
Default constructor.
robotoc::RaibertHeuristic::~RaibertHeuristic | ( | ) |
Destructor.
|
default |
Default copy constructor.
|
defaultnoexcept |
Default move constructor.
|
default |
Default copy assign operator.
|
defaultnoexcept |
Default move assign operator.
void robotoc::RaibertHeuristic::planStepLength | ( | const Eigen::Vector2d & | vcom, |
const Eigen::Vector2d & | vcom_cmd, | ||
const double | yaw_rate_cmd | ||
) |
Plans the step length.
[in] | vcom | Current planar velocity of the COM. |
[in] | vcom_cmd | Commanded planar velocity of the COM. |
[in] | yaw_rate_cmd | Commanded yaw-rate of the COM. |
void robotoc::RaibertHeuristic::setParameters | ( | const double | period, |
const double | gain | ||
) |
Set parameters.
[in] | period | Period of a foot step. |
[in] | gain | Feedback gain of the velocity. Must be positive and less than 1.0. |
const Eigen::Vector3d & robotoc::RaibertHeuristic::stepLength | ( | ) | const |
Gets the step length.