Andrew Tridgell
70a8853e6a
Replay: adjust lost message threshold
...
this needs to be a bit higher to cope with truncated logs (if SITL
ends in the middle of an EKF log write then we end up with a mismatch
in log msg counts)
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
1250f62c88
Replay: fix for WriteV usage and cleanup unused code
4 years ago
Andrew Tridgell
e143257f8a
Replay: added GSF msgs to check_replay.py
4 years ago
Andrew Tridgell
e122d8ae8e
Replay: allow build with "./waf replay"
...
a bit easier to remember
4 years ago
Andrew Tridgell
7308384cdc
Replay: require a filesystem for replay
4 years ago
Andrew Tridgell
20ecac5e9f
Replay: fixed build on boards with OSD
4 years ago
Andrew Tridgell
4edc784dc4
Replay: allow replay on ChibiOS
4 years ago
Andrew Tridgell
7568639af7
Replay: don't build on chibios
4 years ago
Andrew Tridgell
0ca54016bb
Replay: cleanup use of globals
4 years ago
Andrew Tridgell
85aa64780c
Replay: allow replay to run on SITL instead of linux HAL
4 years ago
Andrew Tridgell
f1f547f723
Replay: allow check_replay to be called as library
4 years ago
Andrew Tridgell
0d8a36d0c0
Replay: fixed linux build warning
4 years ago
Andrew Tridgell
541d11ee05
Replay: cleanup unused code
4 years ago
Andrew Tridgell
367c993673
Replay: fixed cast of REY3
4 years ago
Andrew Tridgell
e7fa722290
Replay: support overriding parameters
4 years ago
Andrew Tridgell
3d2f07e757
Replay: support body frame odometry
4 years ago
Andrew Tridgell
afb11cf29b
Replay: support wheel odomotry
4 years ago
Andrew Tridgell
0ee8b415f2
Replay: support external position and velocity data
4 years ago
Andrew Tridgell
1fb421ae6a
Replay: handle optical flow
...
and move frame processing to AP_DAL
4 years ago
Andrew Tridgell
614a77d2c9
Replay: allow for early log end in check_replay.py
...
when session is killed we can lose one frame worth of EKF msgs
4 years ago
Andrew Tridgell
4cd5ac5164
Replay: add call to RFRF handler
4 years ago
Andrew Tridgell
09265a8a9b
Replay: improved failure reporting in check_replay.py
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
Patrick José Pereira
27720f2235
Tools: Replay: Move from uint to uint32_t in MsgHandler
...
uint is not a fundamental type and does not exist under cstdint
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
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
Andrew Tridgell
71732d07f0
Replay: disable case-align for Replay build
5 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
Tatsuya Yamaguchi
058cd4200f
Tools: Replay: allow scripts to get modes
5 years ago
Andrew Tridgell
c0d9731dd4
Replay: fixed for AP_Vehicle usage
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
Peter Barker
1ba0e5350f
Tools: NavEKF constructors no longer take rangefinder
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
b8cbd64c86
Tools: Replay: use Event enumeration from Logger header
5 years ago
Peter Barker
f431c0b256
Replay: use ahrs singleton to log ATT, POS and AHRS2
5 years ago
Peter Barker
642935fd43
Tools: random Python cleanups based on lgtm analysis
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
Michael du Breuil
7ca6fd928e
Replay: Included needed headers directly
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
070e9e56b3
Tools: rangefinder no longer takes SerialManager in constructor
6 years ago
Peter Barker
bb677756a0
Tools: Replay: EKF logging moved to AHRS from logger
6 years ago
Michael du Breuil
0e4b751786
Replay: Fix AP_GPS.h include
6 years ago
Peter Barker
5ab000376b
Tools: Replay: correct format strings
6 years ago
Peter Barker
6fd138d613
Tools: Replay: build and link against AP_Arming
6 years ago
Michael du Breuil
3a25897ab4
Replay: Fix rangefinder constructor
6 years ago