30 #include <mc_tasks/CoMTask.h> 42 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
53 Pendulum(
const Eigen::Vector3d &
com = Eigen::Vector3d::Zero(),
54 const Eigen::Vector3d &
comd = Eigen::Vector3d::Zero(),
55 const Eigen::Vector3d &
comdd = Eigen::Vector3d::Zero());
96 void reset(
const Eigen::Vector3d &
com,
97 const Eigen::Vector3d &
comd = Eigen::Vector3d::Zero(),
98 const Eigen::Vector3d &
comdd = Eigen::Vector3d::Zero());
112 const Eigen::Vector3d &
com()
const 120 const Eigen::Vector3d &
comd()
const 128 const Eigen::Vector3d &
comdd()
const 136 Eigen::Vector3d
dcm()
const 155 const Eigen::Vector3d &
zmp()
const 163 const Eigen::Vector3d &
zmpd()
const 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.
double omega() const
Natural frequency.
const Eigen::Vector3d & comdd() const
CoM acceleration in the world frame.
State of the inverted pendulum model.
Eigen::Vector3d zmpd_
Velocity of the zero-tilting moment point.
Eigen::Vector3d comdd_
Acceleration of the center of mass.
void completeIPM(const Contact &plane)
Complete inverted pendulum inputs (ZMP and natural frequency) from contact plane. ...
const Eigen::Vector3d & comd() const
CoM velocity in the world frame.
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.
Eigen::Vector3d zmp_
Position of the zero-tilting moment point.
void integrateCoMJerk(const Eigen::Vector3d &comddd, double dt)
Integrate constant CoM jerk for a given duration.
Eigen::Vector3d com_
Position of the center of mass.
void resetCoMHeight(double height, const Contact &contact)
Reset CoM height above a given contact plane.
Eigen::Vector3d dcm() const
Divergent component of motion.
const Eigen::Vector3d & zmp() const
Zero-tilting moment point.
const Eigen::Vector3d & zmpd() const
Velocity of the zero-tilting moment point.
void integrateIPM(Eigen::Vector3d zmp, double lambda, double dt)
Integrate in floating-base inverted pendulum mode with constant inputs.
Eigen::Vector3d comd_
Velocity of the center of mass.
Main controller namespace.
Eigen::Vector3d comddd_
Jerk of the center of mass.
const Eigen::Vector3d & com() const
CoM position in the world frame.
double omega_
Natural frequency in [Hz].