Go to the documentation of this file.
11 #include <tvm/function/abstract/Function.h>
25 SET_UPDATES(
CoMFunction, Value, Velocity, Jacobian, NormalAcceleration, JDot)
37 inline const Eigen::Vector3d &
com() const noexcept {
return com_; }
40 inline void com(
const Eigen::Vector3d & com) noexcept { com_ =
com; }
43 inline const Eigen::Vector3d &
actual() const noexcept {
return comAlgo_.com(); }
46 inline const Eigen::Vector3d &
refVel() const noexcept {
return refVel_; }
49 inline void refVel(
const Eigen::Vector3d & refVel) noexcept { refVel_ =
refVel; }
52 inline const Eigen::Vector3d &
refAccel() const noexcept {
return refAccel_; }
55 inline void refAccel(
const Eigen::Vector3d & refAccel) noexcept { refAccel_ =
refAccel; }
60 Eigen::Vector3d refVel_;
61 Eigen::Vector3d refAccel_;
64 void updateVelocity();
65 void updateJacobian();
66 void updateNormalAcceleration();
void refVel(const Eigen::Vector3d &refVel) noexcept
Definition: CoMFunction.h:49
#define MC_TVM_DLLAPI
Definition: api.h:47
Definition: CollisionFunction.h:15
void refAccel(const Eigen::Vector3d &refAccel) noexcept
Definition: CoMFunction.h:55
void com(const Eigen::Vector3d &com) noexcept
Definition: CoMFunction.h:40
const Eigen::Vector3d & com() const noexcept
Definition: CoMFunction.h:37
const Eigen::Vector3d & refVel() const noexcept
Definition: CoMFunction.h:46
const Eigen::Vector3d & actual() const noexcept
Definition: CoMFunction.h:43
const Eigen::Vector3d & refAccel() const noexcept
Definition: CoMFunction.h:52
Definition: CoMFunction.h:23