Modifying ArduSub Code

I am currently using the Blue Robotics leak sensor connected to an arduino that is connected to a Raspberry Pi to send commands to the pixhawk. My team member and I are trying to test how to have our information display in QGroundControl, we know that we can plug it directly into the pixhawk but we would like to use this sensor as way of learning how to send information through Mavlink and display it.

We already downloaded the Arduino Code from the website that runs perfectly, we are just stuck on these next steps. We have also downloaded the repository on the website and have been looking over the code. Let us know if you have any suggestions or research threads we can look into.

Hi,

You can use SYS_STATUS message to set a leak detection state in the ROV. You can check here how the message is decoded for that.