Peter Barker
b19f981c07
DataFlash: validate units and multipliers
7 years ago
Peter Barker
9896e23c36
DataFlash: Log_Write() fills unknown units with '?'
7 years ago
Peter Barker
a5442fb293
DataFlash: support for units on fields
7 years ago
Andrew Tridgell
274e441292
DataFlash: fixed build for aerofc-v1
7 years ago
Lucas De Marchi
3272ae2c04
DataFlash: make log directory macro mandatory
...
Everybody defines the macro (or should be defining). Let smaller users
that don't have a filesystem to rather protect it with HAL_OS_POSIX_IO,
which also allow them to save more flash space.
7 years ago
Peter Barker
191e457230
DataFlash: include sample count in ISBH
7 years ago
Peter Barker
d950e78079
DataFlash: Log_ISBH and Log_ISBD, to log batches of IMU data
7 years ago
Peter Barker
2f9a8ded55
DataFlash: add new int16_t[32] type, designator 'a'
7 years ago
Lucas De Marchi
a25320d522
DataFlash: add static create method
7 years ago
Peter Barker
776d88bb6b
DataFlash: remove duplicate variables
8 years ago
Peter Barker
1f0a14ab33
DataFlash: add PrepForArming method
8 years ago
Peter Barker
b572c13ca9
DataFlash: move starting of new logs into DataFlash
8 years ago
Peter Barker
f6a09d0657
DataFlash: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Peter Barker
4dfdffde43
DataFlash: move should_log check of log bitmask into DataFlash
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
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
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
91b62abfe5
DataFlash: simplify dataflash initialisation
8 years ago
Peter Barker
cdd0397bbf
DataFlash: check all backends for sensor health
8 years ago
Peter Barker
7221b0def2
DataFlash: StartUnstartedLogging replaces logging_started/start_logging
8 years ago
Peter Barker
ac1484f60e
DataFlash: clear format sent mask when backend starts new log
8 years ago
Peter Barker
608d6d0a5f
DataFlash: implement a printf-like Log_Write_MessageF method
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
2c8a0a9123
DataFlash: rotate files when vehicle is disarmed
8 years ago
Peter Barker
fc79fb4ab4
DataFlash: know about armed state of vehicle
8 years ago
Peter Barker
8d253dec8e
DataFlash: support for mavlink SENSOR message
9 years ago
Murilo Belluzzo
e17fdb2aa9
DataFlash: Avoid null pointer dereference
...
Confirms that the loop successfully found a log structure before using it.
Should fix CID 126742
9 years ago
Rustom Jehangir
39fc17f384
DataFlash: Fix parameter description for param_parse.py
9 years ago
Ricardo de Almeida Gonzaga
dc7acdf03f
DataFlash: Fix typos
9 years ago
Andrew Tridgell
202eb3af35
DataFlash: added imu_mask to Log_Write_IMUDT
9 years ago
Andrew Tridgell
8ca6ed54c5
DataFlash: added LOG_REPLAY and LOG_DISARMED parameters
9 years ago
Andrew Tridgell
46f257fd9b
DataFlash: convert Log_Write() to use a linked list
...
this saves some memory and means we don't need to know how many we
will need in advance
9 years ago
Andrew Tridgell
9a1cbff850
DataFlash: allow access to DataFlash instance as a static singleton
9 years ago
Peter Barker
518fabe035
DataFlash: StopLogging method, virtual stop_logging on backends
9 years ago
Peter Barker
77dd170e03
DataFlash: Log_Write support
...
A generic logging method to avoid the need to set up a format and structures etc
9 years ago
Andrew Tridgell
c765979f9a
DataFlash: expose the number of lost log messages
...
will be logged in PM message
9 years ago
Jonathan Challinger
a0e291bf89
DataFlash: add reason to MODE
9 years ago
Peter Barker
ff8008d81a
DataFlash: remove unused callbacks, unimplemented functions
...
Closes #3269
9 years ago
Peter Barker
7900359fac
DataFlash: LOG_FILE_BUFSIZE sets buffer size for DataFlash_File
9 years ago
Tom Pittenger
c118130dda
DataFlash: fixed mispelling
...
@param label was different than everywhere else that did not use plurl
9 years ago
Peter Barker
0ca07e5245
DataFlash: DataFlash-over-MAVLink support
9 years ago
Peter Barker
faabe0b83d
DataFlash: support multiple simultaneous backends
9 years ago
Lucas De Marchi
c74b1a660d
DataFlash: remove DATAFLASH_NO_CLI
...
This is not used anymore since the removal of AVR CPUs.
9 years ago
Peter Barker
e481497574
DataFlash: delete oldest file rather than the lowest-numbered file
...
Also reference log numbers by their list index to accomodate log number
wrapping in DataFlash_File
9 years ago
Peter Barker
60010e794e
DataFlash: ensure 10% free space when initialising logging
10 years ago