Function Karana::Frame::coriolisAccelTppUtil#
Defined in File FrameUtils.h
Function Documentation#
-
km::SpatialAcceleration Karana::Frame::coriolisAccelTppUtil(const km::HomTran &o_to_p_T, const km::SpatialVelocity &o_to_p_V, const km::SpatialVelocity &p_to_t_V, const km::HomTran &o_to_t_T, const km::SpatialVelocity &o_to_t_V)#
Utility function to compute the ‘tpp’ version of the Coriolis acceleration as defined above.
The result is expressed in the target frame. The expression is from Exercise 1.14 (Spatial acceleration transformations), Eq 1.73. The returned value is in the ‘t’ target frame.
a_tpp = | w(o,p) x w(p,t) | | | | w(o,p) x v(p, t) + v(o,t) x w(p,t] |
While not strictly necessary, we are passing the additional f_to_f arguments to avoid the costs of frame to frame lookups.
- Parameters:
o_to_p_T – the oframe to pframe rel transform.
o_to_p_V – the oframe to pframe rel spatial velocity.
p_to_t_V – the pframe to target rel spatial velocity.
o_to_t_T – the oframe to target rel transform.
o_to_t_V – the oframe to target rel spatial velocity.
- Returns:
the ‘tpp’ Coriolis spatial acceleration vector