It should be possible to read messages with pymavlink, but you haven’t specified which part isn’t working as intended.
Some ideas that might be worth considering:
- Setting up a dedicated MAVLink endpoint for pymavlink communication
- Waiting specifically for an autopilot heartbeat
By the way, are you using radio communication, or are you actually wanting to check the MAVLink-based pilot inputs (e.g. with RC_CHANNELS_OVERRIDE
), or the servo rail outputs (via SERVO_OUTPUT_RAW
)?