Commit Graph

208 Commits

Author SHA1 Message Date
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
Andrew Tridgell 4e87056631 Replay: fixed build with AP_NavEKF API change 2014-10-31 10:47:57 +11:00
Jonathan Challinger 210f4397da Replay: clean up unused variables deltaGyroBias and divergeRate 2014-10-30 18:17:37 +11:00
priseborough 296dfad600 Replay : Remove unused numerical divergence metric 2014-10-30 18:17:37 +11:00
Andrew Tridgell 485397c4cb Replay: cope with old copter attitude and baro msgs 2014-10-25 11:20:26 +11:00
Andrew Tridgell d809ce51a7 Replay: convert to new AP_InertialSensor API 2014-10-24 12:10:38 +11:00
Andrew Tridgell baad65bafc Replay: update for new copter ATTITUDE message 2014-10-19 20:12:12 +11:00
Andrew Tridgell fce20b24c2 Replay: fixed printf format 2014-10-19 19:41:57 +11:00
Andrew Tridgell 6e0e56a6ef Replay: fixed loading of users parameters and parameter override
use compass.set_offsets() to avoid trying to write to storage
2014-10-15 09:17:22 +11:00
Andrew Tridgell ea889e2e00 Replay: fixed build 2014-08-13 18:46:44 +10:00
Andrew Tridgell 35b0692fd5 Replay: fixed build 2014-08-10 21:25:16 +10:00
Andrew Tridgell b89988b2df Replay: fixed build 2014-08-06 22:27:50 +10:00
Randy Mackay 61506c52dc Replay: fix example sketch 2014-07-29 15:26:05 +09:00
Andrew Tridgell 2ddfaa60b9 Replay: fixed build 2014-07-25 17:15:29 +10:00
Andrew Tridgell 4fad9b0a89 Replay: fixed build of replay tool
changes to compass API
2014-07-12 11:08:04 +10:00
priseborough deb16ac5bb Replay: Add EKF fault status logging message to EKF4 2014-05-15 21:14:21 +10:00
Andrew Tridgell 47926dc6ea Replay: fixed for changes to AP_Compass HIL API 2014-05-15 21:14:21 +10:00
Randy Mackay c3d6ed1e3e Replay: add constraint on EKF4 data packet values 2014-05-01 16:54:31 +09:00
Andrew Tridgell 2acddb9696 Replay: fixed ahrs.set_fly_forward() in Replay for copter 2014-04-27 15:37:02 +10:00
Andrew Tridgell 250deaa32f Replay: added vehicle class detection 2014-04-21 18:13:13 +10:00
Andrew Tridgell 7ca08294e7 Replay: added floating point exception checking
allows NaN errors to be caught in gdb
2014-04-21 15:37:07 +10:00
Andrew Tridgell 2295632660 Replay: added -A option to set arming time 2014-04-21 13:00:59 +10:00
Andrew Tridgell 623cbc3316 Replay: cope with too many log format msgs 2014-04-20 21:45:31 +10:00
Andrew Tridgell eaf746b7fd Replay: fixed velocity vector 2014-04-02 19:08:45 +11:00
Andrew Tridgell ec04eba61c Replay: handle multiple GPS sensors 2014-04-02 07:55:28 +11:00
priseborough 4f2a390dfa Replay : Incorporate EKF4 flash logging updates 2014-04-01 21:27:09 +11:00
Andrew Tridgell 60ad429d13 Replay: convert to new GPS API 2014-04-01 06:38:24 +11:00
Andrew Tridgell 2008f737cf Replay: fixed build with AP_Mission 2014-03-19 21:02:39 +11:00
Andrew Tridgell 330728cd80 Replay: fixed compass readings on rover 2014-03-06 21:40:08 +11:00
Andrew Tridgell 5dfd9b074e Replay: fixed for rover logs 2014-03-06 17:51:49 +11:00
Andrew Tridgell f2c79ad639 Replay: fixed -g option 2014-03-02 08:09:13 +11:00
Andrew Tridgell ecdcf70ef5 Replay: added accel and gyro mask options 2014-03-02 08:00:51 +11:00
Andrew Tridgell 3218ac8e7a Replay: added parameter handling
use parameters from log, and allow override
2014-03-01 15:15:46 +11:00
Andrew Tridgell 853271dd37 Replay: moved replay tool into Tools/Replay 2014-03-01 14:30:55 +11:00