Commit Graph

99 Commits

Author SHA1 Message Date
Michael du Breuil 3ee675ad42 DataFlash: Log integer version of mission
This is higher precision the casting to float, and better matches the
internal format we actually use. Removed the indicection as it gained us
nothing. Closes #8875
2018-11-24 20:11:46 -08:00
Randy Mackay 3cc84173e3 DataFlash: log rangefinder status in RFND msg 2018-11-15 09:18:45 +09:00
Peter Barker 3eee4e917a DataFlash: OpticalFlow takes care of its own logging 2018-11-13 10:40:23 +11:00
Peter Barker c0e03522c6 DataFlash: change unit ID of PWM to Y to remove conflict with deglongitude
Closes #9554 (thanks @wbrueg)
2018-10-16 10:02:19 +11:00
Michael du Breuil 9b82bcc901 DataFlash: Spin up more battery messages
This is crazy, because it just burned 5.5% of all possible message ID's
2018-10-09 00:44:46 +01:00
Randy Mackay 397e035cf7 DataFlash: replace unused AFF with actual in PID_Info 2018-08-27 16:44:33 +09:00
Michael du Breuil fba185cefb DataFlash: Fix GPS units 2018-06-18 13:34:16 +01:00
Michael du Breuil 676f60333a DataFlash: Fix power units 2018-06-14 17:50:27 +10: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
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
Andrew Tridgell cf4ca29dbb DataFlash: added logging of safety state in POWR message 2018-04-14 06:22:07 +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 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
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 7308c9aa7b DataFlash: tighten types up to save flash space
Saves about 1,500 bytes!
2018-03-03 08:20:38 +11: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
Holger Steinhaus d1a37a60b7 DataFlash: log consumed energy (Wh) 2018-02-06 20:00:16 -07:00
Peter Barker 8e8b0dcc06 DataFlash: add ? and - to multiplier table
This allows a consumer to expect referential integrity for the
multipliers
2018-02-02 09:15:59 +09:00
Andrew Tridgell b6f3db44d8 DataFlash: log health and primary for airspeed 2018-01-16 07:14:20 +11:00
Andrew Tridgell bbcda11afe DataFlash: log both airspeed sensors 2018-01-16 07:14:20 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas 2e94673e4f DataFlash: keep the unit names consistent with Tools/autotest/param_metadata/param.py:33 2017-11-23 10:40:30 +11:00
Peter Barker a5442fb293 DataFlash: support for units on fields 2017-11-23 10:40:30 +11:00
Peter Barker 191e457230 DataFlash: include sample count in ISBH 2017-10-27 16:33:45 +11:00
Peter Barker d950e78079 DataFlash: Log_ISBH and Log_ISBD, to log batches of IMU data 2017-10-27 16:33:45 +11:00
Peter Barker 2f9a8ded55 DataFlash: add new int16_t[32] type, designator 'a' 2017-10-27 16:33:45 +11:00
Michael du Breuil 2909f77235 DataFlash: Remove PIDL and a DSTL for a deepstall specific message 2017-10-17 14:37:11 -07:00
Michael du Breuil 8719c2903a DataFlash: Log U-Blox config progress 2017-10-06 12:53:32 +01:00
Michael du Breuil cf02204e6c Dataflash: Log GPS delta times
This is particularly useful for assessing if a GPS actually is dropping out in a users log, or if the log is just dropping messages
2017-09-13 13:36:40 +01:00
squilter f37d742160 DataFlash: support SafeRTL log messages 2017-09-09 14:05:41 +09:00
Peter Barker 9783c0c3ba DataFlash: log dataflash-file statistics periodically 2017-08-28 22:05:44 +01:00
khancyr 603621f2c4 DataFlash: move proximity log from Copter (NFC) 2017-07-24 13:44:43 +01:00
ebethon 526d5a4c44 DataFlash: Add SBP EXT_EVENT Message 2017-06-29 15:18:05 +01:00
ebethon 0b5dad33f2 DataFlash: Rename SBR1/SBR2 to SBRH/SBRM and change format
Add (sender_id, msg_len) in SBRM message
Add index/pages in SBRH/SBRM messages
Change format to integers to avoid GCS string parsing
Decrease data size in SBRH
2017-06-29 15:14:54 +01:00
priseborough 798d5f85a2 DataFlash: Log EKF origin height 2017-06-14 12:44:41 +01:00
priseborough 4c08622a7c DataFlash: Add logging for EKF3 state variances 2017-06-14 12:44:41 +01:00
Randy Mackay 1409f0ca7e DataFlash: rename CURR/CUR2 to BAT/BAT2 2017-06-06 14:57:04 +09:00
Randy Mackay 26845cc66a DataFlash: add resting voltage and resistance to current logging
also log cell voltages in separate message
2017-06-06 14:57:04 +09:00
Andrew Tridgell 0a83281a29 DataFlash: added logging of actual sensor rates 2017-05-01 15:06:46 +10:00
karthik.desai 28a6ca7d75 Dataflash: add AP_Beacon logging 2017-04-22 10:54:59 +09:00
Michael du Breuil 3b6d348241 DataFlash: Log battery temperature and cell voltages 2017-04-19 14:17:24 +01:00
Eugene Shamaev a144e79a50 DataFlash: logging of AOA and SSA 2017-04-19 20:48:42 +10:00