MAV_CMD_SET_MESSAGE_INTERVAL example and usage

Hi DIYDrones,

Would anyone be so kind as to give me a Python example for how one would use MAV_CMD_SET_MESSAGE_INTERVAL to establish an attribute listener and how one would read data from the listener? (e.g., battery, mission plan, airspeed, etc.)

I am replacing the Dronekit API code that my companion computer uses with PyMAVLink API. However, I am unsure how to set up incoming data streams. Does anyone have a plain vanilla example of how to do this in Python?

Thanks in advance!

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…