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

Altimeter: update calls to use sdf::Errors output #1160

Merged
merged 7 commits into from
Mar 29, 2023

Conversation

marcoag
Copy link
Member

@marcoag marcoag commented Sep 20, 2022

Signed-off-by: Marco A. Gutierrez [email protected]

🎉 New feature

Work towards #820.

Depends on #1151 and: #1141.

Summary

Adds missing Errors structure parameters in a few methods of the Altimeter class.

Test it

Using the Altimeter class should report all errors through sdf::Errors if the errors parameter is used, it should print them otherwise.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • 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.

Marco A. Gutierrez added 3 commits October 3, 2022 16:45
@marcoag marcoag changed the base branch from main to sdf13 October 3, 2022 16:45
@marcoag marcoag force-pushed the marcoag/sdf_error_altimeter branch from 5c95715 to 624d7dc Compare October 3, 2022 16:46
@codecov
Copy link

codecov bot commented Oct 3, 2022

Codecov Report

Merging #1160 (ec82caf) into sdf13 (1d1f1d5) will increase coverage by 0.01%.
The diff coverage is 97.08%.

❗ Current head ec82caf differs from pull request most recent head 4984ddb. Consider uploading reports for the commit 4984ddb to get more accurate results

@@            Coverage Diff             @@
##            sdf13    #1160      +/-   ##
==========================================
+ Coverage   87.51%   87.53%   +0.01%     
==========================================
  Files         126      126              
  Lines       16248    16446     +198     
==========================================
+ Hits        14220    14396     +176     
- Misses       2028     2050      +22     
Impacted Files Coverage Δ
include/sdf/Plugin.hh 93.75% <ø> (ø)
src/Element.cc 96.21% <88.23%> (-1.01%) ⬇️
include/sdf/Element.hh 97.67% <95.23%> (-2.33%) ⬇️
src/Material.cc 95.76% <95.34%> (+0.39%) ⬆️
src/ParticleEmitter.cc 92.55% <97.77%> (+0.32%) ⬆️
python/src/sdf/pyError.cc 80.82% <100.00%> (+0.54%) ⬆️
src/AirPressure.cc 100.00% <100.00%> (ø)
src/Altimeter.cc 100.00% <100.00%> (ø)
src/Frame.cc 96.55% <100.00%> (+0.21%) ⬆️
src/Imu.cc 100.00% <100.00%> (ø)
... and 5 more

... and 2 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Collaborator

@aaronchongth aaronchongth left a comment

Choose a reason for hiding this comment

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

Pending branch update, LGTM!

@marcoag marcoag changed the title Altimeter: update calls to use sdf::Errors parameters Altimeter: update calls to use sdf::Errors output Mar 29, 2023
@marcoag marcoag merged commit ac45020 into sdf13 Mar 29, 2023
@marcoag marcoag deleted the marcoag/sdf_error_altimeter branch March 29, 2023 08:21
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.

2 participants