Closed ragingonyx closed 2 years ago
Currently looking into whether the dynamic model from VRX can be extracted and used. This would be ideal because:
Papers that describe the WAM-V dynamic model used in VRX: Towards_Maritime_Robotic_Simulation.pdf Station_Keeping_Control_USV.pdf
FYI: I think it's a great first step but the dynamics of the model are still a bit weird so it might not translate super well to real world (when I was designing the controller I thought the simulated wam-v was like a bar of soap, the real wam-v does not glide that much, it's just my opinion though I don't have data to back that up).
Got it, thanks! I guess we might have to see if we can tune the model so that it matches the real-world behavior better.
https://github.com/osrf/vrx/blob/master/usv_gazebo_plugins/src/usv_gazebo_dynamics_plugin.cc : Hydrodynamic equations for the WAMV in VRX are implementedt here
https://github.com/osrf/vrx/blob/master/wamv_gazebo/urdf/dynamics/wamv_gazebo_dynamics_plugin.xacro: Dynamic parameters are set here
Building a simplified model based on Fossen's equations of motion (3DOF) as stated in: R. Rameshbabu, M. Steffens and D. Mavris, "System Identification Using the Modeling through Iterative Smoothing Algorithm," Global Oceans 2020: Singapore – U.S. Gulf Coast, 2020, pp. 1-7, doi: 10.1109/IEEECONF38699.2020.9389220.
Initially using values from VRX for hydrodynamic coefficients and mass properties
We need to create a mathematical representation of our vehicle dynamics. Currently we have an empirical model, aka our physical vehicles, but this isn't ideal for tuning and testing in simulation. I hope to be able to leverage the empirical model in the creation of the theoretical model in a system like this.
Here's a useful link to get started with: Video explaining how to make models.