murata
f6595a41ae
AP_Logger: Change the type of a method
5 years ago
Michael du Breuil
c369139be0
AP_Logger: Support new ModeReason
5 years ago
Pierre Kancir
781e9ae9c1
AP_Logger: pass mavlink_message_t by const reference
6 years ago
Tom Pittenger
027f9afcf8
AP_logger: rename dataflash to logger and refactor the filename logger.bin
6 years ago
Peter Barker
ee690e7ab9
AP_Logger: use AP_InternalError for tracking internal errors
6 years ago
Peter Barker
9a04ae5cf7
AP_Logger: use a MessageWriter to emit rally points
6 years ago
Peter Barker
7525c593cb
AP_Logger: stop taking mission as argument to Write_EntireMission
6 years ago
Andrew Tridgell
e3c9f10e91
AP_Logger: revived block based logging
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
6a59dd04a7
DataFlash: rename to AP_Logger
6 years ago
Peter Barker
590eb86a45
DataFlash: use AP_Mission singleton
6 years ago
Michael du Breuil
3ee675ad42
DataFlash: Log integer version of mission
...
This is higher precision the casting to float, and better matches the
internal format we actually use. Removed the indicection as it gained us
nothing. Closes #8875
6 years ago
Peter Barker
6daa241235
DataFlash: add sanity check for WritePrioritisedBlock size
7 years ago
murata
396517fe58
DataFlash: Delete unused arguments.
7 years ago
Peter Barker
493f958eb2
DataFlash: remove unused ReadBlock method
7 years ago
Peter Barker
611dcb694b
DataFlash: write CHIBIOS_GIT_VERSION to opened log file
...
DataFlash: use AP_FWVersion singleton
7 years ago
Peter Barker
8027883734
DataFlash: remove vestiges of CLI functions
7 years ago
Peter Barker
a5442fb293
DataFlash: support for units on fields
7 years ago
Andrew Tridgell
fd86b2bbb9
DataFlash: log critical messages while disarmed
...
this logs critical messages while disarmed if we have logged any
messages while armed. This fixes issue #7010 where log files show the
incorrect mode if the log includes any portions where the user
disarmed. It makes analysing users logs very difficult. It also
affects parameters, so we don't always know the true parameter values
in logs from users.
7 years ago
Peter Barker
776d88bb6b
DataFlash: remove duplicate variables
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
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
Peter Barker
6a03af8f3e
DataFlash: make EnableWrites a frontend thing
8 years ago
Peter Barker
001d3a7118
DataFlash: correct consts on CardInserted
8 years ago
Peter Barker
0be2e7962f
DataFlash: create a WritesOK method for WritePrioritisedBlock
8 years ago
Peter Barker
4cb43b1c27
DataFlash: correct repeated FMT logging bug
8 years ago
Peter Barker
2c8a0a9123
DataFlash: rotate files when vehicle is disarmed
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
Peter Barker
8d253dec8e
DataFlash: support for mavlink SENSOR message
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
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
Peter Barker
334af1ecd7
DataFlash: base class method for resetting state on log open
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
Lucas De Marchi
ec36e06c63
DataFlash: replace header guard with pragma once
9 years ago
Peter Barker
ff8008d81a
DataFlash: remove unused callbacks, unimplemented functions
...
Closes #3269
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
Lucas De Marchi
1e839f97ed
DataFlash: remove check for AVR CPUs
...
Remove the checks for HAL_CPU_CLASS > HAL_CPU_CLASS_16 and
HAL_CPU_CLASS >= HAL_CPU_CLASS_75. Corresponding dead code will be
removed on separate commits.
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
Peter Barker
8f8493225c
DataFlash: DFMessageWriter; ability to trickle messages out to DF
10 years ago
Lucas De Marchi
327a3a4298
DataFlash: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
10 years ago
Gustavo Jose de Sousa
709204c01d
DataFlash: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago