Rotation to Quaternion
- RISCV_DSP_ATTRIBUTE void riscv_rotation2quaternion_f32 (const float32_t *pInputRotations, float32_t *pOutputQuaternions, uint32_t nbQuaternions)
- group RotQuat
Conversions from rotation to quaternion.
Functions
- RISCV_DSP_ATTRIBUTE void riscv_rotation2quaternion_f32 (const float32_t *pInputRotations, float32_t *pOutputQuaternions, uint32_t nbQuaternions)
Conversion of a rotation matrix to an equivalent quaternion.
Conversion of a rotation matrix to equivalent quaternion.
q and -q are representing the same rotation. This ambiguity must be taken into account when using the output of this function.
- Parameters
pInputRotations – [in] points to an array 3x3 rotation matrix (in row order)
pOutputQuaternions – [out] points to an array quaternions
nbQuaternions – [in] number of quaternions in the array