Peter Barker
1321a66d97
Replay: include cleanups
3 years ago
Josh Henderson
2f7e07069f
Replay: move AP_Airspeed to AP_Vehicle
3 years ago
Andrew Tridgell
9ee140cbbf
Tools: revert compass parameter changes
3 years ago
Shiv Tyagi
339a07b8d3
AP_Devo_Telem: compile out devo telemetry
...
Devo telemetry is one of the most rarely used features (almost never used since added) we should compile it out from our code
3 years ago
Peter Barker
b9a472f47f
Tools: check_replay.py: improve diagnostics upon failure
3 years ago
Iampete1
11db1aaa40
Replay: remove compass params underscore
3 years ago
Peter Barker
7cea90df98
Tools: fix --accuracy option to check_replay.py
...
args is not in-scope when check_replay is being used as a library rather
than as a script
3 years ago
Peter Barker
6dbefd63d3
Replay: define HAL_GCS_ENABLED to 0
3 years ago
Andrew Tridgell
d181adfa75
Replay: added --accuracy option
...
useful for finding what has diverged
4 years ago
Siddharth Purohit
b39b4abb12
Replay: move to using tool instead of tools program group
4 years ago
Andrew Tridgell
3a1d2f1852
Replay: remove takeoff/touchdown event handling
4 years ago
Peter Barker
40a84bc566
Replay: link AP_Avoidance
...
[864/864] Linking build/bbbmini/tools/Replay
11:47:27 runner ['/usr/lib/ccache/arm-linux-gnueabihf-g++', '-Wl,--gc-sections', '-pthread', 'Tools/Replay/DataFlashFileReader.cpp.34.o', 'Tools/Replay/LR_MsgHandler.cpp.34.o', 'Tools/Replay/LogReader.cpp.34.o', 'Tools/Replay/MsgHandler.cpp.34.o', 'Tools/Replay/Replay.cpp.34.o', '-otools/Replay', '-Wl,-Bstatic', '-Llib', '-lReplay_libs', '-Wl,-Bdynamic', '-lm', '-ldl']
lib/libReplay_libs.a(RC_Channel.cpp.0.o): In function `RC_Channel::do_aux_function_avoid_adsb(RC_Channel::AuxSwitchPos)':
RC_Channel.cpp:(.text._ZN10RC_Channel26do_aux_function_avoid_adsbENS_12AuxSwitchPosE+0x4): undefined reference to `AP::ap_avoidance()'
4 years ago
Siddharth Purohit
5657dad3e6
Replay: move underscore one layer down for GPS
4 years ago
Paul Riseborough
0a052d20ea
Tools: Add handling for default airspeed variance
4 years ago
Andrew Tridgell
3f6fd49507
Replay: rename baro params to BARO*
4 years ago
Peter Barker
d0236ceac9
Replay: check_replay_branch.py: inspect all logs for replayability
4 years ago
Peter Barker
ba0367fa9f
Replay: add check_replay_branch.py to check for EKF output changes
...
Create a replay log using master branch.
Check out a specified branch, compile and run Replay against replay log
Run check_replay.py over the produced log
4 years ago
Peter Barker
8d756d8758
Replay: check_replay.py: default to print for progress function
4 years ago
Andrew Tridgell
4e4a044d5d
Tools: removed inhibitGps and inhibitGpsVertVel options
...
these were unused
4 years ago
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