Pierre Kancir
781e9ae9c1
AP_Logger: pass mavlink_message_t by const reference
6 years ago
Andrew Tridgell
202e6d38c4
AP_Logger: fixed race condition with multi-thread AP_Logger
6 years ago
Andrew Tridgell
e3c9f10e91
AP_Logger: revived block based logging
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
6a59dd04a7
DataFlash: rename to AP_Logger
6 years ago
Peter Barker
fc378eeae1
DataFlash: move log-transfer state variables into enumerated variable
7 years ago
Alexander Malishev
eb1ae22bb1
DataFlash: fixed inconsistent state after interrupted log download
7 years ago
Peter Barker
beb2147191
DataFlash: use #define instead of constant 90 for data length
7 years ago
Peter Barker
96d7eb6bed
DataFlash: handle log sending as part of periodic function
7 years ago
Peter Barker
1fd4eb4bfb
DataFlash: do not send in-progress messages back to streaming GCSs
8 years ago
Peter Barker
90c2db119e
DataFlash: send log data on requesting channel only
8 years ago
Peter Barker
ad17709390
DataFlash: handle knowledge of in_log_download in DataFlash
8 years ago
Peter Barker
305531952f
DataFlash: move send-logs-via-mavlink code into DataFlash
8 years ago
Peter Barker
cbbee995b6
GCS_MAVLink: move GCS_Logs into DataFlash directory
8 years ago
Andrew Tridgell
b3ac4fcb72
GCS_MAVLINK: speed up USB log download
...
makes it about 2x as fast on Pixhawk
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Tom Pittenger
a74e86c234
GCS_MAVLink: coverity scan - computed value overwritten without use for SITL
...
- when building for SITL we should just skip the num_sends work instead of overwriting the value
9 years ago
Andrew Tridgell
048fc8d39e
GCS_MAVLink: adjust for min_length mavlink2 API change
9 years ago
Andrew Tridgell
12c1d58511
GCS_MAVLink: cope with different packet overheads with signing
...
use common macros for determining if there is sufficient space to send
a packet
9 years ago
Andrew Tridgell
006b9728d0
GCS_MAVLink: updates for 24 bit msgid
9 years ago
Andrew Tridgell
0ead0ab978
GCS_MAVLink: support mavlink2 build
9 years ago
Caio Marcelo de Oliveira Filho
a096c2b72c
GCS_MAVLink: use millis/micros/panic functions
9 years ago
Peter Barker
38ca9dee03
GCS_MAVLink: use simple log entry number to reference df logs
9 years ago
Gustavo Jose de Sousa
d7a2ef3e35
GCS_MAVLink: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Andrew Tridgell
17b5d54f6b
GCS_MAVLink: use a larger log send queue for Linux
...
often on UDP or TCP with more bandwidth
10 years ago
Andrew Tridgell
2d89b8b53d
GCS_MAVLink: fix for HAL_SITL rename
10 years ago
Andrew Tridgell
f1edd1bafb
GCS_MAVLink: removed use of mavlink_check_target()
...
not needed now we do routing properly, as messages will only be
processed if they are for us
10 years ago
Andrew Tridgell
f6cc8ce5bc
GCS_MAVLink: fixed log erase and log request end
11 years ago
Randy Mackay
0322a876eb
GCS_MAVLink: check target before erasing log
11 years ago
Andrew Tridgell
2ebdfce4ea
GCS_MAVLink: avoid integer underflow in mavlink txspace check
11 years ago
Andrew Tridgell
f05b90bfd2
GCS_MAVLink: fixed some compiler warnings
11 years ago
Andrew Tridgell
0b811ba6a9
GCS_MAVLink: added have_flow_control() method
...
can be used to change speed of handling some protocol methods, as we
know communication will be reliable
11 years ago
Andrew Tridgell
ce29bbe394
GCS_MAVLink: save some memory in log download
...
use an existing buffer instead of using the mavlink _send()
function. This saves some stack space in log download
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
11 years ago
Andrew Tridgell
beb6123576
GCS_MAVLink: send a "zero logs" message when no logs available
11 years ago
Andrew Tridgell
0aebc18b3f
GCS_MAVLink: return early from log send if no log data to send
11 years ago
Andrew Tridgell
1497c33178
GCS_MAVLink: run a bit faster on serial ports with flow control
...
with flow control we can afford to push the radio a bit harder
11 years ago
Andrew Tridgell
81c5edbdb5
GCS_MAVLink: fixed a log download bug for repeated downloads
...
we were not resetting the offset to 0 correctly
11 years ago
Andrew Tridgell
b5a16a07d3
GCS_MAVLink: support LOG_REQUEST_END
11 years ago
Andrew Tridgell
2ce1b14cbb
GCS_MAVLink: removed unused variable
11 years ago
Andrew Tridgell
87226fed97
GCS_MAVLink: avoid log scans when possible
...
don't scan logs when the GCS sends a new data request
11 years ago
Andrew Tridgell
c1115bd440
GCS_MAVLink: pushed num_sends higher for faster USB log transfer
...
up to 169 kbyte/sec on pixhawk
11 years ago
Andrew Tridgell
efc7f88e4b
GCS_MAVLink: sped up downloading DF logs over MAVLink
11 years ago
Andrew Tridgell
ec584de0c2
GCS_MAVLink: prevent valgrind warnings on unfilled data
11 years ago
Andrew Tridgell
0a9e2d332a
GCS_MAVLink: support erase and faster downloads
11 years ago
Andrew Tridgell
d034a4108b
GCS_MAVLink: started adding MAVLink log download
11 years ago