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

Added Cmat in hydrodynamic forces equation #466

Open
wants to merge 3 commits into
base: gazebo_classic
Choose a base branch
from

Conversation

rmvanarse
Copy link
Collaborator

This PR modifies the hydrodynamic forces equation in usv_gazebo_dynamics_plugin.cc to include the Coriolis centripetal matrix for added mass, Cmat.

As mentioned in #441, the model used in the code does not match the Theory of operation (see eq. 1).

Note: There also seem to be differences in the terms present in Cmat in Theory of operation, this paper and this definition. These differences have not been addressed in this PR.

Need to verify if switching to this model is causing any unexpected behaviour in the USV. Do you remember if Cmat was purposely omitted, and if so, the reason for doing so?

@rmvanarse rmvanarse requested review from caguero and bsb808 July 4, 2022 16:21
@rmvanarse rmvanarse marked this pull request as ready for review July 8, 2022 15:03
Copy link

@acxz acxz left a comment

Choose a reason for hiding this comment

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

Adding the Coriolis hydro forces will be great to increase the fidelity of VRX. If users do not want to simulate these forces, the Coriolis params can always be set to zero.

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

Successfully merging this pull request may close these issues.

4 participants