timings when reading mavlink messages

63 views
Skip to first unread message

Αλέξανδρος Τασίκας

unread,
May 2, 2019, 7:43:39 PM5/2/19
to MAVLink
Hi everyone
I am using pymavlink (running on GCS) to read mavlink messages from ardusub via mavproxy (running on companion). So my script reads from mavproxy.
I can see that mavlink messages comes really really fast, but I would like to ask what is the time interval between two messages in sequence.
Also I have read in the documentation that HEARTBEAT comes with a frequency of 1Hz on RF telemetry links.

In my case I am interested in SYSTEM_TIME message and the timings between the arrival of two of them (in sequence).
- do all messages arrive with a frequency as HEARTBEAT does (1Hz) ?
- does this apply only to RF links ? Should I assume the same in my case ?? (ardusub connected via USB to companion computer and then a udp link brinks messages to GCS)

thanks in advance

Hamish Willee

unread,
May 5, 2019, 10:21:02 PM5/5/19
to MAVLink
Hi 

So the message send rate is completely up to the systems communicating, and will be tuned based on the channel bandwidth and what other messages need to be sent. On some systems you can request a particular rate other than the default for a message, and the system will try grant you that.

I suggest you dig into the ardusub code. If you need more help,  then the best place to ask this question is here: https://discuss.bluerobotics.com/

Regards
Hamish
Reply all
Reply to author
Forward
0 new messages