Andrew Tridgell
2aceab2b66
Replay: fixed build
2018-04-24 21:33:10 +10:00
khancyr
9ade6cd579
Replay: Remove AP_InertialNav
2018-04-24 21:33:10 +10:00
Michael du Breuil
8fbec1cfa3
Replay: Support GCS_MAVLink changes
2018-03-27 22:12:21 +01:00
Peter Barker
ada7d700c2
Tools: support for units on fields
...
Tools: add units to minimal log format
Tools: add units to CHEK message
2017-11-23 10:40:30 +11:00
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
0062084c40
Tools: Replay: option to print packet counts out at end
2017-09-12 19:01:59 +01:00
Randy Mackay
cd8661c665
Replay: integrate simpler Log_Write_EKF
2017-08-23 11:19:14 +09:00
Michael du Breuil
1b6c3aeea1
Replay: Avoid linking AFS
2017-08-15 15:14:56 +01:00
Peter Barker
1c2e1eeaf8
Tools: provide dummy function to avoid linking the AP_Camera
2017-08-09 16:18:22 +01:00
Peter Barker
dff026e30c
Tools: Replay: move starting of new logs into DataFlash
2017-07-19 16:37:28 +01:00
Peter Barker
6a7ed2646c
Tools: Replay: Use GCS_Dummy GCS singleton
2017-07-07 16:18:37 +01:00
Peter Barker
10b69b46e1
Replay: StartUnstartedLogging replaces logging_started/start_logging
2017-06-11 20:34:12 +01:00
Peter Barker
e2f15e5fdb
Tools: create a GCS_Replay class
...
Avoids a segfault as we assume gcs() returns an object
Provides some usefult debug as to what we're sending to the GCS as
debug
2017-02-23 23:03:54 -08:00
Peter Barker
f5c89117f6
Replay: remove unused variables
...
Also avoids segmentation fault on exit
2017-02-23 17:18:47 +11:00
Andrew Tridgell
bebc7e4519
Replay: removed EKF_ENABLE parameter
2016-12-19 08:07:13 +11:00
Andrew Tridgell
35bed59bd4
Tools: Add EKF3 and remove EK1
2016-12-19 08:07:10 +11:00
Randy Mackay
d1f944d0c9
Replay: remove call to EKF1 logging
2016-11-30 17:57:09 +09:00
Lucas De Marchi
6c9f46bafb
Replay: fix shadowed declaration
...
../../Tools/Replay/Replay.cpp: In member function ‘FILE* Replay::xfopen(const char*, const char*)’:
../../Tools/Replay/Replay.cpp:485:60: warning: declaration of ‘filename’ shadows a member of ‘Replay’ [-Wshadow]
FILE *Replay::xfopen(const char *filename, const char *mode)
^
2016-11-16 22:28:11 -02:00
Peter Barker
78d7a144b1
Replay: add close-on-exec to fopen flags
2016-11-16 22:20:33 -02:00
Peter Barker
4543f1c548
Replay: check return value from fopen() of output files
2016-11-16 22:20:10 -02:00
Lucas De Marchi
3620529c22
Replay: remove infinite loop from loop() method
...
Remove the while() loop inside Replay::loop() so the new signal handlers
correctly notify the mainloop to exit.
This makes SIGTERM/SIGINT work again.
2016-11-02 16:28:20 -02:00
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Staroselskii Georgii
bd8c61542d
Replay: make use of sigaction instead of signal API
...
It's a more proper and portable way to set up signal handlers.
2016-07-27 21:30:19 +10:00
Staroselskii Georgii
9576be3a21
Replay: encapsulated signal handling
2016-07-27 21:30:18 +10:00
priseborough
cc0d3b89d3
Replay: use separated EKF horiz/vert position interfaces
2016-07-19 12:16:49 +10:00
Paul Riseborough
094dd9d769
Replay: Fix bug preventing use of IMT data during replay
2016-06-28 14:20:13 +10:00
Peter Barker
eefdc32f51
Replay: print message when gap perceived in log
2016-06-07 14:00:14 +10:00
Peter Barker
f6c7a73170
Replay: command line option to disable FP exceptions
2016-06-07 12:45:38 +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
600c23f3bf
Replay: use SCHED_LOOP_RATE for loop rate if available
2016-05-25 10:45:46 +10:00
Paul Riseborough
b1e9207c0f
Replay: extend ekf fault status reporting coverage
2016-05-21 15:13:51 +10:00
Andrew Tridgell
4116f80901
Replay: added --no-params option
2016-05-16 17:22:11 +10:00
dgrat
76362caee0
AP_Math: Replace wrap_* functions with template versions
2016-05-10 11:41:26 -03:00
Andrew Tridgell
84d45cce40
Replay: fixed log rate detection
2016-05-10 15:40:48 +10:00
Andrew Tridgell
276f5dd3f1
Replay: use a larger LOG_FILE_BUFSIZE for Replay
2016-05-09 13:58:37 +10:00
Andrew Tridgell
248ce2e0e6
Replay: enable LOG_REPLAY in replay
2016-05-09 12:48:30 +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
772acf056b
Replay: fixed overriding of parameters
...
bug was later PARM messages in log
2016-05-07 18:27:19 +10:00
Andrew Tridgell
315d3854db
Replay: improved log rate detection
2016-05-07 18:27:19 +10:00
Andrew Tridgell
b31e896ef3
Replay: closer to goal of bit-accurate replay
2016-05-07 18:27:18 +10:00
Andrew Tridgell
640a04a1ee
Replay: fixed to handle IMT copter logs
2016-05-07 18:27:17 +10:00
bugobliterator
065c67af57
Replay: fix replay build
2015-12-29 10:46:35 -08:00
Andrew Tridgell
26ced77ebc
Replay: fixes for AP_Scheduler change
2015-12-27 14:57:28 +09:00
Jonathan Challinger
07d87d8877
Replay: reflect renamed function in AP_AHRS
2015-12-18 18:08:37 +11:00
Lucas De Marchi
8f9fa568b4
Tools: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:45 +11:00
Peter Barker
45d80080c3
Replay: use IMT in preference to IMU
2015-12-03 13:23:19 +11:00
Lucas De Marchi
2591261af6
Global: rename min and max macros to uppercase
...
The problem with using min() and max() is that they conflict with some
C++ headers. Name the macros in uppercase instead. We may go case by
case later converting them to be typesafe.
Changes generated with:
git ls-files '*.cpp' '*.h' -z | xargs -0 sed -i 's/\([^_[:alnum:]]\)max(/\1MAX(/g'
git ls-files '*.cpp' '*.h' -z | xargs -0 sed -i 's/\([^_[:alnum:]]\)min(/\1MIN(/g'
2015-12-01 16:28:09 -02:00
Caio Marcelo de Oliveira Filho
071d8e541e
Replay: use millis/micros/panic functions
2015-11-20 12:26:55 +09:00