34 const Transform<double, 3>& posture_,
35 const Vector3d& ZMPref_,
36 const unsigned int time_period_,
42 posture =
new Transform<double, 3>(posture_);
59 ZMPref(copy_from.ZMPref)
86 return (
posture->translation()[0]);
95 return (
posture->translation()[1]);
108 posture->matrix() = Matrix4d::Map(new_posture);
109 if (zero_z_coordinate)
111 posture->translation()[2] = 0.0;
113 Matrix3d rotation =
posture->matrix().corner(TopLeft,3,3);
114 angle = rotation.eulerAngles(0,1,2)[2];
Defines rectangular constraints (of the form D*z <= d) for the ZMP.
void rotate_translate(const double, const double, const double, const double)
translates from [0;0] to "p" and rotates from 0 to "angle". The 0 initial angle implies that D = [eye...