-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fall through error in the binary operator for BasePoseMatrix #116
Comments
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! 🤞 |
@bokorn-bdaii your PR fixing this issue has been merged: #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
The text was updated successfully, but these errors were encountered: