23 double wx = this->
wx();
24 double wy = this->
wy();
25 double wz = this->
wz();
26 double vx = this->
vx();
27 double vy = this->
vy();
28 double vz = this->
vz();
30 MotionVector m(-wz * v_wy + wy * v_wz, wz * v_wx - wx * v_wz, -wy * v_wx + wx * v_wy, -vz * v_wy + vy * v_wz - wz * v_vy + wy * v_vz,
31 vz * v_wx - vx * v_wz + wz * v_vx - wx * v_vz, -vy * v_wx + vx * v_wy - wy * v_vx + wx * v_vy);
45 double wx = this->
wx();
46 double wy = this->
wy();
47 double wz = this->
wz();
48 double vx = this->
vx();
49 double vy = this->
vy();
50 double vz = this->
vz();
52 ForceVector f(-wz * v_my + wy * v_mz - vz * v_fy + vy * v_fz, wz * v_mx - wx * v_mz + vz * v_fx - vx * v_fz, -wy * v_mx + wx * v_my - vy * v_fx + vx * v_fy,
53 -wz * v_fy + wy * v_fz, wz * v_fx - wx * v_fz, -wy * v_fx + wx * v_fy);
MotionVector cross(const MotionVector &v)
See V. Duindum thesis p.25 for an explanation of what operator is. It is also in Featherstone p...
EIGEN_STRONG_INLINE double & vz()
Get a reference to the linear-z component.
A ForceVector is a SpatialVector containing 3 moments and 3 linear forces.
EIGEN_STRONG_INLINE double & fy()
Get reference to y-linear component.
EIGEN_STRONG_INLINE double & wx()
Get a reference to the angular-x component.
EIGEN_STRONG_INLINE double & wy()
Get a reference to the angular-y component.
EIGEN_STRONG_INLINE double & fx()
Get reference to x-linear component.
EIGEN_STRONG_INLINE double & vx()
Get a reference to the linear-x component.
EIGEN_STRONG_INLINE double & fz()
Get reference to z-linear component.
EIGEN_STRONG_INLINE double & my()
Get reference to y-angular component.
EIGEN_STRONG_INLINE double & mz()
Get reference to z-angular component.
EIGEN_STRONG_INLINE double & wz()
Get a reference to the angular-z component.
EIGEN_STRONG_INLINE double & vy()
Get a reference to the linear-y component.
EIGEN_STRONG_INLINE double & mx()
Get reference to x-angular component.
Namespace for all structures of the RobotDynamics library.