Quantcast
Viewing all articles
Browse latest Browse all 45762

Example to use SET_MESSAGE_INTERVAL and read from Ardupilot

@MarcGonzalez wrote:

Hi ardupilot.org,

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 on my companion computer with PyMAVLink api for speed purposes. 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!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 45762

Trending Articles