Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Default to identity quaternion when not set #377

Merged
merged 2 commits into from
Aug 30, 2023

Conversation

mjcarroll
Copy link
Contributor

🦟 Bug fix

Fixes PoseVector test from here: gazebosim/gz-sim#2087 (comment)

Previously, when quaternion wasn't set in a message (all zeros), we would return an identity quaternion. This adjusts the new conversion to match that.

Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>
@mjcarroll mjcarroll requested a review from caguero as a code owner August 30, 2023 15:42
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Aug 30, 2023
Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>
@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Merging #377 (4754092) into gz-msgs10 (1cb2374) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 4754092 differs from pull request most recent head 259e9ef. Consider uploading reports for the commit 259e9ef to get more accurate results

@@            Coverage Diff             @@
##           gz-msgs10     #377   +/-   ##
==========================================
  Coverage      97.25%   97.26%           
==========================================
  Files             27       27           
  Lines           1165     1169    +4     
==========================================
+ Hits            1133     1137    +4     
  Misses            32       32           
Files Changed Coverage Δ
core/include/gz/msgs/convert/Pose.hh 100.00% <100.00%> (ø)

@mjcarroll mjcarroll merged commit 4630db1 into gz-msgs10 Aug 30, 2023
@mjcarroll mjcarroll deleted the mjcarroll/fix_pose_conversion branch August 30, 2023 15:57
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🎵 harmonic Gazebo Harmonic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants