Peter Barker
4e0c6b873f
DataFlash: use compass singleton for logging
7 years ago
Peter Barker
fc378eeae1
DataFlash: move log-transfer state variables into enumerated variable
7 years ago
Peter Barker
493f958eb2
DataFlash: remove unused ReadBlock method
7 years ago
Alexander Malishev
932cc4bb69
DataFlash: allow HAL to specify dataflash buffer sizes
7 years ago
Alexander Malishev
eb1ae22bb1
DataFlash: fixed inconsistent state after interrupted log download
7 years ago
Peter Barker
611dcb694b
DataFlash: write CHIBIOS_GIT_VERSION to opened log file
...
DataFlash: use AP_FWVersion singleton
7 years ago
Peter Barker
beb2147191
DataFlash: use #define instead of constant 90 for data length
7 years ago
Michael du Breuil
fba185cefb
DataFlash: Fix GPS units
7 years ago
Andrew Tridgell
1283b92cb7
DataFlash: fix for new AP_RTC API
7 years ago
Michael du Breuil
676f60333a
DataFlash: Fix power units
7 years ago
Andrew Tridgell
777b4c8cfe
DataFlash: avoid stat of current log file
...
this avoids getting invalid data base for stat() for the current log
file.
It also only gives up writing to a log file if writes fail for 2
seconds. This avoids a temporary write failure causing the log to be
closed (that can happen on ChibiOS with directory listing while writing)
7 years ago
Michael du Breuil
c4a66349ef
DataFlash: Remove suspend timer calls, restirct flush() to replay
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
594911f0b4
DataFlash: replace /* fall through */ with FALLTHROUGH;
7 years ago
Peter Barker
63b0883b38
DataFlash: correct structures debug method
7 years ago
Peter Barker
1844ccdab8
DataFlash: correct labels for NKT1 and NKT2 messages
7 years ago
Peter Barker
b36f1c558d
DataFlash: use const char * rather than fixed array lengths in LogStructure
...
Previously tridge found that using const char * here meant that the
data segment (and thus RAM usage) would increase.
This doesn't seem to be a problem now.
7 years ago
Francisco Ferreira
221ba177c5
DataFlash: remove Qualcomm board support
7 years ago
night-ghost
ecafe263a6
HAL_F4Light: abort logging in case of filesystem errors
7 years ago
Michael du Breuil
7e4972a061
DataFlash: Fix a false reporting of dead IO thread when millis() wraps
7 years ago
Michael du Breuil
703c7fb4b7
DataFlash: Remove unneeded inits and newlines
7 years ago
Patrick José Pereira
04a4001e02
DataFlash: Remove unused variable
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Michael du Breuil
d819690426
DataFlash: Remove redundant state from MAVLink backend
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
bce10f48af
Dataflash: Correct the DF_MAV_STATS time units
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
5de3382ab4
Dataflash: Replace ppm (pulses per minute) with PWM in the RC channels
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
4fd37d17f0
Dataflash: Fix AHR2.Alt multiplier
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
babef0def1
Dataflash: Fix some battery units and multipliers
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
a9ca471907
Dataflash: correct the multiplier factor of POS *Alt data
7 years ago
Peter Barker
5bf2fb186c
DataFlash: parameterise dataflash-over-mavlink cachesize
7 years ago
Lucas De Marchi
904888fba7
DataFlash: Linux boards never use /fs
7 years ago
night-ghost
1cfdfe55a1
DataFlash: fix HAL_F4light compilation errors
7 years ago
night-ghost
ccd90e19a1
fixed DataFlash_File_sd.cpp in case of SD error
7 years ago
Peter Barker
64a8de42da
DataFlash: use singleton for getting hold of gps object
7 years ago
Peter Barker
63792edc5f
DataFlash: increase debug in SITL
7 years ago
Andrew Tridgell
cf4ca29dbb
DataFlash: added logging of safety state in POWR message
7 years ago
Michael du Breuil
ae193f28ae
DataFlash: Use RC_Channels instead of hal.rcin
7 years ago
Andrew Tridgell
2b49a3ab7b
DataFlash: fix up logging on ChibiOS after change for F4Light
7 years ago
night-ghost
2a0f624d5a
DataFlash: fixed F4Light DataFlash logging
7 years ago
Peter Barker
8027883734
DataFlash: remove vestiges of CLI functions
7 years ago
Andrew Tridgell
d777da970b
AP_Baro: fixed multi-baro logging
7 years ago
Andrew Tridgell
3b4d1d5d46
DataFlash: enabled POWR log msg on ChibiOS
7 years ago
Andrew Tridgell
061277040b
DataFlash: updated ESC logging format
...
support higher voltages and higher RPMs
added total current logging
7 years ago
Peter Barker
3d84dfcc2e
DataFlash: remove unused ins error count logging
7 years ago
Peter Barker
b7f1040dca
DataFlash: do not log beacon if it is disabled
7 years ago
Peter Barker
ac99d37bc1
DataFlash: correct logging interval of XKFD message
7 years ago
Peter Barker
ac283fb032
DataFlash: narrow enumeration to uint8_t to avoid narrowing-warnings
...
/home/pbarker/rc/ardupilot/libraries/DataFlash/LogFile.cpp:1571:32:
error: non-constant-expression cannot be narrowed from type 'enum
LogMessages' to 'uint8_t' (aka 'unsigned char') in initializer list
[-Wc++11-narrowing]
LOG_PACKET_HEADER_INIT(type),
7 years ago
Peter Barker
96d7eb6bed
DataFlash: handle log sending as part of periodic function
7 years ago
Peter Barker
3190974e4f
DataFlash: use ins singleton
7 years ago
Randy Mackay
9e0a57eec7
DataFlash: minor formatting fixes
...
non-functional change
7 years ago
Michael du Breuil
45410759dc
DataFlash: Log the frame a mission command is planned in
7 years ago
Peter Barker
1ef3e4ca97
DataFlash: make more dataflash message IDs available
...
No vehicle uses anything like 64 messages.
Moved all of the EKF messages up as a logical group.
7 years ago