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

Fix hydrodynamics deprecation warning. #2579

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Conversation

arjo129
Copy link
Contributor

@arjo129 arjo129 commented Sep 2, 2024

🦟 Bug fix

Fixes #

Summary

The warning message in the hydrodynamics added mass section is broken.
Firstly, we probably should check for if any value was set on the added
mass. Secondly, the message was mangled. Finally we downgraded the error
to a warning as the error leads to users getting confused.

Signed-off-by: Arjo Chakravarty [email protected]

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.

🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

The warning message in the hydrodynamics added mass section is broken.
Firstly, we probably should check for if any value was set on the added
mass. Secondly, the message was mangled. Finally we downgraded the error
to a warning as the error leads to users getting confused.

Signed-off-by: Arjo Chakravarty <[email protected]>
@arjo129 arjo129 requested a review from mjcarroll as a code owner September 2, 2024 07:30
@github-actions github-actions bot added the 🏛️ ionic Gazebo Ionic label Sep 2, 2024
@arjo129 arjo129 enabled auto-merge (squash) September 3, 2024 00:06
@arjo129 arjo129 merged commit 7b3d182 into gz-sim9 Sep 3, 2024
10 checks passed
@arjo129 arjo129 deleted the arjo/fix/hydro_warning branch September 3, 2024 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏛️ ionic Gazebo Ionic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants