Closed bokorn-bdaii closed 9 months ago
Thank you for noticing this, @bokorn-bdaii
i see you have a PR up with this fix but it also exposed the fact that we did not have test coverage for this logic - do you mind if I push a commit with just a unit test onto your branch?
Ya, of course. Feel free to push a unit test in.
@bokorn-bdaii pushed. thanks! :crossed_fingers: will approve as soon as the workflow completes. thanks again for fixing this issue.
@bokorn-bdaii your PR fixing this issue has been merged: https://github.com/bdaiinstitute/spatialmath-python/pull/117
Fall through error in the binary operator for BasePoseMatrix:
https://github.com/bdaiinstitute/spatialmath-python/blob/1b89c49395a21b5241e2f0a233e69394f3bc27b1/spatialmath/baseposematrix.py#L1632C7-L1632C7
If you want to compare the rotation of an SE3 to an SO3, it returns none as opposed to throwing an error or returning a valid value. This should probably raise an error as opposed to returning None.
Could be fixed with closing else in
BasePoseMatrix._op2