Control hydraulic based on depth and speed (Marine Based)

It's always good to know others have done something similar.

https://ardupilot.org/copter/docs/common-underwater-sonar-analog.html