12 #include <Eigen/Dense> 13 #include <Eigen/StdVector> 14 #define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET 1 15 #include <Eigen/Sparse> 50 template<
typename Derived>
53 template<
typename Scalar,
int R,
int C>
56 template<
typename XprType,
int R,
int C>
59 template<
typename Scalar>
62 template<
typename Scalar>
71 template<
typename SCALAR>
110 return f.template topRows<3>();
117 return f.template bottomRows<3>();
120 return f.template topRows<3>();
123 return f.template bottomRows<3>();
185 static const double g = 9.81;
SCALAR Scalar
Definition: rbd.h:74
static Part3DConst linearPart(const Vector6D &f)
Definition: rbd.h:122
Eigen::SparseVector< Scalar > SparseVector
Definition: rbd.h:63
PlainMatrix< Scalar, 6, 6 > Matrix66
Definition: rbd.h:79
Cored::Vector3 Vector3d
Definition: rbd.h:137
Coords6D
To be used with 6D vectors. 'A' stands for angular, 'L' for linear.
Definition: rbd.h:175
SparseVector< double > SparseColumnd
Definition: rbd.h:151
Cored::ForceVector ForceVector
Definition: rbd.h:143
Coords3D
To be used with 6D vectors. 'A' stands for angular, 'L' for linear.
Definition: rbd.h:173
PlainMatrix< Scalar, 3, 3 > Matrix33
Definition: rbd.h:78
CppAD::AD< CppAD::cg::CG< double > > SCALAR
Cored::Vector6 Vector6d
Definition: rbd.h:139
Eigen::Block< XprType, R, C > MatrixBlock
Definition: rbd.h:57
MatrixBlock< Vector6D, 3, 1 > Part3D
a 3D subvector of a 6D vector
Definition: rbd.h:94
Vector6D Column6D
a 3D subvector of a 6D vector
Definition: rbd.h:90
MatrixBlock< const Vector6D, 3, 1 > Part3DConst
a const 3D subvector of a 6D vector
Definition: rbd.h:95
SparseMatrix< double > SparseMatrixd
Definition: rbd.h:150
Vector6D ForceVector
a 3D subvector of a 6D vector
Definition: rbd.h:92
Cored::Column6D Column6d
Definition: rbd.h:148
Cored::VelocityVector VelocityVector
Definition: rbd.h:142
Cored::Matrix66 Matrix66d
Definition: rbd.h:138
static Part3D angularPart(Vector6D &f)
Definition: rbd.h:109
Eigen::MatrixBase< Derived > MatrixBase
Definition: rbd.h:51
Cored::Matrix33 Matrix33d
Definition: rbd.h:136
Core< double > Cored
Definition: rbd.h:134
Cored::Part3DConst Part3DConst
Definition: rbd.h:146
Vector6 Vector6D
a 3D subvector of a 6D vector
Definition: rbd.h:89
PlainMatrix< Scalar, 6, 1 > Vector6
Definition: rbd.h:81
static Part3D linearPart(Vector6D &f)
Definition: rbd.h:116
Eigen::Matrix< Scalar, R, C > PlainMatrix
Definition: rbd.h:54
Cored::Vector6D Vector6D
Definition: rbd.h:141
Cored::Part3D Part3D
Definition: rbd.h:145
Vector6D VelocityVector
a 3D subvector of a 6D vector
Definition: rbd.h:91
PlainMatrix< Scalar, 3, 1 > Vector3
Definition: rbd.h:80
Eigen::SparseMatrix< Scalar > SparseMatrix
Definition: rbd.h:60
static Part3DConst angularPart(const Vector6D &f)
Definition: rbd.h:119