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

AirPressure: update calls to use sdf::Errors output #1159

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 marco@openrobotics.org

🎉 New feature

Work towards #820.

Depends on #1151 and: #1141.

Summary

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

Test it

Using the AirPressure 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:42
Signed-off-by: Marco A. Gutierrez <marco@openrobotics.org>
Signed-off-by: Marco A. Gutierrez <marco@openrobotics.org>
Signed-off-by: Marco A. Gutierrez <marco@openrobotics.org>
@marcoag marcoag changed the base branch from main to sdf13 October 3, 2022 16:43
@marcoag marcoag force-pushed the marcoag/sdf_error_airpreassure branch from 6c75696 to f6ee3b0 Compare October 3, 2022 16:44
@codecov
Copy link

codecov bot commented Oct 3, 2022

Codecov Report

Merging #1159 (6293043) into sdf13 (1d1f1d5) will increase coverage by 0.00%.
The diff coverage is 96.97%.

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

@@           Coverage Diff            @@
##            sdf13    #1159    +/-   ##
========================================
  Coverage   87.51%   87.52%            
========================================
  Files         126      126            
  Lines       16248    16436   +188     
========================================
+ Hits        14220    14386   +166     
- 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/Frame.cc 96.55% <100.00%> (+0.21%) ⬆️
src/Imu.cc 100.00% <100.00%> (ø)
src/JointAxis.cc 97.67% <100.00%> (+1.47%) ⬆️
... and 4 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.

Marco A. Gutierrez added 3 commits March 24, 2023 03:44
Signed-off-by: Marco A. Gutierrez <marco@openrobotics.org>
Signed-off-by: Marco A. Gutierrez <marco@openrobotics.org>
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.

Not too sure why coverage is complaining in this PR when those files have not been changed 🤔, let's see how it reacts once the branch gets updated then. LGTM!

@marcoag marcoag changed the title AirPressure: update calls to use sdf::Errors parameters AirPressure: update calls to use sdf::Errors output Mar 29, 2023
@marcoag marcoag merged commit 09c0a6c into sdf13 Mar 29, 2023
@marcoag marcoag deleted the marcoag/sdf_error_airpreassure branch March 29, 2023 06:55
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