Skip to content

Fix for issue #431 - Covariance is not transformed in do_transform_pose_with_covariance_stamped - #453

Merged
clalancette merged 6 commits into
ros2:ros2from
oss-vineet:ros2
Sep 27, 2021
Merged

clalancette merged 6 commits into
ros2:ros2from
oss-vineet:ros2

Conversation

@oss-vineet

Copy link
Copy Markdown

-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

@aprotyas aprotyas left a comment

Copy link
Copy Markdown
Member

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.

Comment thread tf2_geometry_msgs/scripts/test.py Resolved
Comment thread tf2_geometry_msgs/scripts/test.py 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 <[email protected]>
Correct np array multiplication operator

Co-authored-by: Abrar Rahman Protyasha <[email protected]>
- 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

@aprotyas aprotyas left a comment •

Copy link
Copy Markdown
Member

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.

Comment thread tf2_geometry_msgs/scripts/test.py Resolved
…_equiv to np.array_equal since we should also check if the shapes of the array are equal.

@aprotyas aprotyas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 👍

@aprotyas
aprotyas requested a review from clalancette September 7, 2021 12:38
@clalancette clalancette self-assigned this Sep 23, 2021

@clalancette clalancette left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

CI:

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

@clalancette

Copy link
Copy Markdown
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