Robotic-Decision-Making-Lab / hydrodynamics

A ROS 2 package providing a collection of interfaces for hydrodynamic parameters.
MIT License
3 stars 1 forks source link

fixed restoring forces formulation #4

Closed edxmorgan closed 3 months ago

edxmorgan commented 3 months ago

Changes Made

The rotation matrix rot is now transposed before being applied to the force vectors fg and fb, ensuring correct force calculations as per guidelines in Thor Fossen's Handbook of Marine Craft.

Associated Issues

evan-palmer commented 3 months ago

Looks good! Thanks for contributing @Eddy-Morgan!