Lucas De Marchi
53c82b4aaf
global: use static method to construct DataFlash_Class
7 years ago
Lucas De Marchi
a25320d522
DataFlash: add static create method
7 years ago
Lucas De Marchi
9e7bda83bf
DataFlash: add temporary workaround for macro usage
...
Make DataFlash correctly save the git version. We should think about a
better solution, like it was done on GCSMavlink, but this is the minimal
change to make it possible to move includes of version.h to their
respective users.
7 years ago
Peter Barker
3af5be76aa
DataFlash: protect write fd with semaphore
...
If the sensor threads are using WriteBlock they may pass the _write_fd
== -1 check but then have that set to -1 by the main thread
7 years ago
Peter Barker
d1b47e863d
DataFlash: resolve race conditions with IMU logging thread
7 years ago
Michael du Breuil
cf02204e6c
Dataflash: Log GPS delta times
...
This is particularly useful for assessing if a GPS actually is dropping out in a users log, or if the log is just dropping messages
8 years ago
Peter Barker
4263c1a90c
DataFlash: file not being initialised means logging is failed
8 years ago
squilter
f37d742160
DataFlash: support SafeRTL log messages
8 years ago
Peter Barker
6ad3541a24
DataFlash: clean up public interface
8 years ago
Peter Barker
f32651a38c
DataFlash: include version for AP_FWVersion
8 years ago
Peter Barker
9783c0c3ba
DataFlash: log dataflash-file statistics periodically
8 years ago
Peter Barker
776d88bb6b
DataFlash: remove duplicate variables
8 years ago
Peter Barker
2f9fb581fe
DataFlash: remove bad FALLTHROUGH causing compilation failure
8 years ago
Lucas De Marchi
927289aa64
DataFlash: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
8 years ago
Randy Mackay
e13f4d0d56
DataFlash: removed unused optFlowEnabled from Log_Write_EKF
8 years ago
Peter Barker
f1d350bbb1
DataFlash: use rangefinder backend accessors
8 years ago
Peter Barker
975d2fd0d1
DataFlash: add debug for io thread failure
8 years ago
khancyr
42516f7079
DataFlash: simplify Log_Write_Proximity
8 years ago
khancyr
603621f2c4
DataFlash: move proximity log from Copter (NFC)
8 years ago
Peter Barker
1fd4eb4bfb
DataFlash: do not send in-progress messages back to streaming GCSs
8 years ago
Peter Barker
90c2db119e
DataFlash: send log data on requesting channel only
8 years ago
Peter Barker
0769432e63
DataFlash: move log-write-started logic to be backend-specific
8 years ago
Peter Barker
1f0a14ab33
DataFlash: add PrepForArming method
8 years ago
Peter Barker
31083653b2
DataFlash: examples: move starting of new logs into DataFlash
8 years ago
Francisco Ferreira
a1115ba5d0
DataFlash: move some code from WritesOK into a new ShouldLog method
8 years ago
Peter Barker
b572c13ca9
DataFlash: move starting of new logs into DataFlash
8 years ago
Peter Barker
4234f4ef7a
DataFlash: move _initialised into DataFlash_Backend
8 years ago
Michael du Breuil
52ddaa3e72
DataFlash: POS.RelOriginAlt should be NaN if unknown
8 years ago
Peter Barker
f6a09d0657
DataFlash: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Peter Barker
c1264cf60a
DataFlash: Use GCS_Dummy GCS singleton
8 years ago
Peter Barker
7b3db490be
DataFlash: correct examples
8 years ago
Peter Barker
4dfdffde43
DataFlash: move should_log check of log bitmask into DataFlash
8 years ago
ebethon
526d5a4c44
DataFlash: Add SBP EXT_EVENT Message
8 years ago
ebethon
0b5dad33f2
DataFlash: Rename SBR1/SBR2 to SBRH/SBRM and change format
...
Add (sender_id, msg_len) in SBRM message
Add index/pages in SBRH/SBRM messages
Change format to integers to avoid GCS string parsing
Decrease data size in SBRH
8 years ago
Peter Barker
ad17709390
DataFlash: handle knowledge of in_log_download in DataFlash
8 years ago
Peter Barker
305531952f
DataFlash: move send-logs-via-mavlink code into DataFlash
8 years ago
Peter Barker
cbbee995b6
GCS_MAVLink: move GCS_Logs into DataFlash directory
8 years ago
Peter Barker
5c19f09cd7
DataFlash: handle mavlink messages, not just remote-log-block-statuses
8 years ago
Peter Barker
6a03af8f3e
DataFlash: make EnableWrites a frontend thing
8 years ago
Peter Barker
07e37281ef
DataFlash: add a should_log method
8 years ago
Peter Barker
001d3a7118
DataFlash: correct consts on CardInserted
8 years ago
Peter Barker
244365767d
DataFlash: remove DataFlash_Block and DataFlash_SITL
8 years ago
priseborough
798d5f85a2
DataFlash: Log EKF origin height
8 years ago
priseborough
4c08622a7c
DataFlash: Add logging for EKF3 state variances
8 years ago
Pierre Kancir
914bc53100
Dataflash: fix shadowing of logstructure in SITL
8 years ago
Peter Barker
af6eb4e41d
DataFlash: remove unused NeedPrep function
8 years ago
Peter Barker
9fb4ac2143
DataFlash: update examples for init simplification
8 years ago
Peter Barker
91b62abfe5
DataFlash: simplify dataflash initialisation
8 years ago
Randy Mackay
af7f4fef0a
DataFlash: protect against large testRatio from EKF
...
This should be resolved in the EKF but for now this stops the floating point exception
8 years ago
Peter Barker
b5029aad4f
DataFlash: correct dataflash examples
8 years ago