bdaiinstitute / spatialmath-python

Create, manipulate and convert representations of position and orientation in 2D or 3D using Python
MIT License
497 stars 82 forks source link

Added orthogonalization to TwoVectors w unit tests #85

Closed bokorn-bdaii closed 11 months ago

bokorn-bdaii commented 11 months ago

Updated TwoVector constructor of SO3 to orthogonalize the vectors so a valid rotation is always produced. Also added checks for the number of vectors and unit tests.

bokorn-bdaii commented 11 months ago

Shoot, ya those ran automatically. I'll clean those out.

bokorn-bdaii commented 11 months ago

Updated and removed the formatting changes