Commit Graph

276 Commits

Author SHA1 Message Date
Peter Barker 64a8de42da DataFlash: use singleton for getting hold of gps object 2018-04-18 13:50:55 +09:00
Peter Barker 8027883734 DataFlash: remove vestiges of CLI functions 2018-04-10 10:27:08 +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
Peter Barker 735f671726 DataFlash: use baro singleton 2018-03-08 21:20:05 -08: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
Michael du Breuil 725f1a2f2b DataFlash: Use battery singleton 2018-02-06 00:11:32 +00:00
Peter Barker 404e395880 DataFlash: avoid declarations of SITL-only functions 2018-01-09 23:21:58 +00:00
Peter Barker fd0aa3c659 DataFlash: add validation for Log_Write parameters 2018-01-09 23:21:58 +00:00
Peter Barker 5070628230 DataFlash: factor out validate_structure 2018-01-09 23:21:58 +00:00
Andrew Tridgell fd14dedcff DataFlash: removed create() method for objects
See discussion here:

  https://github.com/ArduPilot/ardupilot/issues/7331

we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach

Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Peter Barker b19f981c07 DataFlash: validate units and multipliers 2017-11-23 10:40:30 +11:00
Peter Barker 9896e23c36 DataFlash: Log_Write() fills unknown units with '?' 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 b97ee33438 DataFlash: AP_Camera functions use GPS singleton 2017-11-16 15:28:37 +00: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 466d6e619e DataFlash: correct nanf log output 2017-10-10 16:51:19 +11:00
Peter Barker fa95edc260 DataFlash: factor out a Log_Write_IMUDT_instance 2017-10-06 01:42:01 +01:00
Peter Barker 06a2e05be5 DataFlash: log cell voltages with correct packet type 2017-10-06 01:42:01 +01:00
Peter Barker 79ba2b357f DataFlash: factor out a Log_Write_Current_instance 2017-10-06 01:42:01 +01:00
Peter Barker 8d3267a731 DataFlash: factor out a Log_Write_Compass_instance 2017-10-06 01:42:01 +01:00
Peter Barker a7063393b4 DataFlash: factor out a Log_Write_IMU_instance 2017-10-06 01:42:01 +01:00
Peter Barker d7638389ce DataFlash: factor out a Log_Write_Baro_instance 2017-09-29 11:16:44 +01:00
Lucas De Marchi a25320d522 DataFlash: add static create method 2017-09-26 03:01:21 +01:00
squilter f37d742160 DataFlash: support SafeRTL log messages 2017-09-09 14:05:41 +09:00
Peter Barker 6ad3541a24 DataFlash: clean up public interface 2017-09-01 10:58:07 +01:00
Randy Mackay e13f4d0d56 DataFlash: removed unused optFlowEnabled from Log_Write_EKF 2017-08-23 11:19:14 +09:00
khancyr 603621f2c4 DataFlash: move proximity log from Copter (NFC) 2017-07-24 13:44:43 +01:00
Peter Barker 90c2db119e DataFlash: send log data on requesting channel only 2017-07-20 14:57:54 +01:00
Peter Barker 1f0a14ab33 DataFlash: add PrepForArming method 2017-07-19 16:37:28 +01:00
Peter Barker b572c13ca9 DataFlash: move starting of new logs into DataFlash 2017-07-19 16:37:16 +01:00
Peter Barker 4dfdffde43 DataFlash: move should_log check of log bitmask into DataFlash 2017-06-29 15:26:27 +01:00
Peter Barker ad17709390 DataFlash: handle knowledge of in_log_download in DataFlash 2017-06-27 03:10:43 +01:00
Peter Barker 305531952f DataFlash: move send-logs-via-mavlink code into DataFlash 2017-06-27 03:10:43 +01:00
Peter Barker 5c19f09cd7 DataFlash: handle mavlink messages, not just remote-log-block-statuses 2017-06-17 15:07:48 +01:00
Peter Barker 6a03af8f3e DataFlash: make EnableWrites a frontend thing 2017-06-16 17:07:48 +01:00
Peter Barker 07e37281ef DataFlash: add a should_log method 2017-06-16 17:07:48 +01:00
Pierre Kancir 914bc53100 Dataflash: fix shadowing of logstructure in SITL 2017-06-14 12:40:47 +01:00
Peter Barker af6eb4e41d DataFlash: remove unused NeedPrep function 2017-06-14 12:20:29 +01:00
Peter Barker 91b62abfe5 DataFlash: simplify dataflash initialisation 2017-06-14 12:20:29 +01:00
Peter Barker 7221b0def2 DataFlash: StartUnstartedLogging replaces logging_started/start_logging 2017-06-11 20:34:12 +01:00
Peter Barker bd747006aa DataFlash: eliminate calls to manipulate _writes_enabled 2017-06-11 20:34:12 +01:00
Peter Barker ac1484f60e DataFlash: clear format sent mask when backend starts new log 2017-05-01 19:16:47 +10:00
Andrew Tridgell 0ccb3a7688 DataFlash: added logging of timing statistics 2017-04-28 17:19:39 +10:00
Peter Barker 608d6d0a5f DataFlash: implement a printf-like Log_Write_MessageF method 2017-04-23 09:08:30 +10:00
karthik.desai 28a6ca7d75 Dataflash: add AP_Beacon logging 2017-04-22 10:54:59 +09:00
Eugene Shamaev a144e79a50 DataFlash: logging of AOA and SSA 2017-04-19 20:48:42 +10:00
Randy Mackay 0644314499 DataFlash: add visual odometry sensor logging 2017-04-19 11:04:40 +09:00