Commit Graph

170 Commits

Author SHA1 Message Date
Dr.-Ing. Amilcar do Carmo Lucas 5fad6ddddb Copter: fix typos in PL dataflash logs field description text 2020-08-04 08:14:29 +09:00
Dr.-Ing. Amilcar do Carmo Lucas be963bbdf9 Copter: fix units and multipliers in PL dataflash logs message 2020-08-04 08:14:29 +09:00
Peter Barker ac6cf1132c Copter: add documentation for DU16 message 2020-07-24 09:37:28 +09:00
Randy Mackay dfbb357aaf Copter: minor formatting fix 2020-06-24 21:26:30 +09:00
Randy Mackay 0f6e2b6960 Copter: fix GUID message scaling for pos and velocity 2020-06-24 21:26:30 +09:00
Rishabh 7c4b195488 Copter:Logger documentation TimeUS fix 2020-04-07 18:57:01 +10:00
Peter Barker 2670192c41 Copter: add D16, D32, DFLT and DU32 LogMessage documentation 2020-04-07 10:41:22 +10:00
Rishabh 62ec6540ec Copter: Added logger documentation 2020-04-07 09:09:45 +10:00
Peter Barker c9f810e924 Copter: add missing ABst to CTUN logmessage documentation 2020-03-22 18:35:14 +11:00
Henry Wurzburg 408b2b1e8d ArduCopter: fix typos in logger message meta-data 2020-03-22 10:04:53 +11:00
Peter Barker 1fbace608d Copter: add CTUN log information 2020-03-21 09:34:43 +11:00
Andy Piper 4c1816a983 Copter: port betaflight in-flight fft analysis to arducopter and expose as a log message
add harmonic notch tracking mode
call AP_GyroFFT::update_freq_hover() from update_throttle_hover()
move gyrofft configuration and control to AP_Vehicle
move fft logging to fft library
2020-02-22 11:15:37 +11:00
Patrick José Pereira 7bfcec2fc1 Copter: log_Heli is only used with FRAME_CONFIG as HELI_FRAME
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-02-18 11:14:04 +11:00
Randy Mackay adc1d60ea5 Copter: CTUN logging fix for SAlt
sonar altitude was not being logged in modes that don't use surface tracking including Auto
SAlt scaling was also incorrect
2019-11-12 09:10:21 +08:00
Randy Mackay b16d0740c8 Copter: fix CTUN log msg TAlt scaling 2019-11-12 09:10:21 +08:00
Peter Barker e6c6189fe5 Copter: cope with change in namespace of LogEvent enum
Also move Acro Trainer types into an enum class as the global defines
interfere with the Event names.

Also eliminate the Log_Write_Event wrappers.
2019-11-05 08:19:26 +08:00
Peter Barker 9c57862ec6 Copter: use ahrs singleton to log ATT, POS and AHRS2 2019-10-24 13:15:46 +11:00
Leonard Hall c11f2247eb Copter: System ID mode 2019-10-16 08:17:09 +09:00
Andy Piper 8ce7f02167 ArduCopter: add functions to update dynamic notch frequency. Periodically log the frequency.
tradheli- make RPM sensor input to harmonic notch in hertz
2019-10-10 20:26:02 +09:00
Randy Mackay 1c4f47f882 Copter: add upward facing surface tracking 2019-09-28 11:13:14 +09:00
Peter Barker b4537bebd8 Copter: move control_mode_t into being Mode::Number enum class
Fixes this compiler error:

In file included from ../../ArduCopter/sensors.cpp:1:
In file included from ../../ArduCopter/Copter.h:195:
../../ArduCopter/mode.h:1291:9: fatal error: declaration shadows a variable in the global namespace [-Wshadow]
        AUTO,           // after A and B defined, pilot toggle the switch from one side to the other, vehicle flies autonomously
        ^
../../ArduCopter/defines.h:38:5: note: previous declaration is here
    AUTO =          3,  // fully automatic waypoint control using mission commands
    ^
1 error generated.
2019-09-13 13:12:08 +09:00
Peter Barker b0428f0fe8 Copter: make surface_tracking a class, various functions methods 2019-08-06 14:09:09 +09:00
Peter Barker 40a3bf94f4 Copter: EKF logging moved into EKF from logger 2019-07-06 19:05:51 +10:00
ChristopherOlson 2f7d198196 Copter:Logging TradHeli - add governor output and throttle logging for heli governor 2019-06-03 07:53:01 +09:00
Randy Mackay 89eb876faf Copter: move surface tracking variables into structure 2019-04-19 07:45:52 +09:00
Randy Mackay a5bdd12bfa Copter: replace TUNE_LOW/HIGH params with TUNE_MIN/MAX
change from uint16 to floats to ease setup
also add check that no function assigned to rc6
2019-04-08 15:24:00 +09:00
Peter Barker 8441542a52 Copter: remove climb_rate cache of inertial_nav.get_velocity_z
There were only two users of it and dozens of places using
get_velocity_z
2019-03-28 12:10:31 +11:00
Peter Barker c7e21d95ef Copter: move Log_Write_Error into library 2019-03-27 12:36:40 +11:00
Peter Barker 5f152378fd Copter: dataflash always emits rally points at startup 2019-02-12 11:48:55 +11:00
Peter Barker 3521d98b52 Copter: move handling Write_Event into AP_Logger 2019-02-04 09:30:07 +09:00
Peter Barker eccd62eeaf Copter: remove rally argument from Write_Rally - use singleton 2019-01-31 09:51:25 +09:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Peter Barker 09dd750df8 Copter: Log_Write_SIMSTATE no longer takes dataflash pointer 2019-01-18 11:16:54 +11:00
Andrew Tridgell 7783a7ea58 Copter: use AHRS_View for RATE logging 2018-12-21 22:17:52 +11:00
Andrew Tridgell 89d54767b1 Copter: convert to use AC_AutoTune library
this maintains existing behaviour
2018-12-18 10:34:42 +09:00
Randy Mackay 655fe660ed Copter: remove reset of alt target in manual throttle mode
the target was being set to zero only for logging purposes
2018-11-21 21:41:58 +09:00
Peter Barker 33ca577653 Copter: OpticalFlow takes care of its own logging 2018-11-13 10:40:23 +11:00
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