You might want to consider the OpenROV 2.8 Developer’s Controller Kit, which uses both a Beagle Bone Black and an Arduino 2560 processor, and their IMU/Compass/Depth Module.
OpenROV plugins can be easily added to the Arduino code.
Regards,
TCIII AVD