Andrew Tridgell
3f6fd49507
Replay: rename baro params to BARO*
4 years ago
Andrew Tridgell
32bead6013
Replay: use common events and structures
...
allows for --force-ekf2 and --force-ekf3 to run the other EKFs events
when needed
4 years ago
Andrew Tridgell
4edc784dc4
Replay: allow replay on ChibiOS
4 years ago
Andrew Tridgell
85aa64780c
Replay: allow replay to run on SITL instead of linux HAL
4 years ago
Andrew Tridgell
0d8a36d0c0
Replay: fixed linux build warning
4 years ago
Andrew Tridgell
e7fa722290
Replay: support overriding parameters
4 years ago
Andrew Tridgell
81f96aedd2
Replay: new replay implemention
...
this uses log msgs from AP_DAL to replay more accurately
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
4 years ago
Peter Barker
1cefd2943b
Replay: correct various atrophications in Replay tool
...
Replay: tear down threads before exitting
NKQ is a generated name - don't copy it across to output
Stop whinging about presence of NKF6 and friends; we know these generated names are not going to be present in modern logs
memcpy rather than strncpy within log_FMT
Correct strings vs optionally-terminated structure entries in sanity checks
Call AP_Param::load_all() to start the parameter saving thread. AP_Compass' init() method now saves parameters (compass reordering), and because we're disarmed we will block until the parameter is pushed onto the to-save queue; if there's no thread popping off that list we block indefinitely.
Remove duplicate definitions of various singleton objects.
Replay: write out GPS message to output log
Useful for diagnosis, but also because we struggle to find a time base
without this and the pymavlink tools take forever to work
Replay: set COMPASS_DEV_ID and COMPASS_PRIO1_ID so EKF gets mag data
Replay: avoid use of system clock; use stopped-clock only
Replay: constraint to emitting output for single core only
4 years ago
Peter Barker
b8087c3e84
Replay: let AP_Vehicle handle loop()
5 years ago
Peter Barker
bde97596eb
Tools: adjust Replay for new AP_Vehicle requirements
5 years ago
Peter Barker
d95956a587
Replay: EKF objects have moved into AP_AHRS_NavEKF
5 years ago
Andy Piper
30878553d6
Tools: add AP_Camera to list of libraries
...
remove dummy Camera methods from Replay
add rcmapper to replay
make replay a vehicle
5 years ago
Marian Soban
018d6bd35b
Tools: Replay: add stubs to avoid linking LTM telemetry
5 years ago
Peter Barker
cd1c9309e6
Tools: add method to avoid linking AP_Avoidance
5 years ago
Peter Barker
f431c0b256
Replay: use ahrs singleton to log ATT, POS and AHRS2
5 years ago
Peter Barker
192b275837
Tools: Replay: add dummy AP::advancedfailsafe method
5 years ago
Peter Barker
6c22faa585
Tools: Replay: correct compilation (missing override keywords)
6 years ago
Peter Barker
6c5b03dbb7
Tools: Replay: var_info is now in GCS_MAVLINK_Parameters
6 years ago
Peter Barker
92dde5b111
Tools: Replay: move automatic declination setting into AP_Compass itself
6 years ago
Peter Barker
bb677756a0
Tools: Replay: EKF logging moved to AHRS from logger
6 years ago
Peter Barker
5ab000376b
Tools: Replay: correct format strings
6 years ago
Michael du Breuil
f92ee78890
Replay: Fix include
6 years ago
Tom Pittenger
a8908e3c57
Tools/Replay: rename datalogger to logger
6 years ago
Peter Barker
d4fe65b43c
Tools: Replay: remove definition of Devo constructor
6 years ago
Peter Barker
eb16c30bdb
Tools: Replay: add stubs to avoid linking devo
6 years ago
Dr.-Ing. Amilcar do Carmo Lucas
edac5e1a80
Tools: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
6 years ago
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