10 #ifndef IIT_RBD_INTERNALS_ 11 #define IIT_RBD_INTERNALS_ 27 template<
typename Scalar>
36 XX(xx), XY(xy), XZ(xz),
37 YX(yx), YY(yy), YZ(yz),
38 ZX(zx), ZY(zy), ZZ(zz)
43 XX(E(
X,
X)), XY(E(
X,
Y)), XZ(E(
X,
Z)),
44 YX(E(
Y,
X)), YY(E(
Y,
Y)), YZ(E(
Y,
Z)),
45 ZX(E(
Z,
X)), ZY(E(
Z,
Y)), ZZ(E(
Z,
Z))
51 XX = E(
X,
X); XY = E(
X,
Y); XZ = E(
X,
Z);
52 YX = E(
Y,
X); YY = E(
Y,
Y); YZ = E(
Y,
Z);
53 ZX = E(
Z,
X); ZY = E(
Z,
Y); ZZ = E(
Z,
Z);
62 template<
typename Scalar>
71 XX(xx), XY(xy), XZ(xz),
84 XX = E(
X,
X); XY = E(
X,
Y); XZ = E(
X,
Z);
85 YY = E(
Y,
Y); YZ = E(
Y,
Z);
105 template<
typename Scalar>
128 B.
XY = yXX * E.
XX + yXY * E.
XY + EvZ;
129 B.
XZ = yYX * E.
XX + yYY * E.
XY - EvY;
130 B.
YZ = yYX * E.
YX + yYY * E.
YY + EvX;
134 B.
XX = LXX + LYY - zYY - zZZ + A.
ZZ;
144 template<
typename Scalar>
174 B.
XY = yXX*E.
YX + yXY*E.
YY - EvZ;
175 B.
YX = yYX*E.
XX + yYY*E.
XY + EvZ;
176 B.
XZ = yXX*E.
ZX + yXY*E.
ZY + EvY;
177 B.
ZX = yZX*E.
XX + yZY*E.
XY - EvY;
178 B.
YZ = yYX*E.
ZX + yYY*E.
ZY - EvX;
179 B.
ZY = yZX*E.
YX + yZY*E.
YY + EvX;
Scalar YZ
Definition: internals.h:30
SymmMat3x3Coefficients()
Definition: internals.h:66
Scalar YX
Definition: internals.h:30
Scalar XZ
Definition: internals.h:64
Scalar ZZ
Definition: internals.h:64
ct::core::ADCodegenLinearizer< state_dim, control_dim >::ADCGScalar Scalar
Definition: internals.h:63
Definition: internals.h:28
Scalar YZ
Definition: internals.h:64
Mat3x3Coefficients(const MatrixBase< D > &E)
Definition: internals.h:42
Mat3x3Coefficients(Scalar xx, Scalar xy, Scalar xz, Scalar yx, Scalar yy, Scalar yz, Scalar zx, Scalar zy, Scalar zz)
Definition: internals.h:33
Mat3x3Coefficients()
Definition: internals.h:32
void read(const MatrixBase< D > &E)
Definition: internals.h:82
Scalar XX
Definition: internals.h:64
Scalar XY
Definition: internals.h:64
SymmMat3x3Coefficients(Scalar xx, Scalar xy, Scalar xz, Scalar yy, Scalar yz, Scalar zz)
Definition: internals.h:68
void rot_symmetric_EAET(const Mat3x3Coefficients< Scalar > &E, const SymmMat3x3Coefficients< Scalar > &A, SymmMat3x3Coefficients< Scalar > &B)
Definition: internals.h:106
Scalar XX
Definition: internals.h:30
Eigen::MatrixBase< Derived > MatrixBase
Definition: rbd.h:51
Scalar YY
Definition: internals.h:30
void read(const MatrixBase< D > &E)
Definition: internals.h:49
void rot_EAET(const Mat3x3Coefficients< Scalar > &E, const Mat3x3Coefficients< Scalar > &A, Mat3x3Coefficients< Scalar > &B)
Definition: internals.h:145
Scalar ZX
Definition: internals.h:30
Scalar XZ
Definition: internals.h:30
Scalar YY
Definition: internals.h:64
SymmMat3x3Coefficients(const MatrixBase< D > &E)
Definition: internals.h:77
Scalar XY
Definition: internals.h:30
Scalar ZY
Definition: internals.h:30
Scalar ZZ
Definition: internals.h:30
void write(const MatrixBase< D > &Econst)
Definition: internals.h:89