Peter Barker
bf9b8f41bf
Tools: Replay: cope with WARN_IF_UNUSED on AP_AHRS::set_home
6 years ago
Peter Barker
9eea14054e
Tools: Replay: fix build
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
5452730fc9
Tools: Replay: make it work again
...
Tools: Replay: ignore setting of LOG_DISARMED
Otherwise log files that come in with LOG_DISARMED false don't get any
significant output
Tools: Replay: apply user parameters after any PARM message
Tools: Replay: emit timestamp when EKF is force-started
Tools: Replay: use stderr for what it's good for
Tools: Replay: force log disarmed
6 years ago
Peter Barker
af66d72510
Tools: Replay: correct -n command-line argument
6 years ago
Peter Barker
961aac454b
Tools: Replay: use Log_Write for CHEK message
6 years ago
Peter Barker
95f7b1aeb7
Tools: add dummy AP::camera method to avoid linking camera
7 years ago
Peter Barker
357a57f68a
Tools: Replay: implement more dummy camera methods to avoid linking camera
7 years ago
Andrew Tridgell
2aceab2b66
Replay: fixed build
7 years ago
khancyr
9ade6cd579
Replay: Remove AP_InertialNav
7 years ago
Michael du Breuil
8fbec1cfa3
Replay: Support GCS_MAVLink changes
7 years ago
Peter Barker
ada7d700c2
Tools: support for units on fields
...
Tools: add units to minimal log format
Tools: add units to CHEK message
7 years ago
Peter Barker
d475b91564
Tools: Replay: pass a lambda function to LR_MsgHandler_PARM to set parameters
...
This avoid duplication of parameter setting logic.
8 years ago
Peter Barker
0062084c40
Tools: Replay: option to print packet counts out at end
8 years ago
Randy Mackay
cd8661c665
Replay: integrate simpler Log_Write_EKF
8 years ago
Michael du Breuil
1b6c3aeea1
Replay: Avoid linking AFS
8 years ago
Peter Barker
1c2e1eeaf8
Tools: provide dummy function to avoid linking the AP_Camera
8 years ago
Peter Barker
dff026e30c
Tools: Replay: move starting of new logs into DataFlash
8 years ago
Peter Barker
6a7ed2646c
Tools: Replay: Use GCS_Dummy GCS singleton
8 years ago
Peter Barker
10b69b46e1
Replay: StartUnstartedLogging replaces logging_started/start_logging
8 years ago
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
8 years ago
Peter Barker
f5c89117f6
Replay: remove unused variables
...
Also avoids segmentation fault on exit
8 years ago
Andrew Tridgell
bebc7e4519
Replay: removed EKF_ENABLE parameter
8 years ago
Andrew Tridgell
35bed59bd4
Tools: Add EKF3 and remove EK1
8 years ago
Randy Mackay
d1f944d0c9
Replay: remove call to EKF1 logging
8 years ago
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)
^
8 years ago
Peter Barker
78d7a144b1
Replay: add close-on-exec to fopen flags
8 years ago
Peter Barker
4543f1c548
Replay: check return value from fopen() of output files
8 years ago
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.
8 years ago
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.
8 years ago
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.
9 years ago
Staroselskii Georgii
9576be3a21
Replay: encapsulated signal handling
9 years ago
priseborough
cc0d3b89d3
Replay: use separated EKF horiz/vert position interfaces
9 years ago
Paul Riseborough
094dd9d769
Replay: Fix bug preventing use of IMT data during replay
9 years ago
Peter Barker
eefdc32f51
Replay: print message when gap perceived in log
9 years ago
Peter Barker
f6c7a73170
Replay: command line option to disable FP exceptions
9 years ago
Andrew Tridgell
1e44251d35
Replay: include a minimal set of FMT messages at start of log
9 years ago
Andrew Tridgell
366d95f45e
Replay: fixed FMT messages in replay output
9 years ago
Andrew Tridgell
736c162d21
Replay: added --param-file option
9 years ago
Andrew Tridgell
600c23f3bf
Replay: use SCHED_LOOP_RATE for loop rate if available
9 years ago
Paul Riseborough
b1e9207c0f
Replay: extend ekf fault status reporting coverage
9 years ago
Andrew Tridgell
4116f80901
Replay: added --no-params option
9 years ago
dgrat
76362caee0
AP_Math: Replace wrap_* functions with template versions
9 years ago
Andrew Tridgell
84d45cce40
Replay: fixed log rate detection
9 years ago
Andrew Tridgell
276f5dd3f1
Replay: use a larger LOG_FILE_BUFSIZE for Replay
9 years ago
Andrew Tridgell
248ce2e0e6
Replay: enable LOG_REPLAY in replay
9 years ago
Andrew Tridgell
7abaa75653
Replay: added --logmatch option
...
match logging rate to input log
9 years ago
Andrew Tridgell
772acf056b
Replay: fixed overriding of parameters
...
bug was later PARM messages in log
9 years ago
Andrew Tridgell
315d3854db
Replay: improved log rate detection
9 years ago