Tom Pittenger
32d51e346d
DataFlash: optimize logging climbrate - call function one and reuse result
9 years ago
Rustom Jehangir
39fc17f384
DataFlash: Fix parameter description for param_parse.py
9 years ago
Tom Pittenger
38b7d7e1c6
DataFlash: log baro drift offset
9 years ago
Tom Pittenger
d900988a23
DataFlash: Log airspeed.Use
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
5398283c9b
DataFlash: fixed BAR2 and BAR3 log formats
9 years ago
Andrew Tridgell
2f4f38b85f
DataFlash: log the last message sample time for GPS
9 years ago
Andrew Tridgell
679b43efc9
DataFlash: make timestamps in EKF messages all match
9 years ago
Andrew Tridgell
35c3adb1ad
DataFlash: use caller supplied timestamps for sensor logging
...
used to support EK2_LOGGING=1
9 years ago
Andrew Tridgell
6aa02f06a9
DataFlash: use INS_USE to prevent logging of unused IMUs
9 years ago
Andrew Tridgell
9300092840
DataFlash: changed GPS ground course to float and add VV for GPA
...
more accurate replay
9 years ago
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