Skip to content
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

Merged
merged 6 commits into from
Sep 27, 2021

Conversation

vineet131
Copy link
Contributor

-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

…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
Copy link
Member

@aprotyas aprotyas left a 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.

tf2_geometry_msgs/scripts/test.py Outdated Show resolved Hide resolved
tf2_geometry_msgs/scripts/test.py Outdated Show resolved Hide resolved
vineet131 and others added 3 commits September 6, 2021 21:02
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
Copy link
Member

@aprotyas aprotyas left a 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.

tf2_geometry_msgs/scripts/test.py Outdated Show resolved Hide resolved
…_equiv to np.array_equal since we should also check if the shapes of the array are equal.
Copy link
Member

@aprotyas aprotyas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@clalancette clalancette self-assigned this Sep 23, 2021
Copy link
Contributor

@clalancette clalancette left a 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.

@clalancette
Copy link
Contributor

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@clalancette
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants