-
Notifications
You must be signed in to change notification settings - Fork 197
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
Fix for issue #431 - Covariance is not transformed in do_transform_pose_with_covariance_stamped #453
Conversation
…pose_with_covariance_stamped, corresponding to #431 and made the same changes as the C++ API -Added the tests for do_transform_pose_with_covariance_stamped
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting some changes for numpy
eccentricities and math reviews.
Correct the expected test results for covariance matrix Co-authored-by: Abrar Rahman Protyasha <aprotyas@u.rochester.edu>
Correct np array multiplication operator Co-authored-by: Abrar Rahman Protyasha <aprotyas@u.rochester.edu>
- Remove whitespaces between lines - Add a few more helpful comments - Check assertion on pose.orientation as well - Correct check for array equivalence and make expected_covariance as np.array
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small concern about array-equality operations, check comments inline please.
…_equiv to np.array_equal since we should also check if the shapes of the array are equal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor change, then I think this will be ready for CI.
All right, CI is looking good. While the crashes on macOS are concerning, they also happened in the nightlies: https://ci.ros2.org/view/nightly/job/nightly_osx_release/2207/#showFailuresLink . So I'm going to go ahead and merge this, thanks for the contribution. |
-Fixed the issue of covariance not being transformed in do_transform_pose_with_covariance_stamped, corresponding to #431 and made the same changes in Python as was done in #430
-Added the tests for do_transform_pose_with_covariance_stamped