wuzp
Wrong Unit? Zero Points! Compile-time checks for units, coordinate systems and points vs. vectors.
Loading...
Searching...
No Matches
kinematics.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  wuzp

Functions

template<AnyTensor VelocityT_, AnyTensor AngularVelocityT_, AnyTensor OffsetT_>
auto wuzp::velocityOfBodyFixedPoint (const VelocityT_ &velocity, const AngularVelocityT_ &angularVelocity, const OffsetT_ &offset)
 The velocity v_Q = v_P + w x p_PQ of a point Q fixed to a rigid body, from the velocity v_P of a point P fixed to the body, the angular velocity w of the body and the position vector p_PQ from P to Q.
template<AnyTensor AccelerationT_, AnyTensor AngularAccelerationT_, AnyTensor AngularVelocityT_, AnyTensor OffsetT_>
auto wuzp::accelerationOfBodyFixedPoint (const AccelerationT_ &acceleration, const AngularAccelerationT_ &angularAcceleration, const AngularVelocityT_ &angularVelocity, const OffsetT_ &offset)
 The acceleration a_Q = a_P + alpha x p_PQ + w x (w x p_PQ) of a point Q fixed to a rigid body, from the acceleration a_P of a point P fixed to the body, the angular acceleration alpha and the angular velocity w of the body and the position vector p_PQ from P to Q, with the tangential acceleration alpha x p_PQ and the centripetal acceleration w x (w x p_PQ).