23 J = MatrixXd::Identity(size, size);
27 J = MatrixXd::Zero(size, m.
nbDofs());
28 J.leftCols(size).setIdentity();
32 J = MatrixXd::Zero(size, m.
nbDofs());
33 J.rightCols(size).setIdentity();
36 throw std::runtime_error(
"[FullState::FullState] invalid specified part (specify FULL_STATE, FREE_FLYER or INTERNAL");
43 , pimpl( new
Pimpl(model, whichPart) )
85 pimpl->tau = VectorXd::Zero(
getSize());
86 pimpl->qddot = VectorXd::Zero(
getSize());
179 , pimpl( new
Pimpl(model) )
181 pimpl->q = VectorXd::Zero(
getSize());
182 pimpl->qdot = VectorXd::Zero(
getSize());
183 pimpl->qddot = VectorXd::Zero(
getSize());
184 pimpl->tau = VectorXd::Zero(
getSize());
220 pimpl->qddot =
qddot;
const Eigen::MatrixXd & getInertiaMatrixInverse() const
Variable & getRootVelocityVariable() const
Variable & getInternalVelocityVariable() const
Pimpl(const Model &m, int whichPart)
const Model & getModel() const
int nbInternalDofs() const
const Eigen::VectorXd & q() const
const VectorXd & getValue() const
void set_qdot(const Eigen::VectorXd &qdot)
const Eigen::VectorXd & qdot() const
Declaration file of the Model class.
void set_q(const Eigen::VectorXd &q)
FullModelState(const std::string &name, const Model &model, int whichPart)
const Eigen::MatrixXd & getJacobian() const
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
const Eigen::VectorXd & qddot() const
const Eigen::VectorXd & tau() const
const Eigen::MatrixXd & getInertiaMatrix() const
Variable & getConfigurationVariable() const
void set_tau(const Eigen::VectorXd &tau)
const Eigen::VectorXd & qdot() const
Variable & getRootConfigurationVariable() const
Variable & getInternalConfigurationVariable() const
const Eigen::MatrixXd & getInertiaMatrix() const
const Eigen::MatrixXd & getInertiaMatrixInverse() const
virtual const Eigen::MatrixXd & getInertiaMatrix() const =0
FullState(const std::string &name, const Model &model, int whichPart)
const Eigen::VectorXd & tau() const
virtual const Eigen::MatrixXd & getInertiaMatrixInverse() const =0
const Eigen::VectorXd & q() const
FullTargetState(const std::string &name, const Model &model, int whichPart)
void set_qddot(const Eigen::VectorXd &qddot)
const Eigen::VectorXd & qddot() const
Variable & getVelocityVariable() const