Hello everyone,
I’m working on a project involving an underwater ROV based on a Raspberry Pi 4 connected to a Navio2. My goal is to send custom messages from an STM32 Nucleo to the QGroundControl interface, specifically to the alert screen, using MAVLink2.
Current Setup:
- Hardware:
- Raspberry Pi 4 with Navio2.
- STM32 Nucleo connected to the PC via COM3 for testing and UART communication with the Raspberry Pi.
- Navio2 configured with three UART ports for:
- Ports 0-1-2: MAVLink2.
- Ports 3-4: GPS.
- Software:
- Modifications to the ArduPilot code (Sub-4.1 branch) to include custom messages.
- STM32 sends data to the Navio2 via UART.
- The custom messages are expected to be interpreted by MAVLink2 and displayed in QGroundControl.
What I’ve Tried:
- Configured Navio2 UART ports for the desired communication (Telemetry, GPS, etc.).
- Modified the ArduPilot code to include support for custom MAVLink messages.
- Tested the connection between STM32 and Raspberry Pi via UART to ensure data transfer works.
- Attempted to send MAVLink2-compliant messages from the STM32, but I haven’t been able to display them in the QGroundControl interface yet.
Questions and Issues:
- How should the messages be structured on the STM32 to be correctly interpreted by MAVLink2 and QGroundControl?
- Are there additional configurations needed in ArduPilot or QGroundControl to enable the reception of custom messages?
- If anyone has worked on a similar project, could you share examples or guidance to achieve this integration?
I’d greatly appreciate any advice or experiences you can share. Thank you in advance!