Andrew Tridgell
e440d22003
DataFlash: log DCM and SITL quaternion too
8 years ago
Andrew Tridgell
732915d417
DataFlash: log quaternions for EKF
...
useful for tailsitters
8 years ago
Pierre Kancir
49c9e3c768
Dataflash: example fix travis warning
...
missing function declaration
implicit cast
some style fix
8 years ago
Peter Barker
8bb051af44
DataFlash: DataFlash_MAVLink: add comment concerning locking
8 years ago
Peter Barker
ac34405272
DataFlash: DataFlash_MAVLink: avoid races by taking semaphore
8 years ago
Peter Barker
9e436ec35c
DataFlash: correct visibility
8 years ago
Peter Barker
25930e5bf3
DataFlash: remove unused DataFlash_MAVLink method
8 years ago
Peter Barker
feb30b3b9b
DataFlash: add mutex for WritePrioritisedBlock
...
Multiple threads attempt to write blocks; don't let
them interfere
8 years ago
Peter Barker
2fa97c9906
DataFlash: improve privacy aspects of instance variables
8 years ago
Peter Barker
3defe584e7
DataFlash: extract common labels and formats into defines
8 years ago
Peter Barker
510aa587ef
DataFlash: add validation for logging structures
8 years ago
Peter Barker
2746edfd32
DataFlash: move Init from LogFile.cpp to Dataflash.cpp (NFC)
8 years ago
Peter Barker
d3b442d8b6
DataFlash_MAVLink: remove dead comments
8 years ago
Peter Barker
d8c475ad04
DataFlash: use override keyword on many methods
8 years ago
Andrew Tridgell
6c31a6982b
DataFlash: added Log_Write_AttitudeView
8 years ago
Peter Barker
4cb43b1c27
DataFlash: correct repeated FMT logging bug
8 years ago
Francisco Ferreira
ec5bbbd2d0
DataFlash: fix BAR2 and BAR3 message format after baro log struct changed
8 years ago
Michael du Breuil
16433cbf7a
DataFlash: Log the ground temperature used for baro calculations
8 years ago
Randy Mackay
2f21e3b40c
DataFlash: rename GPS3/GPA3 to GPSB/GPAB
8 years ago
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
8 years ago
Michael du Breuil
ed359a5833
Dataflash: Add landing PID logging
8 years ago
Randy Mackay
2b43c6aeed
DataFlash: log range finder orientation
8 years ago
Peter Barker
057819ccef
DataFlash: zero-pad the number in the log filename
...
This helps with collating when reviewing log files
Closes #2212
8 years ago
Peter Barker
58d74230d5
DataFlash: correct error detection for asprintf
8 years ago
Michael du Breuil
31f1545223
DataFlash: Update for AHRS NED changes
...
Report both origin and home NED altitudes to the log file
8 years ago
Lucas De Marchi
dd1646aefc
DataFlash: remove dangling semicolon
8 years ago
priseborough
a02a84560f
DataFlash: log 3-state range beacon estimator states for EKF3
8 years ago
murata
1b2ea27a68
DataFlash: Unify from print or println to printf.
8 years ago
Andrew Tridgell
0e14992b34
DataFlash: hide direct EK2/EK3 logging
...
should call Log_Write_EKF and let it choose the types
8 years ago
Andrew Tridgell
b00ec26957
DataFlash: Add EKF3 and remove EKF1
8 years ago
priseborough
fd8916ef38
DataFlash: fix Baro 3 labels
8 years ago
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
8 years ago
priseborough
431a74e0b4
DataFlash: log range beacon fusion data
8 years ago
priseborough
bbdf3982c6
DataFlash: remove Log_Write_EKF
8 years ago
Peter Barker
bc45ab5409
DataFlash: add a heartbeat for the io thread in DataFlash_File
8 years ago
Peter Barker
e11c276b35
DataFlash_File: stop trying to stuff a uint64_t into a uint32_t
8 years ago
Peter Barker
2c8a0a9123
DataFlash: rotate files when vehicle is disarmed
8 years ago
Peter Barker
fc79fb4ab4
DataFlash: know about armed state of vehicle
8 years ago
murata
ae927e1775
DataFlash: Adjust the return value to the type of the method.
...
DataFlash: Adjust the return value to the type of the method.
8 years ago
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.
8 years ago
Lucas De Marchi
3ff965a0c0
DataFlash: remove infinite loop from loop() method
...
Remove the while() loop inside loop() method so the new signal handlers
correctly notify the mainloop to exit.
This makes SIGTERM/SIGINT work again.
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago
Murilo Belluzzo
a91da2e803
DataFlash: Change ::bufferspace_available return type
...
from 'uint16_t' to 'uint32_t' to avoid overflow (possible in at least
two implementations: Block and File).
8 years ago
Murilo Belluzzo
c112e1c889
DataFlash: Make use of ByteBuffer class
...
This patch replaces the 'old style' ringbuffer by the ByteBuffer class.
An effort was made to keep the exchange as close as possible from a
drop-in replacement to minimize the risk of introducing bugs.
Although the exchange opens opportunities for improvement and
simplification of this class.
8 years ago
Francisco Ferreira
5a7f9a38fe
DataFlash: fix RCIN and RCOU structure types
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Peter Barker
64154feaef
DataFlash: remove unused semaphore variables
8 years ago
Peter Barker
5dad8745d5
DataFlash: remove bogus function declaration
8 years ago
Randy Mackay
9722c3a1c3
DataFlash: fix logging of ekf core
8 years ago
Lucas De Marchi
ae53920e5b
build: don't build examples with old build system
...
We currently check examples are buildable with waf which doesn't need
the libraries to be specified in a make.inc file. Having the makefiles
there is misleading since people try to build and realize the build is
broken.
8 years ago