argoverse / argoverse-api

Official GitHub repository for Argoverse dataset
https://www.argoverse.org
Other
839 stars 240 forks source link

Re-normalize quaternions if norm !=1, instead of throwing error #223

Closed johnwlambert closed 3 years ago

johnwlambert commented 3 years ago

A user may provide a quaternion that does not have exactly unit norm. Instead of throwing an error (previous behavior), we can simply re-normalize the quaternion and gracefully proceed.