Commit Graph

678 Commits

Author SHA1 Message Date
Dr.-Ing. Amilcar do Carmo Lucas 594911f0b4 DataFlash: replace /* fall through */ with FALLTHROUGH; 2018-05-25 08:41:07 +09:00
Peter Barker 63b0883b38 DataFlash: correct structures debug method 2018-05-23 19:12:15 +09:00
Peter Barker 1844ccdab8 DataFlash: correct labels for NKT1 and NKT2 messages 2018-05-23 19:12:15 +09:00
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.
2018-05-23 17:35:17 +10:00
Francisco Ferreira 221ba177c5 DataFlash: remove Qualcomm board support 2018-05-17 09:57:20 +10:00
night-ghost ecafe263a6 HAL_F4Light: abort logging in case of filesystem errors 2018-05-16 18:55:29 +10:00
Michael du Breuil 7e4972a061 DataFlash: Fix a false reporting of dead IO thread when millis() wraps 2018-05-14 10:11:32 +09:00
Michael du Breuil 703c7fb4b7 DataFlash: Remove unneeded inits and newlines 2018-05-14 10:10:38 +09:00
Patrick José Pereira 04a4001e02 DataFlash: Remove unused variable
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-11 10:47:11 +10:00
Michael du Breuil d819690426 DataFlash: Remove redundant state from MAVLink backend 2018-05-08 11:48:09 +10:00
Dr.-Ing. Amilcar do Carmo Lucas bce10f48af Dataflash: Correct the DF_MAV_STATS time units 2018-05-08 10:38:40 +09:00
Dr.-Ing. Amilcar do Carmo Lucas 5de3382ab4 Dataflash: Replace ppm (pulses per minute) with PWM in the RC channels 2018-05-08 10:38:40 +09:00
Dr.-Ing. Amilcar do Carmo Lucas 4fd37d17f0 Dataflash: Fix AHR2.Alt multiplier 2018-05-08 10:38:40 +09:00
Dr.-Ing. Amilcar do Carmo Lucas babef0def1 Dataflash: Fix some battery units and multipliers 2018-05-08 10:38:40 +09:00
Dr.-Ing. Amilcar do Carmo Lucas a9ca471907 Dataflash: correct the multiplier factor of POS *Alt data 2018-05-08 10:38:40 +09:00
Peter Barker 5bf2fb186c DataFlash: parameterise dataflash-over-mavlink cachesize 2018-05-08 09:36:01 +10:00
Lucas De Marchi 904888fba7 DataFlash: Linux boards never use /fs 2018-05-04 11:42:55 -07:00
night-ghost 1cfdfe55a1 DataFlash: fix HAL_F4light compilation errors 2018-04-30 08:32:58 +10:00
night-ghost ccd90e19a1 fixed DataFlash_File_sd.cpp in case of SD error 2018-04-27 22:14:59 +10:00
Peter Barker 64a8de42da DataFlash: use singleton for getting hold of gps object 2018-04-18 13:50:55 +09:00
Peter Barker 63792edc5f DataFlash: increase debug in SITL 2018-04-17 17:16:52 +09:00
Andrew Tridgell cf4ca29dbb DataFlash: added logging of safety state in POWR message 2018-04-14 06:22:07 +10:00
Michael du Breuil ae193f28ae DataFlash: Use RC_Channels instead of hal.rcin 2018-04-11 21:47:07 +01:00
Andrew Tridgell 2b49a3ab7b DataFlash: fix up logging on ChibiOS after change for F4Light 2018-04-11 10:13:08 +10:00
night-ghost 2a0f624d5a DataFlash: fixed F4Light DataFlash logging 2018-04-11 10:13:08 +10:00
Peter Barker 8027883734 DataFlash: remove vestiges of CLI functions 2018-04-10 10:27:08 +09:00
Andrew Tridgell d777da970b AP_Baro: fixed multi-baro logging 2018-04-09 11:39:20 -07:00
Andrew Tridgell 3b4d1d5d46 DataFlash: enabled POWR log msg on ChibiOS 2018-04-09 15:32:04 +10:00
Andrew Tridgell 061277040b DataFlash: updated ESC logging format
support higher voltages and higher RPMs
added total current logging
2018-04-07 09:10:29 +10:00
Peter Barker 3d84dfcc2e DataFlash: remove unused ins error count logging 2018-04-04 14:21:20 +01:00
Peter Barker b7f1040dca DataFlash: do not log beacon if it is disabled 2018-04-04 16:20:33 +09:00
Peter Barker ac99d37bc1 DataFlash: correct logging interval of XKFD message 2018-04-02 14:12:09 +09:00
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),
2018-04-02 14:12:09 +09:00
Peter Barker 96d7eb6bed DataFlash: handle log sending as part of periodic function 2018-03-26 09:22:47 +09:00
Peter Barker 3190974e4f DataFlash: use ins singleton 2018-03-16 00:37:35 -07:00
Randy Mackay 9e0a57eec7 DataFlash: minor formatting fixes
non-functional change
2018-03-16 13:50:57 +09:00
Michael du Breuil 45410759dc DataFlash: Log the frame a mission command is planned in 2018-03-16 09:28:20 +09:00
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.
2018-03-12 19:14:09 +09:00
Peter Barker 735f671726 DataFlash: use baro singleton 2018-03-08 21:20:05 -08:00
Dr.-Ing. Amilcar Do Carmo Lucas 3632cd7588 DataFlash: NFC adapt to new AP_Battery method name 2018-03-03 17:19:01 +00:00
Peter Barker 7308c9aa7b DataFlash: tighten types up to save flash space
Saves about 1,500 bytes!
2018-03-03 08:20:38 +11:00
Peter Barker e05cba5d2c DataFlash: remove default reason of zero from Log_Write_Mode
All vehicles now supply this reason all the time
2018-02-22 10:30:10 +10:00
Mark Whitehorn 83f4bf3390 DataFlash: add load_average() to PM log message 2018-02-21 23:53:08 +10:00
Mark Whitehorn 90d32abd47 DataFlash: add percent to UnitStructure 2018-02-21 23:53:08 +10:00
Peter Barker 30d813a83e DataFlash: move logging of PM messages to AP_Scheduler 2018-02-13 17:15:05 +11:00
night-ghost 0d8c71de71 DataFlash: added F4Light HAL support 2018-02-10 09:14:41 +11:00
Holger Steinhaus d1a37a60b7 DataFlash: log consumed energy (Wh) 2018-02-06 20:00:16 -07:00
Michael du Breuil 725f1a2f2b DataFlash: Use battery singleton 2018-02-06 00:11:32 +00:00
LukeMike 3dcaf83eaa VRBRAIN / DataFlash: some update for new VR Brain 5.2E (EEPROM version) 2018-02-05 08:26:49 +11:00
LukeMike bf6e57e7a4 VRBRAIN / DataFlash: added writebuf_chunk for VR Brain 5.4 2018-02-05 08:26:49 +11:00