Leak detection using multiple sensors and separate leak reporting

Hi,
@jwalser
How can I use multiple(three leak sensors) with separate boards and report different strings such as “Leak detected in Electronics Hull”, “Leak detected in Battery Hull”?

Hi, there is support for up to three independent leak detector inputs, there is no support for distinguishing between which one has fired on the user end. You will need to modify the firmware or add a feature request on GitHub - ArduPilot/ardupilot: ArduPlane, ArduCopter, ArduRover, ArduSub source.

Why do you want this behavior? Would your action be any different if the leak were in the battery hull vs the electronics hull?

Yeah.I just would like to know exactly where the leak has occurred.

@jwalser I am on a short schedule. So I can’t wait till the feature request get accepted. But I am ready to dig into the firmware to see if something happens. Can you just give me short info on where to go searching for this in the firmware?

You will need to add the interface to check individual sensor status to the LeakDetector class:

You can check/handle the status of individual sensors here: ardupilot/failsafe.cpp at master · ArduPilot/ardupilot · GitHub

Hi Folks,

I know this is an old post, but has there been any updates made to Ardusub to detect leaks in individual housings?

We have multiple hulls, and it would really help to narrow down where a leak is detected.
A leak detected warning is a showstopper for ROV ops. If launching from a vessel you really want to know which bottle needs attention.

Happened to us today, luckily it was a false alarm due to condensation, but it cost us about an hour of vessel time to open each of our 4 bottles and confirm none of them were flooded.