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

Adds support for hydrodynamic cross terms #1784

Merged
merged 4 commits into from
Nov 14, 2022

Commits on Nov 7, 2022

  1. Adds support for hydrodynamic cross terms

    The current plugin implementation only supports diagonal parameters. This PR adds support for cross terms in the added mass and the damping matrix.
    
    ## What this means for existing users of this plugin
    
    Nothing. The plugin should continue to work as expected. Hence the test suite is not changed.
    
    ## Cross terms
    
    For reference read: Fossen T. "Guidance and Control of Ocean Vehicles".
    
    Fossens equations rely on so called "stability derivatives" in the damping and the added mass terms. These are given by parameters such as `<xUU> `. What this means is `xUU` is the Quadratic Damping term (hence the repeated Us along the X axis for a velocity vector along the X axis (U, V, W are used by SNAME (Society of Naval Architects and Marine Engineers) to represent linear velocity along X, Y and Z axis repspectively). Now, in the case of many ocean going vehicles a push along the U (X-direction velocity) may result in translations and rotations in other axis (for instance my boat might yaw to the right). This may seem counter intuitive but fluid-solid interaction is often complex an unintuitive. In previous versions of the plugin, we only supported the parameters along the diagonal of the damping and added mass matrix. While this is often more than sufficient for simple simulations, there are cases where we may like to simulate cross terms. The adding of cross terms now opens up a lot more parameters. For instance, now we will have terms like `xQR` (quadratic damping in x axis with respect to angular velocity in roll and yaw axis).
    
    Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
    arjo129 committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    c9f030c View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. Docs

    Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
    arjo129 committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    c85281f View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. Address PR feedback

    Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
    arjo129 committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    93cd67f View commit details
    Browse the repository at this point in the history
  2. Whoops missed one

    Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
    arjo129 committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    5692ab7 View commit details
    Browse the repository at this point in the history