Limit Depth using Pressure sensor?

What is the best method in auto-limiting ROV depth in software and using the pressure sensor?

I want to prevent dives based on ROV hull limits.

Thanks!

This feature is built in with ArduSub, but is still a work in progress. If you would like to help with the development of this feature, please join in on gitter.

-Jacob