Hello,
I connected the DEGX D300 I2C pressure sensor to Pixhawk. It is stated that the sensor is compatible with ArduSub, but I could not clearly understand how I can read this data in my own software and control the ascent motors accordingly.
My goal is as follows:
I want to control the ascent motors via Arduino Mega by receiving the depth data from the pressure sensor via Pixhawk.
My question is as follows:
Can I access this sensor data via Mavlink? If yes, with which message can I read this pressure/depth data via Mavlink? Also, what kind of Mavlink messaging structure should I set up to receive this data via Arduino Mega?
I would be very happy if you could help me with an example message structure, suggested message type (e.g. SCALED_PRESSURE, VFR_HUD, ATTITUDE, etc.) and how to correctly decode it.
Thank you,
Beyza Nur Yagci