16 template <
size_t NJOINTS,
typename SCALAR =
double>
20 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
size_t getSize()
get number of degrees of freedom
Definition: JointAcceleration.h:32
void setAcceleration(const Eigen::Matrix< SCALAR, NJOINTS, 1 > &acceleration)
set joint acceleration
Definition: JointAcceleration.h:40
static JointAcceleration< NJOINTS, SCALAR > Zero()
Definition: JointAcceleration.h:43
Acceleration acceleration_
Definition: JointAcceleration.h:51
JointAcceleration()
Definition: JointAcceleration.h:29
joint acceleration
Definition: JointAcceleration.h:17
CppAD::AD< CppAD::cg::CG< double > > SCALAR
Eigen::Matrix< SCALAR, NJOINTS, 1 > Acceleration
Definition: JointAcceleration.h:27
SCALAR & operator()(size_t i)
get i-th joint acceleration
Definition: JointAcceleration.h:34
JointAcceleration(const Eigen::Matrix< SCALAR, NJOINTS, 1 > &acceleration)
Definition: JointAcceleration.h:30
const Eigen::Matrix< SCALAR, NJOINTS, 1 > & getAcceleration() const
get constant joint acceleration
Definition: JointAcceleration.h:38
void setZero()
set joint acceleration to zero
Definition: JointAcceleration.h:42
NDOFS
Definition: JointAcceleration.h:22
Eigen::Matrix< SCALAR, NJOINTS, 1 > & getAcceleration()
get joint acceleration
Definition: JointAcceleration.h:36