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

Add missing gz-math includes #1525

Merged
merged 2 commits into from
Jun 8, 2022
Merged

Conversation

azeey
Copy link
Contributor

@azeey azeey commented Jun 8, 2022

🦟 Bug fix

Summary

Some libsdformat headers used to include gz/math.hh, but that is no longer the case since gazebosim/sdformat#1043. As a result, gz-sim has to be updated to include the necessary headers.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Some libsdformat headers used to include `gz/math.hh`, but that is no
longer the case since gazebosim/sdformat#1043.
As a result, gz-sim has to be updated to include the necessary headers.

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
@azeey azeey requested a review from methylDragon June 8, 2022 00:34
@azeey azeey requested review from iche033 and chapulina as code owners June 8, 2022 00:34
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

LGTM, just some alphabetizing nitpicks

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
@codecov
Copy link

codecov bot commented Jun 8, 2022

Codecov Report

Merging #1525 (cfd2eb9) into main (20a7779) will not change coverage.
The diff coverage is n/a.

❗ Current head cfd2eb9 differs from pull request most recent head 008d32b. Consider uploading reports for the commit 008d32b to get more accurate results

@@           Coverage Diff           @@
##             main    #1525   +/-   ##
=======================================
  Coverage   63.62%   63.62%           
=======================================
  Files         330      330           
  Lines       25784    25784           
=======================================
  Hits        16405    16405           
  Misses       9379     9379           
Impacted Files Coverage Δ
include/gz/sim/rendering/SceneManager.hh 100.00% <ø> (ø)
src/rendering/MarkerManager.cc 13.02% <ø> (ø)
src/rendering/SceneManager.cc 27.70% <ø> (ø)
src/systems/multicopter_control/Common.cc 71.42% <ø> (ø)
...rc/systems/odometry_publisher/OdometryPublisher.cc 88.42% <ø> (ø)
src/systems/thruster/Thruster.cc 91.77% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 20a7779...008d32b. Read the comment docs.

@chapulina chapulina merged commit 88e0c49 into gazebosim:main Jun 8, 2022
scpeters added a commit that referenced this pull request Jun 8, 2022
Follow up to #1525.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
scpeters added a commit that referenced this pull request Jun 8, 2022
Follow up to #1525.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@j-rivero j-rivero mentioned this pull request Sep 16, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants