Commit Graph

83 Commits

Author SHA1 Message Date
Andrew Tridgell
b1002eae3b Replay: fixed -A0 for "arm immediately" 2015-06-03 12:31:21 +10:00
Andrew Tridgell
26e55f078a Replay: converted to .cpp files 2015-06-01 16:15:08 +10:00
Andrew Tridgell
b27d0a6525 Replay: handle replay on older logs
we now pass-thru all messages except those that are being generated by
replay. We also pass-thru the FMT headers for those messages
2015-05-28 13:30:38 +10:00
Andrew Tridgell
2007d2b6eb Replay: cope with FRAM messages
use them to trigger ahrs updates
2015-05-28 13:30:37 +10:00
Peter Barker
8eafc209a9 Replay: understand and use 64-bit timestamps in Replay 2015-05-27 11:54:17 +10:00
Andrew Tridgell
dc1ff9a757 Replay: added in_list() method
neaten up code
2015-05-19 20:22:46 +10:00
Andrew Tridgell
34fe39f17d Replay: force COMPASS_ORIENT to 0
we use compass.setHIL() in body frame, or must use an orientation of 0
to give the right value
2015-05-19 20:22:46 +10:00
Peter Barker
91b761cfb0 Replay: merge MessageHandler_* into MsgHandler.h/MsgHandler.cpp
These were trivial classes; having lots of these files around made
it painful to work with.
2015-05-19 20:22:45 +10:00
Andrew Tridgell
f08f0ca2f9 Replay: show time of AHRS health change 2015-05-19 15:21:22 +10:00
Andrew Tridgell
ba930f8cf1 Replay: removed the timestamp rounding code
this makes things worse for plane replay
2015-05-19 13:18:02 +10:00
Andrew Tridgell
52f6332fa9 Replay: pass through some message types to output log
this gives mode information in output log
2015-05-18 10:08:27 +10:00
Andrew Tridgell
7177d5df7e Replay: removed attempt to interpolate IMU data
it seems to cause more harm than good
2015-05-18 09:51:14 +10:00
Andrew Tridgell
49146a2a88 Replay: call Log_Write_POS() 2015-05-15 14:28:15 +10:00
Andrew Tridgell
56f44266d8 Replay: fixed for new compass API 2015-05-15 14:25:44 +10:00
Andrew Tridgell
a356ad1c79 Replay: added MAG2 message 2015-05-15 14:25:44 +10:00
Andrew Tridgell
9f05e54d90 Replay: added support for EV message for copter arming 2015-05-15 14:25:44 +10:00
Andrew Tridgell
4e3d18bee4 Replay: added ARM message to logs, and auto ARM/DISARM 2015-05-15 14:25:43 +10:00
Andrew Tridgell
64a55c908f Replay: fixed trailing nul and don't wait for EKF to init 2015-05-11 11:19:11 +10:00
Andrew Tridgell
460489e2dc Replay: fixed cast of AP_AHRS_DCM 2015-05-11 09:41:43 +10:00
Peter Barker
32beaea48c Replay: use column labels rather than IDs in Replay.pde 2015-05-10 08:33:32 +10:00
Peter Barker
f3d1242d60 Replay: update Attitude on ATT rather than AHRS2 2015-05-09 20:54:07 +10:00
Andrew Tridgell
9e02ce44ae Tools: fix for HAL_SITL rename 2015-05-05 09:45:57 +10:00
Peter Barker
e1be814853 Replay: correct case for Airspeed when parsing airspeed messages 2015-05-01 09:18:49 +10:00
Peter Barker
67ba043b65 Replay: fix replay for CTUN (type=0) messages 2015-05-01 09:18:11 +10:00
Peter Barker
2b05f6e2b1 Replay: correct vehicle detection from MSG messages 2015-05-01 09:17:29 +10:00
Peter Barker
db833a6473 Replay: fix null-pointer dereference when fields not present 2015-04-30 20:01:49 +10:00
Peter Barker
56a8bf5460 Replay: use the message's name rather than number to determine which message handler to use for a message 2015-04-28 21:10:16 +10:00
Peter Barker
42351edfa6 Replay: use dataflash log format messages to extract message data instead of using structs
dataflash logs have been self-describing since 2013.  Replay now uses the descriptions supplied in the dataflash log to understand the format of any particular message.

This change should allow fields to be added to messages with no impact on Replay.
2015-04-28 21:10:15 +10:00
Randy Mackay
211bdb0bb6 Replay: include AP_RangeFinder.h 2015-04-24 15:49:09 +09:00
Randy Mackay
1f58cb9980 Replay: pass range finder into ahrs constructor 2015-04-24 11:27:27 +09:00
Andrew Tridgell
8f09ee077c Replay: try to cope better with millisecond timestamps in 400Hz copter logs 2015-04-20 15:12:51 +10:00
Andrew Tridgell
ea10877113 Replay: fix handling of old IMU messages 2015-03-28 10:52:37 -07:00
Andrew Tridgell
95a1ab0cab Replay: fixed build with new AP_Compass API 2015-03-13 18:46:16 +11:00
Randy Mackay
774332ea02 Replay: fixup after inertial nav and baro glitch removal 2015-03-13 16:41:08 +09:00
Jonathan Challinger
c2d60ed7a8 Replay: use hal.util soft_armed state 2015-02-11 20:57:27 +11:00
Andrew Tridgell
734cc61838 Replay: fixed build 2015-02-03 09:49:15 +11:00
Randy Mackay
18af7c1437 Replay: fix compile error for Serial Manager 2015-01-29 14:05:16 +11:00
Andrew Tridgell
d239d8314a Replay: fixed replay for re-organised dataflash messages 2015-01-21 14:38:37 +09:00
Andrew Tridgell
ad8480d5f7 Replay: keep airspeed msgs in log 2015-01-20 09:11:07 +11:00
Andrew Tridgell
231b44fc83 Replay: fixed baro.setHIL call 2015-01-09 11:50:57 +11:00
Andrew Tridgell
488714ccba Replay: updates for new AP_Baro API 2015-01-09 11:50:55 +11:00
Andrew Tridgell
406f11423e Replay: enable array bounds checking in Replay 2015-01-09 11:05:21 +11:00
Andrew Tridgell
0d8faab48f Replay: fixed build with AHRS change 2015-01-03 14:16:34 +11:00
Andrew Tridgell
584fa9b4bf Replay: fixed format string for EKF4 2015-01-03 14:07:25 +11:00
Andrew Tridgell
9b5a2ea1d0 Replay: fixed build 2015-01-01 09:37:17 +11:00
priseborough
9c8406998b Replay: Don't log EKF optical flow data if not required 2014-12-31 13:16:10 +09:00
Andrew Tridgell
068b5a54c9 Replay: prevent float exception in log writing 2014-12-09 12:45:58 +11:00
Andrew Tridgell
fa95ea91fd Replay: generate dataflash logs in Replay
this allows the calculated EKF flight path to be compared with
different parameters by using replay
2014-12-08 11:25:22 +11:00
Andrew Tridgell
a3422325c7 Replay: cope with new airspeed log msg 2014-11-22 18:27:51 +11:00
Andrew Tridgell
c52578426e Replay: cope with up to 3 IMUs 2014-11-16 12:31:05 +11:00