- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Support Team,
I am using pymavlink on the Aero platform to pull telemetry data. Currently, my main interest are the GPS_RAW_INT and ATTITUDE messages. So I am trying to use the MAV_CMD_SET_MESSAGE_INTERVAL to customize the rate to be 100ms. Here's a sample of how I use it:
# set the gps rate
mav_socket.mav.command_long_send(mav_socket.target_system, # target_system
mav_socket.target_component, # target_component
mavutil.mavlink.MAV_CMD_SET_MESSAGE_INTERVAL, # command
0, # confirmation
24, 10000, 0, 0, 0, 0, 0) # param 1-7
# get the gps data
mav_socket.recv_match(type='GPS_RAW_INT', blocking=True)
I've timed the ATTITUDE message and I've noticed that it has a very high rate. It is generally under 1ms to fetch a reading for this! But when I try to set the GPS_RAW_INT to 100ms, the best I can get is about 200ms. I did experiment with other values like 900ms, 500ms, etc. and I was able to see that I could indeed configure the message interval. So now I am wondering if you guys know of a different way to configure this. Would this require a modification within the mavlink-router or FW on the flight controller? Or is the GPS_RAW_INT only able to to go as fast as 200ms?
Thanks,
Adrian C.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Yoshiioko,
Thank you for your interest in the Intel Aero Ready to Fly Drone.
We have received your query. Let me investigate and get back to you as soon as possible.
Best regards,
Casandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Yoshiioko,
Thank you very much for your patience.
After investigating we noticed that the rate you are getting is most likely due to the frequency that the GPS module outputs data which is usually around 5 Hz (200 ms).
We don't believe this can be improved by firmware or the flight controller stack.
Let me know if I can assist with any other queries.
Best regards,
Casandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi yoshiioko,
Was the answer provided helpful?
Do you have further questions?
Regards,
Alexandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page