lipm_walking_controller
1.6.0
|
State of the inverted pendulum model. More...
#include <lipm_walking/Pendulum.h>
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | Pendulum (const Eigen::Vector3d &com=Eigen::Vector3d::Zero(), const Eigen::Vector3d &comd=Eigen::Vector3d::Zero(), const Eigen::Vector3d &comdd=Eigen::Vector3d::Zero()) |
Initialize state from CoM position and its derivatives. More... | |
void | completeIPM (const Contact &plane) |
Complete inverted pendulum inputs (ZMP and natural frequency) from contact plane. More... | |
void | integrateCoMJerk (const Eigen::Vector3d &comddd, double dt) |
Integrate constant CoM jerk for a given duration. More... | |
void | integrateIPM (Eigen::Vector3d zmp, double lambda, double dt) |
Integrate in floating-base inverted pendulum mode with constant inputs. More... | |
void | reset (const Eigen::Vector3d &com, const Eigen::Vector3d &comd=Eigen::Vector3d::Zero(), const Eigen::Vector3d &comdd=Eigen::Vector3d::Zero()) |
Reset to a new state from CoM position and its derivatives. More... | |
void | resetCoMHeight (double height, const Contact &contact) |
Reset CoM height above a given contact plane. More... | |
const Eigen::Vector3d & | com () const |
CoM position in the world frame. More... | |
const Eigen::Vector3d & | comd () const |
CoM velocity in the world frame. More... | |
const Eigen::Vector3d & | comdd () const |
CoM acceleration in the world frame. More... | |
Eigen::Vector3d | dcm () const |
Divergent component of motion. More... | |
double | omega () const |
Natural frequency. More... | |
const Eigen::Vector3d & | zmp () const |
Zero-tilting moment point. More... | |
const Eigen::Vector3d & | zmpd () const |
Velocity of the zero-tilting moment point. More... | |
Protected Attributes | |
Eigen::Vector3d | com_ |
Position of the center of mass. More... | |
Eigen::Vector3d | comd_ |
Velocity of the center of mass. More... | |
Eigen::Vector3d | comdd_ |
Acceleration of the center of mass. More... | |
Eigen::Vector3d | comddd_ |
Jerk of the center of mass. More... | |
Eigen::Vector3d | zmp_ |
Position of the zero-tilting moment point. More... | |
Eigen::Vector3d | zmpd_ |
Velocity of the zero-tilting moment point. More... | |
double | omega_ |
Natural frequency in [Hz]. More... | |
State of the inverted pendulum model.
Definition at line 40 of file Pendulum.h.
lipm_walking::Pendulum::Pendulum | ( | const Eigen::Vector3d & | com = Eigen::Vector3d::Zero() , |
const Eigen::Vector3d & | comd = Eigen::Vector3d::Zero() , |
||
const Eigen::Vector3d & | comdd = Eigen::Vector3d::Zero() |
||
) |
Initialize state from CoM position and its derivatives.
com | CoM position. |
comd | CoM velocity. |
comdd | CoM acceleration. |
Definition at line 34 of file Pendulum.cpp.
|
inline |
CoM position in the world frame.
Definition at line 112 of file Pendulum.h.
|
inline |
CoM velocity in the world frame.
Definition at line 120 of file Pendulum.h.
|
inline |
CoM acceleration in the world frame.
Definition at line 128 of file Pendulum.h.
void lipm_walking::Pendulum::completeIPM | ( | const Contact & | plane | ) |
Complete inverted pendulum inputs (ZMP and natural frequency) from contact plane.
plane | Contact plane in which the ZMP is considered. |
Definition at line 88 of file Pendulum.cpp.
|
inline |
Divergent component of motion.
Definition at line 136 of file Pendulum.h.
void lipm_walking::Pendulum::integrateCoMJerk | ( | const Eigen::Vector3d & | comddd, |
double | dt | ||
) |
Integrate constant CoM jerk for a given duration.
comddd | CoM jerk. |
dt | Integration step. |
Definition at line 71 of file Pendulum.cpp.
void lipm_walking::Pendulum::integrateIPM | ( | Eigen::Vector3d | zmp, |
double | lambda, | ||
double | dt | ||
) |
Integrate in floating-base inverted pendulum mode with constant inputs.
zmp | Zero-tilting Moment Point, i.e. net force application point. |
lambda | Normalized stiffness of the pendulum. |
dt | Duration of integration step. |
Definition at line 52 of file Pendulum.cpp.
|
inline |
Natural frequency.
Definition at line 144 of file Pendulum.h.
void lipm_walking::Pendulum::reset | ( | const Eigen::Vector3d & | com, |
const Eigen::Vector3d & | comd = Eigen::Vector3d::Zero() , |
||
const Eigen::Vector3d & | comdd = Eigen::Vector3d::Zero() |
||
) |
Reset to a new state from CoM position and its derivatives.
com | CoM position. |
comd | CoM velocity. |
comdd | CoM acceleration. |
Definition at line 39 of file Pendulum.cpp.
void lipm_walking::Pendulum::resetCoMHeight | ( | double | height, |
const Contact & | contact | ||
) |
Reset CoM height above a given contact plane.
height | CoM height above contact plane. |
contact | Contact plane. |
Definition at line 79 of file Pendulum.cpp.
|
inline |
Zero-tilting moment point.
Definition at line 155 of file Pendulum.h.
|
inline |
Velocity of the zero-tilting moment point.
Definition at line 163 of file Pendulum.h.
|
protected |
Position of the center of mass.
Definition at line 169 of file Pendulum.h.
|
protected |
Velocity of the center of mass.
Definition at line 170 of file Pendulum.h.
|
protected |
Acceleration of the center of mass.
Definition at line 171 of file Pendulum.h.
|
protected |
Jerk of the center of mass.
Definition at line 172 of file Pendulum.h.
|
protected |
Natural frequency in [Hz].
Definition at line 175 of file Pendulum.h.
|
protected |
Position of the zero-tilting moment point.
Definition at line 173 of file Pendulum.h.
|
protected |
Velocity of the zero-tilting moment point.
Definition at line 174 of file Pendulum.h.