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

Logs a warning if a buoyancy mode is not clearly specified. #1307

Merged
merged 3 commits into from
Feb 17, 2022

Conversation

arjo129
Copy link
Contributor

@arjo129 arjo129 commented Jan 24, 2022

I had originally started this branch to fix #1305. Turns out that #1305 was not actually a problem, still I decided to take the opportunity to imporve the logging so that if a user fails to specify <uniform_fluid_density> or <graded_density> then the user will be warned. Furthermore, I add a test for graded density mode that shows that #1305 is not an issue.

Signed-off-by: Arjo Chakravarty arjo@openrobotics.org

I had originally started this branch to fix #1305. Turns out that #1305 was not actually a problem, still I decided to take the opportunity to imporve the logging so that if a user fails to specify `<uniform_fluid_density>` or `<graded_density>` then  the user will be warned. Furthermore, I add a test for graded density mode that shows that #1305 is not an issue.

Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
@arjo129 arjo129 requested a review from chapulina as a code owner January 24, 2022 03:19
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Jan 24, 2022
@codecov
Copy link

codecov bot commented Jan 24, 2022

Codecov Report

Merging #1307 (62bbffd) into ign-gazebo6 (12ea34a) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           ign-gazebo6    #1307      +/-   ##
===============================================
- Coverage        62.78%   62.77%   -0.02%     
===============================================
  Files              299      299              
  Lines            24023    24028       +5     
===============================================
  Hits             15083    15083              
- Misses            8940     8945       +5     
Impacted Files Coverage Δ
src/systems/buoyancy/Buoyancy.cc 80.56% <0.00%> (-1.96%) ⬇️

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 862c0f9...62bbffd. Read the comment docs.

@arjo129 arjo129 changed the title Logs a warning if a buoyancy mode is not clearly sepecified. Logs a warning if a buoyancy mode is not clearly specified. Jan 25, 2022
@arjo129 arjo129 self-assigned this Jan 27, 2022
@scpeters scpeters requested a review from caguero February 7, 2022 19:44
Copy link
Contributor

@caguero caguero left a comment

Choose a reason for hiding this comment

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

Looks good to me. Just waiting for fixing the conflicts...

@arjo129 arjo129 enabled auto-merge (squash) February 17, 2022 01:17
@arjo129 arjo129 merged commit 1b569c9 into ign-gazebo6 Feb 17, 2022
@arjo129 arjo129 deleted the arjo/fix/qol_buoyancy branch February 17, 2022 09:26
@azeey
Copy link
Contributor

azeey commented Feb 25, 2022

I think a test introduced in this PR is failing on windows CI. Do you mind using IGN_UTILS_TEST_DISABLED_ON_WIN32 on the test to disable it if it can't be fixed?

arjo129 added a commit that referenced this pull request Feb 28, 2022
See #1307 (comment)

Buoyancy tests failing on windows. Disabling them to prevent noise.

Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
@arjo129
Copy link
Contributor Author

arjo129 commented Feb 28, 2022

See #1368

arjo129 added a commit that referenced this pull request Mar 1, 2022
See #1307 (comment)

Buoyancy tests failing on windows. Disabling them to prevent noise.

Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
@osrf-triage
Copy link

This pull request has been mentioned on Gazebo Community. There might be relevant details there:

https://community.gazebosim.org/t/new-ignition-releases-2022-03-01-citadel-edifice-fortress/1313/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix graded buoyancy reference frame
4 participants