Commit Graph

132 Commits

Author SHA1 Message Date
fnoop cbde39c844 Copter: integrate precland logging changes 2018-08-08 10:31:19 +09:00
Peter Barker ab68e4fe8b Copter: log quiet-nan for rangefinder-desired-alt when not using it 2018-06-06 08:33:56 +09:00
Peter Barker 0dc0e54767 Copter: move Log_Write_Home_And_Origin into AP_AHRS 2018-05-17 10:13:42 +10:00
Peter Barker 23a0e10d01 Copter: add sanity check for ModeFollow requiring AC_Avoid
Copter: correct compilation when logging disabled

Copter: correct compilation when mount disabled
2018-05-10 17:55:13 +09:00
Peter Barker 80549a479e Copter: move throw logging into ModeThrow 2018-04-17 17:16:52 +09:00
Peter Barker c95ff96263 Copter: Baro does its own dataflash logging 2018-04-12 19:12:12 +01:00
Peter Barker 975ad608eb Copter: honour defines for optional feature's log messages 2018-04-05 17:37:02 +09:00
Peter Barker 893b761533 Copter: correct terrain-alt logging
Also change to using an out-of-band value upon no-terrain-alt-available
2018-04-05 12:30:05 +09:00
Michael du Breuil 291531e056 Copter: Support new battery failsafes 2018-03-27 22:12:21 +01:00
Peter Barker 45f2312bfe Copter: move home state into AP_AHRS 2018-03-19 10:32:37 +09:00
Randy Mackay 4a74b1b5e5 Copter: replace NTUN with PSC logging 2018-03-16 13:50:57 +09:00
Leonard Hall 7511781a7e Copter: add accel target to NTUN log msg
Also rename NTUN column headers from D (meaning Desired) to T (meaning Target)
2018-03-16 13:50:57 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas ed36ec3c29 Copter: add option to disable THROW mode 2018-03-15 07:38:14 +09:00
Peter Barker d88bd52a53 Copter: use baro singleton 2018-03-08 21:20:05 -08:00
Dr.-Ing. Amilcar Do Carmo Lucas bc86ca0e3c Copter: simplify Log_Write_Proximity 2018-03-03 17:13:34 +00:00
Peter Barker b8e1f03599 Copter: add define for disabling beacon 2018-02-27 07:43:13 +09:00
Peter Barker 06da2f50ce Copter: correct compilation when logging is disabled 2018-02-22 10:25:39 +10:00
Peter Barker bfc373aeff Copter: move logging of PM messages to AP_Scheduler 2018-02-13 17:15:05 +11:00
Peter Barker 80a3d63264 Copter: use AP_Scheduler's loop() function 2018-02-13 17:15:05 +11:00
Andrew Tridgell 0ed75052f8 Copter: enable parameters inside mode objects
this adds FHLD_* parameters for FlowHold mode. It is a large patch as
it needs to disentagle the mode class to enable it to be used in
Parameters.h
2018-02-08 17:36:33 +11:00
Michael du Breuil 69da4041ac Copter: Move logging battery logging code to AP_BattMonitor 2018-02-06 00:11:32 +00:00
Randy Mackay 8d6f8e4d9c Copter: move pos-control pids to pos-control library 2018-01-23 12:00:43 +09:00
Randy Mackay 06fbe8f3a7 Copter: rename FlightMode class to Mode
also remove unused print_FlightMode method
2017-12-12 10:39:26 +09:00
Randy Mackay 8870897847 Copter: FlightMode objects use lower case 2017-12-12 10:39:26 +09:00
Peter Barker 4ae2be55aa Copter: fix up autotune namespacing
This moves static variables into the autotune flightmode object.

It also adjusts namespacing on everything to take advantage of
having everything encapsulated in the AutoTune object
2017-12-07 07:35:37 +09:00
Peter Barker 67063d6b1e Copter: FlightMode - convert AUTOTUNE flight mode 2017-12-06 08:24:24 +09:00
Peter Barker dc99a29dfc ArduCopter: support for units on fields 2017-11-23 10:40:30 +11:00
Peter Barker 04c9e966e0 Copter: use AP::PerfInfo library 2017-11-16 15:31:53 +00:00
Lucas De Marchi 4ef5186733 ArduCopter: do not include version.h/ap_version.h
The interface provided by each vehicle should be used to get the
version.
2017-09-23 21:37:45 -07:00
Randy Mackay def17582c6 Copter: integrate simpler Log_Write_EKF 2017-08-23 11:19:14 +09:00
Peter Barker c6b9c84d1f Copter: remove CLI 2017-08-14 10:23:50 +09:00
khancyr 0710018a42 Copter: move proximity log to DataFlash (NFC) 2017-07-24 13:44:43 +01:00
Peter Barker e45efeb829 Copter: move starting of new logs into DataFlash 2017-07-19 16:37:28 +01:00
Peter Barker f60389d4aa Copter: use send_text method on the GCS singleton 2017-07-09 17:17:29 -04:00
Peter Barker d9b45cc202 Copter: create GCS subclass, use inheritted methods 2017-07-07 16:18:37 +01:00
Peter Barker 8b57405143 Copter: handle knowledge of in_log_download in DataFlash 2017-06-27 03:10:43 +01:00
Randy Mackay 51c20637e5 Copter: fix compile error when logging disabled
Also slightly re-order placement of functions
2017-06-22 15:18:04 +09:00
Leonard Hall 7eab1239c7 Copter: attitude logging at 400hz 2017-06-22 15:18:04 +09:00
Peter Barker 4163455d97 Copter: stop using in_mavlink_delay as a proxy for disabling logging 2017-06-16 17:07:48 +01:00
Peter Barker 019dd02569 Copter: simplify dataflash initialisation 2017-06-14 12:20:29 +01:00
Peter Barker 3ee56f5475 Copter: StartUnstartedLogging replaces logging_started/start_logging 2017-06-11 20:34:12 +01:00
Peter Barker d36e8fa51e Copter: eliminate calls to manipulate _writes_enabled 2017-06-11 20:34:12 +01:00
Peter Barker 2bb22da599 Copter: simplify start_logging 2017-06-11 20:34:12 +01:00
Peter Barker 069e0d1973 Copter: move init of DataFlash references into vehicle init
It is possible to start a log before the existing codepath is crossed.
2017-05-01 15:04:34 +01:00
Peter Barker 6ccb7cf3f4 Copter: tidy dataflash Frame reporting 2017-05-01 19:16:47 +10:00
Peter Barker afbdbcce26 Copter: log GPS detection state to DF on log startup 2017-04-23 21:04:17 +01:00
karthik.desai afc382c342 Copter: moved beacon logging to dataflash 2017-04-22 10:55:08 +09:00
Jacob Walser 587c50c1a1 Copter: Remove redundant nested #if CLI_ENABLED 2017-03-29 19:20:51 +01:00
Andrew Tridgell 01206f9e59 Copter: add available memory to PM message 2017-03-27 14:35:21 +09:00
Andrew Tridgell dae1567d6c Copter: log home and origin on logging start 2017-03-14 10:51:15 +11:00