Commit Graph

197 Commits

Author SHA1 Message Date
Randy Mackay f45c69e7ad Copter: log terrain altitude in CTUN message 2016-04-30 10:33:01 +09:00
Andrew Tridgell a39a4a6243 Copter: mark a few more log messages as critical 2016-04-21 17:05:17 +10:00
Andrew Tridgell f32b7684a0 Copter: removed unused startup log message 2016-04-21 17:05:17 +10:00
Andrew Tridgell 5149a49daa Copter: added logging of dropped log messages in PM message 2016-04-21 17:05:17 +10:00
Jonathan Challinger 8ded496f8b Copter: log mode change reason 2016-04-14 12:24:04 +09:00
Randy Mackay f0575de776 Copter: tradheli logs rotors speed in 0 to 1 range 2016-04-01 11:59:30 +09:00
Leonard Hall 76a8de8a53 Copter: CTUN logs throttle_in, angle boost in 0 to 1 range 2016-04-01 11:59:30 +09:00
Andrew Tridgell 31000ac756 Copter: moved Log_Write_Rate() to common code 2016-03-25 12:13:59 +11:00
Randy Mackay 0dffeec07f Copter: use ahrs.get_origin instead of ekf.getOriginLLH
This ensures we get the origin from the active EKF
2016-03-03 16:20:54 +09:00
Andrew Tridgell 4efb9bd785 ArduCopter: update for changed AP_Camera API 2016-01-29 09:19:43 +11:00
Dario Lindo Andres 90bf13279b ArduCopter: Added precise camera trigger logging
Added update_trigger and check_digital_pin functions
added camera trigger precise time mark
detect camera feedback pin status
added support for simple digital pin
included support for digital pin. Already included in
APMrover2.
added support for TRIGGER MSG
corrected according to defines.h
2016-01-29 09:19:43 +11:00
Randy Mackay 89c147184f Copter: log guided mode targets 2016-01-12 18:04:59 +09:00
Jonathan Challinger 709fcf37cc Copter: call renamed functions in AC_AttitudeControl 2015-12-09 19:58:49 +09:00
Luis Vale Gonçalves 3199829d45 Copter: revisions to text strings sent to GCS 2015-11-27 16:16:58 +09:00
Caio Marcelo de Oliveira Filho c7acc46d09 Copter: use millis/micros/panic functions 2015-11-20 12:26:31 +09:00
Andrew Tridgell 0c92331762 Copter: fixed build for SITL changes 2015-11-16 17:57:36 +11:00
lvale 549695181c Copter: revised and uniformization of severity messages 2015-11-05 12:20:49 +09:00
Andrew Tridgell 99b448d1bb Copter: make EV log messages critical
these should be a high priority
2015-11-02 20:29:10 +11:00
Lucas De Marchi 4ab9821624 Replace use of Log_Write_Message_P() with Log_Write_Message() 2015-10-30 14:35:28 +09:00
Lucas De Marchi 20c6ffc5e3 Replace use of UARTDriver::printf_P() with UARTDriver::printf()
This also starts to show warnings on places that were already using
wrong printf format strings.
2015-10-30 14:35:25 +09:00
Lucas De Marchi 6f4904189b Replace use of println_P() with println() 2015-10-30 14:35:22 +09:00
Lucas De Marchi 831d8acca5 Remove use of PROGMEM
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:

    git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
    git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'

The 2 commands were done so we don't leave behind spurious spaces.

AVR-specific places were not changed.
2015-10-30 14:35:16 +09:00
Lucas De Marchi 6f0db45b57 Replace use of strcasecmp_P() with strcasecmp() 2015-10-30 14:35:08 +09:00
Lucas De Marchi 84da1f5039 Rename gcs_send_text_P to gcs_send_text 2015-10-30 14:35:07 +09:00
Lucas De Marchi 2c38e31c93 Remove use of PSTR
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.

This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.

AVR-specific places were not changed.
2015-10-30 14:35:04 +09:00
Peter Barker 080c31c15e Copter: use simple log entry numbers to download logs 2015-10-21 10:50:32 +11:00
Peter Barker 1103451d36 Copter: ensure 10% free space when initialising logging 2015-09-09 12:22:36 +10:00
Peter Barker 51a761656e Copter: DFMessageWriter; ability to trickle messages out to DF 2015-09-03 15:20:19 +10:00
Randy Mackay 0da38ba2bf Copter: add Precision Landing log message 2015-08-31 18:00:30 +09:00
Robert Lefebvre 161ce5c11d Copter: Change name of rotor speed function to match that in library 2015-08-31 11:27:53 +09:00
squilter 767b4da5b6 Copter: update send text severities 2015-08-25 14:05:25 +09:00
Przemek Lekston f99b152b1f Copter: fix logging disabled build 2015-08-01 21:19:17 +09:00
Randy Mackay 1b68d0eead Copter: no MotBatt logging for TradHeli 2015-07-21 16:26:22 +09:00
Randy Mackay ec298fb508 Copter: Log_Write_Attitude yaw as 0 to 36000 2015-07-18 13:26:01 +09:00
Randy Mackay 4e3d0ae0c1 Copter: fix startup logging
Removed potentially endless loop caused by start_logging calling
Log_Write_Startup which called should_log which could then call
start_logging.
Moved disarm event logging above motors disarm so it is logged
2015-07-14 14:03:00 +09:00
Randy Mackay 764fa36716 Copter: log ERR when compass, baro unhealthy 2015-07-12 22:11:35 +09:00
Lucas De Marchi 0bc09adc78 ArduCopter: use ARRAY_SIZE macro 2015-07-07 07:56:30 +10:00
Randy Mackay 221ddb545e Copter: log ahrs home and ekf origin 2015-07-06 12:11:51 +09:00
Peter Barker 12bce49cd1 Copter: use common mission logging code 2015-06-30 16:23:35 +10:00
Peter Barker 52a31a31e0 Copter: use common system information logging 2015-06-30 16:23:34 +10:00
Robert Lefebvre 62079226ff Copter: add Heli Dataflash message 2015-06-19 15:10:52 +09:00
Leonard Hall fe0d069eab Copter: Autotune log acceleration 2015-06-18 23:06:51 +09:00
Andrew Tridgell 290805b879 Copter: fixed logging of parameters on arming
ensure parameters are logged when we have no logging before arming
2015-06-12 13:10:54 +10:00
Randy Mackay ce1031a5bd Copter: remove AP_AHRS_NAVEKF_AVAILABLE checks
Copter requires an EKF
2015-06-10 12:18:38 +09:00
Randy Mackay b2ca7ee3fa Copter: Log_Write_Startup writes parameters 2015-06-01 20:22:48 +09:00
Andrew Tridgell 278883c521 Copter: finished conversion to .cpp files
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2015-05-30 15:21:19 +09:00
Andrew Tridgell 356ece3402 Copter: rename .pde files to .cpp files 2015-05-30 15:21:15 +09:00