Skip to content

Commit 8ab32bc

Browse files
Update en/services/ftp.md
Co-authored-by: Julian Oes <julian@oes.ch>
1 parent c380277 commit 8ab32bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

en/services/ftp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ _QGroundControl_ implementation:
543543
- [src/uas/FileManager.cc](https://github.com/mavlink/qgroundcontrol/blob/master/src/Vehicle/FTPManager.cc)
544544
- [/src/uas/FileManager.h](https://github.com/mavlink/qgroundcontrol/blob/master/src/Vehicle/FTPManager.h)
545545
546-
Everything is run by the master (QGC in this case); the slave simply responds to packets in order as they arrive.
546+
Everything is run by the client (QGC in this case); the server simply responds to packets in order as they arrive.
547547
There's buffering in the server for a little overlap (two packets in the queue at a time). This is a tradeoff between memory and link latency which may need to be reconsidered at some point.
548548
549549
The MAVLink receiver thread copies an incoming request verbatim from the MAVLink buffer into a request queue, and queues a low-priority work item to handle the packet. This avoids trying to do file I/O on the MAVLink receiver thread, as well as avoiding yet another worker thread. The worker is responsible for directly queuing replies, which are sent with the same sequence number as the request.

0 commit comments

Comments
 (0)