Does Mavlink support retransmission ?

133 views
Skip to first unread message

Bryan

unread,
Jan 27, 2015, 1:08:54 AM1/27/15
to mav...@googlegroups.com
Hi all,
    I use the MAVProxy and Mission Planner software. I want to know how they handle the mavlink packets if the packets are lost.
    But I trace the code. I found there are no function directly handle the problem of packets lost...
    Does anyone know why ?
    
Best,
Bryan.

Vladimir Ermakov

unread,
Jan 27, 2015, 12:32:23 PM1/27/15
to mav...@googlegroups.com
Hi,

Mavlink doesn't have retransmissions. For most telemetry data it is not needed (e.g. for what purpose you need past attitude?).
Where retry is needed it handled in higher protocol (e.g. waypoint or parameter protocols).

вторник, 27 января 2015 г., 9:08:54 UTC+3 пользователь Bryan написал:

Bill Bonney

unread,
Jan 27, 2015, 12:37:36 PM1/27/15
to mav...@googlegroups.com
Just to add, commands that need a confirmation have an associated ACK message. Retries are then added to the upper layer.

This keeps the protocol lightweight and easy to implement different strategies depending on link bandwidth and quality

Bill

--
Sie erhalten diese Nachricht, weil Sie in Google Groups E-Mails von der Gruppe "MAVLink" abonniert haben.
Wenn Sie sich von dieser Gruppe abmelden und keine E-Mails mehr von dieser Gruppe erhalten möchten, senden Sie eine E-Mail an mavlink+u...@googlegroups.com.
Weitere Optionen finden Sie unter https://groups.google.com/d/optout.

murtaza bagwala

unread,
Jan 28, 2015, 12:09:21 AM1/28/15
to mav...@googlegroups.com
Right, we only need retries for the crucial messages like (waypoint or parameter messages) because losing of those messages results in the incorrect flight plan.
Reply all
Reply to author
Forward
0 new messages