Andrew Tridgell
1bf057be45
DataFlash: log last update time in BARO msg
9 years ago
Andrew Tridgell
d61ba14037
DataFlash: switched to float for GPS ground speed
...
same size and more precision
9 years ago
Andrew Tridgell
d97074dc9d
DataFlash: round baro temp to nearest centi-degree
...
makes replay logs a tiny bit closer
9 years ago
Andrew Tridgell
61da827c16
DataFlash: added sample timestamp to mag messages
...
allows for exact mag timings in replay
9 years ago
Andrew Tridgell
7ab1367ec4
DataFlash: removed logging of relative alt in GPS messages
...
not related to GPS and makes it impossible to do bit-identical replay
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
11dd254498
DataFlash: Log_Write optimisations
9 years ago
Peter Barker
cf15bb5f6e
DataFlash: AllTypes example also covers Log_Write
9 years ago
Peter Barker
b273514cf9
DataFlash: create example outputting all field types
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
Peter Barker
eea2d5dcb5
DataFlash_File: avoid integer wrap when checking minimum time
9 years ago
Lucas De Marchi
fea084a596
Global: use ap_version.h
...
This header is used by waf to contain the generated version macros,
particularly using the git hash. For waf it's better to be in a separate
header since it then can keep track of changes on it a trigger
recompilation.
For the make build system, a dummy ap_version.h file has been added in
the missing/ folder so both implementations can co-exist.
9 years ago
Andrew Tridgell
bcefb45e0a
DataFlash: added DelaT to delta-angle logs
9 years ago
Randy Mackay
39560f9af8
DataFlash: remove unused num_format_types and _structures
...
resolves compiler warning
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
Andrew Tridgell
075dd49afe
DataFlash: added Log_Write_Rate()
...
needed for quadplane as well as copter so should be in common code
9 years ago
Lucas De Marchi
ec36e06c63
DataFlash: replace header guard with pragma once
9 years ago
Will Sackfield
6f43b7121c
DataFlash: Cast msg to uint8
...
* Clang requires this explicit cast
9 years ago
Peter Barker
4548466701
DataFlash: correct use of #defines
...
HIL_BOARD_AVR_SITL was renamed
Move use of define to after include where it is defined
9 years ago
Andrew Tridgell
6f59c4ae53
DataFlash: added GPSAlt to CAM and TRIG log messages
...
useful for people with RTK GPS
9 years ago
Jaime Machuca
1001e53140
DataFlash: added TRIGGER message to Logs
...
DataFlash.h: added support for Trigger MSG, supressed TAB separations
and file reorganized LogFile.cpp: included Trigger packet
9 years ago
Jonathan Challinger
02d8b28fa3
DataFlash: add GMB1, GMB2, GMB3
9 years ago
Gustavo Jose de Sousa
c2e3f05dbf
waf: ardupilotwaf: prefix build context methods with ap_
...
It helps to distinguish between things from waf and things from ardupilotwaf.
9 years ago
Gustavo Jose de Sousa
3d22490397
waf: examples: use methods from bld instead of ardupilotwaf
9 years ago
Gustavo Jose de Sousa
d281067bcc
waf: make example binaries be placed in 'examples' dir
...
This commit makes examples' wscripts use ardupilotwaf.example() instead of
ardupilot.program().
9 years ago
Peter Barker
ff8008d81a
DataFlash: remove unused callbacks, unimplemented functions
...
Closes #3269
9 years ago
Jonathan Challinger
b85631bec3
DataFlash: fix example build
9 years ago
Andrew Tridgell
fe8070bd51
DataFlash: move lock to protect just buffer IO
9 years ago
Lucas De Marchi
a096703b06
Global: don't link with AP_Progmem
...
AP_Progmem is not used anymore.
9 years ago
Lucas De Marchi
5d07e5bdbf
DataFlash: stop using Progmem.h
9 years ago
Andrew Tridgell
b967140572
DataFlash: enable minimal file mode
...
This adds a "minimal" dataflash mode with a board specific macro. The
QURT port uses this to avoid problematic system calls that are buggy
in the QURT RTOS
With some pending updates to QURT we may be able to remove some (or
all) of this
9 years ago
Peter Barker
2f1297f30c
DataFlash_File: Check return values of lseek
9 years ago
Peter Barker
ce84ba049f
DataFlash_File: protect against fopen failing
9 years ago
Peter Barker
15265a45ed
DataFlash_File: check fname before using it
9 years ago
Andrew Tridgell
025e4edd17
DataFlash: fixed warning
9 years ago
Andrew Tridgell
02d7867d79
DataFlash: added locking for multi-thread logging support
9 years ago
Peter Barker
326e68544c
DataFlash: remove unused functions
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
Tom Pittenger
4e3864049a
DataFlash: compile warning - float to double promotion
9 years ago
Gustavo Jose de Sousa
3035fb282d
DataFlash: fix example
9 years ago
Lucas De Marchi
f584543ea1
DataFlash: remove unused AP_ADC_AnalogSource
9 years ago
Peter Barker
4f1a7c6427
DataFlash: remove use of AddLogFormats
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
Peter Barker
121967d1b1
DataFlash: factor log structures into LogStructures.h (no functional change
9 years ago