-
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
PoseWithCovarianceStamped transform doesn't transform covariance part #372
Comments
Yep, agreed. A pull request to port that functionality over from the ROS 1 version would be welcome. |
On that note,
Since I'm working on this issue, should I fold above changes into the same PR? @clalancette |
It's worthwhile to fix it both places, but I'll suggest two separate PRs, one for C++ and one for Python. |
@clalancette Is there any chance the fix for this in #430 gets backported to Foxy? |
I think that is viable; it doesn't change API or ABI. Mind opening a backport PR? |
…<PoseWithCovarianceStamped, TransformStamped>` (#430) Fixes #372. * Implement covariance transformation (cpp). * Fixed `TfGeometry/FrameWithCovariance` test. The updated test checks against the correctly transformed covariance matrix. Signed-off-by: Abrar Rahman Protyasha <abrar@openrobotics.org> (cherry picked from commit ae30f0b) # Conflicts: # tf2_geometry_msgs/include/tf2_geometry_msgs/tf2_geometry_msgs.hpp
…<PoseWithCovarianceStamped, TransformStamped>` (#430) Fixes #372. * Implement covariance transformation (cpp). * Fixed `TfGeometry/FrameWithCovariance` test. The updated test checks against the correctly transformed covariance matrix. Signed-off-by: Abrar Rahman Protyasha <abrar@openrobotics.org> (cherry picked from commit ae30f0b) # Conflicts: # tf2_geometry_msgs/include/tf2_geometry_msgs/tf2_geometry_msgs.hpp
|
…<PoseWithCovarianceStamped, TransformStamped>` (#430) Fixes #372. * Implement covariance transformation (cpp). * Fixed `TfGeometry/FrameWithCovariance` test. The updated test checks against the correctly transformed covariance matrix. Signed-off-by: Abrar Rahman Protyasha <abrar@openrobotics.org> (cherry picked from commit ae30f0b)
…<PoseWithCovarianceStamped, TransformStamped>` (#430) Fixes #372. * Implement covariance transformation (cpp). * Fixed `TfGeometry/FrameWithCovariance` test. The updated test checks against the correctly transformed covariance matrix. Signed-off-by: Abrar Rahman Protyasha <abrar@openrobotics.org> (cherry picked from commit ae30f0b)
Thanks for putting those up @aprotyas ! Hope they can make it in soon. |
…<PoseWithCovarianceStamped, TransformStamped>` (#430) (#488) Fixes #372. * Implement covariance transformation (cpp). * Fixed `TfGeometry/FrameWithCovariance` test. The updated test checks against the correctly transformed covariance matrix. Signed-off-by: Abrar Rahman Protyasha <abrar@openrobotics.org> (cherry picked from commit ae30f0b)
…<PoseWithCovarianceStamped, TransformStamped>` (#430) (#489) Fixes #372. * Implement covariance transformation (cpp). * Fixed `TfGeometry/FrameWithCovariance` test. The updated test checks against the correctly transformed covariance matrix. Signed-off-by: Abrar Rahman Protyasha <abrar@openrobotics.org> (cherry picked from commit ae30f0b)
FYI: both backports have landed. |
@aprotyas Awesome thanks for doing that! |
Bug report
Required Info:
Steps to reproduce issue
Expected behavior
doTransform on PoseWithCovarianceStamped should also transform covariance.
Actual behavior
doTransform on PoseWithCovarianceStamped copies covariance without transforming it.
Additional information
The culprit seems to be line
geometry2/tf2_geometry_msgs/include/tf2_geometry_msgs/tf2_geometry_msgs.h
Line 309 in d65b7eb
It seems that this functionality is implemented in ROS1 version https://github.com/ros/geometry2/blob/c73b5939723db078c9bbe18523230ad54f859682/tf2_geometry_msgs/include/tf2_geometry_msgs/tf2_geometry_msgs.h#L927
The text was updated successfully, but these errors were encountered: