Commit Graph

537 Commits

Author SHA1 Message Date
priseborough
8ead9d6b19 DataFlash: Add logging of average EKF time step min/max 2017-04-29 11:03:44 +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
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
Peter Barker
9324d8e251 Dataflash: emit io thread warnings much less frequently 2017-04-19 12:33:18 +09:00
Randy Mackay
0644314499 DataFlash: add visual odometry sensor logging 2017-04-19 11:04:40 +09:00
priseborough
d2c89443df DataFlash: add logging for EKF body frame odometry fusion 2017-04-19 11:04:40 +09:00
Michael du Breuil
994790be0b Dataflash: Clamp GPS accuracy values 2017-04-17 11:37:22 +01:00
Andrew Tridgell
e440d22003 DataFlash: log DCM and SITL quaternion too 2017-04-16 14:01:36 +10:00
Andrew Tridgell
732915d417 DataFlash: log quaternions for EKF
useful for tailsitters
2017-04-16 14:01:36 +10:00
Pierre Kancir
49c9e3c768 Dataflash: example fix travis warning
missing function declaration
implicit cast
some style fix
2017-04-13 19:56:16 +01:00
Peter Barker
8bb051af44 DataFlash: DataFlash_MAVLink: add comment concerning locking 2017-04-12 13:42:46 +09:00
Peter Barker
ac34405272 DataFlash: DataFlash_MAVLink: avoid races by taking semaphore 2017-04-12 13:42:46 +09:00
Peter Barker
9e436ec35c DataFlash: correct visibility 2017-04-12 13:42:46 +09:00
Peter Barker
25930e5bf3 DataFlash: remove unused DataFlash_MAVLink method 2017-04-12 13:42:46 +09:00
Peter Barker
feb30b3b9b DataFlash: add mutex for WritePrioritisedBlock
Multiple threads attempt to write blocks; don't let
them interfere
2017-04-06 22:09:18 +10:00
Peter Barker
2fa97c9906 DataFlash: improve privacy aspects of instance variables 2017-04-06 22:09:18 +10:00
Peter Barker
3defe584e7 DataFlash: extract common labels and formats into defines 2017-04-05 19:16:21 +10:00
Peter Barker
510aa587ef DataFlash: add validation for logging structures 2017-04-04 20:03:33 +01:00
Peter Barker
2746edfd32 DataFlash: move Init from LogFile.cpp to Dataflash.cpp (NFC) 2017-04-04 20:03:33 +01:00
Peter Barker
d3b442d8b6 DataFlash_MAVLink: remove dead comments 2017-03-31 15:02:14 +01:00
Peter Barker
d8c475ad04 DataFlash: use override keyword on many methods 2017-03-31 15:02:14 +01:00
Andrew Tridgell
6c31a6982b DataFlash: added Log_Write_AttitudeView 2017-03-31 11:30:44 +11:00
Peter Barker
4cb43b1c27 DataFlash: correct repeated FMT logging bug 2017-03-30 20:19:15 +11:00
Francisco Ferreira
ec5bbbd2d0
DataFlash: fix BAR2 and BAR3 message format after baro log struct changed 2017-03-30 00:42:10 +01:00
Michael du Breuil
16433cbf7a DataFlash: Log the ground temperature used for baro calculations 2017-03-28 11:25:46 +11:00
Randy Mackay
2f21e3b40c DataFlash: rename GPS3/GPA3 to GPSB/GPAB 2017-03-13 11:31:51 +11:00
priseborough
a82b6929f1 DataFlash: Allow logging of blended GPS instance
Add GPS and GPA reporting for blended solution
Allow GPS library to manage reporting for the blended solution
2017-03-13 11:31:51 +11:00
Michael du Breuil
ed359a5833 Dataflash: Add landing PID logging 2017-03-02 12:38:59 +11:00
Randy Mackay
2b43c6aeed DataFlash: log range finder orientation 2017-02-27 15:18:40 +09:00
Peter Barker
057819ccef DataFlash: zero-pad the number in the log filename
This helps with collating when reviewing log files

Closes #2212
2017-02-15 07:23:49 +11:00
Peter Barker
58d74230d5 DataFlash: correct error detection for asprintf 2017-02-15 07:23:49 +11:00
Michael du Breuil
31f1545223 DataFlash: Update for AHRS NED changes
Report both origin and home NED altitudes to the log file
2017-02-13 09:23:14 +11:00
Lucas De Marchi
dd1646aefc DataFlash: remove dangling semicolon 2017-02-12 01:22:35 +00:00
priseborough
a02a84560f DataFlash: log 3-state range beacon estimator states for EKF3 2017-01-27 16:57:42 +09:00
murata
1b2ea27a68 DataFlash: Unify from print or println to printf. 2017-01-27 18:20:22 +11:00
Andrew Tridgell
0e14992b34 DataFlash: hide direct EK2/EK3 logging
should call Log_Write_EKF and let it choose the types
2016-12-19 08:07:14 +11:00
Andrew Tridgell
b00ec26957 DataFlash: Add EKF3 and remove EKF1 2016-12-19 08:07:09 +11:00
priseborough
fd8916ef38 DataFlash: fix Baro 3 labels 2016-12-18 10:28:04 +11:00
Randy Mackay
d41467424b DataFlash: fix to suppressing comment for case fall through
no functional change
eclipse stops complaining if no-break is used in place of fall-through
2016-12-14 13:25:15 +09:00
priseborough
431a74e0b4 DataFlash: log range beacon fusion data 2016-11-30 17:56:53 +09:00
priseborough
bbdf3982c6 DataFlash: remove Log_Write_EKF 2016-11-30 17:56:52 +09:00
Peter Barker
bc45ab5409 DataFlash: add a heartbeat for the io thread in DataFlash_File 2016-11-29 15:14:09 -08:00
Peter Barker
e11c276b35 DataFlash_File: stop trying to stuff a uint64_t into a uint32_t 2016-11-29 15:14:09 -08:00
Peter Barker
2c8a0a9123 DataFlash: rotate files when vehicle is disarmed 2016-11-28 09:42:09 -08:00
Peter Barker
fc79fb4ab4 DataFlash: know about armed state of vehicle 2016-11-28 09:42:09 -08:00
murata
ae927e1775 DataFlash: Adjust the return value to the type of the method.
DataFlash: Adjust the return value to the type of the method.
2016-11-22 10:07:16 -08:00
Lucas De Marchi
c9eff28c44 DataFlash: add O_CLOEXEC in places missing it
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
2016-11-07 12:37:30 -03:00