Peter Barker
8f376944aa
DataFlash: immediately restart logging after erasing logs
9 years ago
Peter Barker
fce798bc7a
DataFlash: avoid integer underflow
...
Thanks to mbelluzzo: f44b1b3556
9 years ago
Peter Barker
95d4475d45
DataFlash: avoid time going backwards in logs
...
WriteBlockCheckStartupMessages returned true if finished writing out
all startup messages. However, that may have allowed the caller to
then write out their message - but the timestamp on that message would
almost certainly be lower than the messages we've just written out.
9 years ago
Peter Barker
fd87a4f180
DataFlash: fix unused result warning
9 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
priseborough
a8cd037f56
DataFlash: update to match revised EKF1 and EKF2 interface
...
Uses separate horz/vert position interfaces
9 years ago
Andrew Tridgell
6776f8ac76
DataFlash: fixed GPS2 log format
9 years ago
priseborough
cc7caa27bc
DataFlash: Use a unique struct for EKF2 logging
9 years ago
priseborough
772c719df3
DataFlash: log tracking error for active instance of EKF2
9 years ago
priseborough
00b66ddc07
DataFlash: Log EKF2 output predictor tracking data
9 years ago
Lucas De Marchi
efb6b4c57e
DataFlash: ifdef both __APPLE__ and __MACH__
...
This is how we do in other places and should mean that we are targetting
MacOS, not other apple products or other OSes using a mach kernel.
9 years ago
Randy Mackay
4bedc57cbe
DataFlash: rename SBFE's Long field to Lng
...
This naming is consistent with the other GPS messages
9 years ago
Randy Mackay
032e834849
Dataflash: log rally points
9 years ago
Andrew Tridgell
4dcff15603
DataFlash: fixed typo
9 years ago
Leonard Hall
a5bb3c206e
Dataflash: Log rate to degrees
9 years ago
Andrew Tridgell
a06e46a84c
DataFlash: log 14 output channels in RCOU
...
unfortunately this means we need to shorten the column headers, but at
least this makes us consistent with RCIN
9 years ago
Tom Pittenger
3ed2fafefa
DataFlash: Log new CUR2 entry for battery2 data
9 years ago
Tom Pittenger
43c7b4d518
DataFlash: do not log CURR.Throttle because it's already logged elsewhere
9 years ago
Tom Pittenger
7a397475af
DataFlash: log POWR.vcc and Vservo as float in volts instead of int16 mV
9 years ago
Andrew Tridgell
38965f4617
DataFlash: fixed example build
9 years ago
Andrew Tridgell
f02c8f732c
DataFlash: fixed BAR2 format for drift offset
9 years ago
Andrew Tridgell
d90a2f7deb
DataFlash: added get_structures() API
...
used in Replay
9 years ago
Andrew Tridgell
1fd4cbffb2
DataFlash: update for changed AP_Airspeed API
9 years ago
Andrew Tridgell
fde0652d81
DataFlash: use HAVE_PAYLOAD_SPACE()
9 years ago
Paul Riseborough
54213ad871
DataFlash: Improve reporting of normalised ekf2 magnetometer innovations
...
Report the maximum of the x,y,z axis
9 years ago
Paul Riseborough
fcee82f9b2
DataFlash: extend ekf fault status reporting coverage
9 years ago
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