AmbiqAI / neuralSPOT

NeuralSPOT is Ambiq's AI SDK and Toolkit
https://ambiq.com
BSD 3-Clause "New" or "Revised" License
24 stars 6 forks source link

Evan quaternion #167

Closed evanchen11 closed 2 months ago

evanchen11 commented 2 months ago

Adds unit testing for ns-features. Edited examples/quaternion/src/quaternion.cc to handle the null pointer checks in all functions. Changed ns_get_RollPitchYaw to add a small constant to yaw and pitch in order to prevent gimbal lock at 90 degree rotation