Added Cmat in hydrodynamic forces equation#466
Added Cmat in hydrodynamic forces equation#466rmvanarse wants to merge 3 commits intogazebo_classicfrom
Conversation
acxz
left a comment
There was a problem hiding this comment.
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.
|
@rmvanarse , we got some time to help with your contribution. Are you willing to retarget it to the |
|
Hi @caguero , would you like me to rebase over |
Whatever it's easier for you works for us :) I think the hydrodynamics plugin should be pretty much the same. |
|
See #829 |
This PR modifies the hydrodynamic forces equation in
usv_gazebo_dynamics_plugin.ccto 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
Cmatin 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
Cmatwas purposely omitted, and if so, the reason for doing so?