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

Adding thrust coefficient calculation #1645

Merged
merged 0 commits into from
Aug 17, 2022

Conversation

marcoag
Copy link
Member

@marcoag marcoag commented Aug 12, 2022

Signed-off-by: Marco A. Gutierrez marco@openrobotics.org

🎉 New feature

Work towards osrf/lrauv#225

Summary

Thrust coefficient in Thruster plugin can only be set to a fixed number, by default 1. This PR adds a calculation that makes it depend on the velocity of the vehicle. The calculation implemented here is based Fossen's equations described in "Guidance and Control of Ocean Vehicles".

Test it

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.

@marcoag marcoag requested a review from chapulina as a code owner August 12, 2022 07:58
@chapulina
Copy link
Contributor

chapulina commented Aug 12, 2022

It would be ideal to target this PR at Fortress and merge it forward from there. There are many maritime projects on Fortress that could leverage this addition. We should also add a test case that exercises the new parameter.

@chapulina chapulina added enhancement New feature or request MBARI-LRAUV Sponsored by MBARI-LRAUV project: https://github.com/osrf/lrauv labels Aug 12, 2022
@marcoag marcoag changed the base branch from main to ign-gazebo6 August 17, 2022 05:07
@marcoag marcoag merged commit 880ba4f into ign-gazebo6 Aug 17, 2022
@marcoag marcoag force-pushed the marcoag/thrust_plugin_thrust_coefficient branch from a5791ce to 880ba4f Compare August 17, 2022 09:45
@marcoag marcoag deleted the marcoag/thrust_plugin_thrust_coefficient branch August 17, 2022 09:45
@marcoag
Copy link
Member Author

marcoag commented Aug 17, 2022

This got messed up, opened a new one here against Fortress as suggested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request MBARI-LRAUV Sponsored by MBARI-LRAUV project: https://github.com/osrf/lrauv
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants