Peter Barker
d475b91564
Tools: Replay: pass a lambda function to LR_MsgHandler_PARM to set parameters
...
This avoid duplication of parameter setting logic.
2017-09-14 13:43:50 +01:00
Peter Barker
b5e206f72f
Replay: print some statistics on exit
2017-09-06 02:30:38 +01:00
Peter Barker
eefdc32f51
Replay: print message when gap perceived in log
2016-06-07 14:00:14 +10:00
Andrew Tridgell
1e44251d35
Replay: include a minimal set of FMT messages at start of log
2016-05-26 10:10:27 +10:00
Andrew Tridgell
366d95f45e
Replay: fixed FMT messages in replay output
2016-05-26 09:40:21 +10:00
Andrew Tridgell
736c162d21
Replay: added --param-file option
2016-05-25 20:46:18 +10:00
Andrew Tridgell
276f5dd3f1
Replay: use a larger LOG_FILE_BUFSIZE for Replay
2016-05-09 13:58:37 +10:00
Andrew Tridgell
7abaa75653
Replay: added --logmatch option
...
match logging rate to input log
2016-05-07 18:27:22 +10:00
Andrew Tridgell
c2aeb058cd
Replay: mark GPA as generated
2016-05-07 18:27:22 +10:00
Andrew Tridgell
827551c99f
Replay: added replay of GPS speed accuracy
2016-05-07 18:27:20 +10:00
Andrew Tridgell
b31e896ef3
Replay: closer to goal of bit-accurate replay
2016-05-07 18:27:18 +10:00
Andrew Tridgell
f367180f47
Replay: support 2 IMU EKF2
2016-04-26 14:39:44 +10:00
Andrew Tridgell
643178fbe3
Replay: handle EKF2 replay
2015-09-23 18:56:15 +10:00
Gustavo Jose de Sousa
84b5555a1a
Tools: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
2015-08-11 16:28:41 +10:00
Andrew Tridgell
f2106f39aa
Replay: save CHEK messages when not being generated
2015-07-09 10:20:45 +10:00
Andrew Tridgell
dd53f5a7a1
Replay: added --nottypes option
2015-07-07 15:14:05 +10:00
Andrew Tridgell
bdddfae57f
Replay: don't write out duplicate FMT messages
...
this makes replay output the same as input for when input is a replay
log
2015-07-04 22:43:54 +10:00
Andrew Tridgell
93800fb3a1
Replay: automatically find message types, and improve rate detection
2015-07-04 15:14:14 +10:00
Andrew Tridgell
b20318aaeb
Replay: remap msgids on pass-through to avoid conflicts
...
if msg IDs have changed since the log was produced they need to be
remapped
2015-07-03 09:32:05 +10:00
Andrew Tridgell
b93101b1bf
Replay: reduced verbosity
2015-07-01 21:11:46 +10:00
Andrew Tridgell
f2756ecb22
Replay: added checking of solution
2015-06-26 15:55:19 +10:00
Andrew Tridgell
31f7525a61
Replay: added --no-imt flag
2015-06-17 12:46:55 +10:00
Andrew Tridgell
c7cb980498
Replay: support IMT messages
2015-06-16 09:53:55 +10:00
Peter Barker
d41b21cd19
Replay: split off a base class for reading dataflash logs
2015-06-14 16:47:52 +10:00
Peter Barker
f4db241bf6
Replay: avoid dataflash buffer filling up on many pass-through messages
2015-06-09 21:52:46 +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
Andrew Tridgell
dc1ff9a757
Replay: added in_list() method
...
neaten up code
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
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
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
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
Peter Barker
67ba043b65
Replay: fix replay for CTUN (type=0) messages
2015-05-01 09:18:11 +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
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
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
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
485397c4cb
Replay: cope with old copter attitude and baro msgs
2014-10-25 11:20:26 +11:00