12 #include <RBDyn/CoM.h>
14 #include <tvm/graph/abstract/Node.h>
35 SET_OUTPUTS(
CoM,
CoM, Jacobian, Velocity, NormalAcceleration, Acceleration, JDot)
36 SET_UPDATES(
CoM,
CoM, Jacobian, Velocity, NormalAcceleration, Acceleration, JDot)
55 inline const Eigen::Vector3d &
com() const noexcept {
return com_; }
57 inline const Eigen::Vector3d &
velocity() const noexcept {
return velocity_; }
59 inline const Eigen::Vector3d &
normalAcceleration() const noexcept {
return normalAcceleration_; }
61 inline const Eigen::Vector3d &
acceleration() const noexcept {
return acceleration_; }
63 inline const Eigen::MatrixXd &
jacobian() const noexcept {
return jac_.jacobian(); }
65 inline const Eigen::MatrixXd &
JDot() const noexcept {
return jac_.jacobianDot(); }
67 inline const Robot &
robot() const noexcept {
return robot_; }
72 inline const rbd::CoMJacobian &
comJacobian() const noexcept {
return jac_; }
76 rbd::CoMJacobian jac_;
81 Eigen::Vector3d velocity_;
82 void updateVelocity();
84 Eigen::Vector3d normalAcceleration_;
85 void updateNormalAcceleration();
87 Eigen::Vector3d acceleration_;
88 void updateAcceleration();
90 void updateJacobian();