Andrew Tridgell
94841dd608
Tools: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Peter Barker
8c5136e06d
Tools: move Arming, Beacon and RC_Mapper into ardupilotwaf.py
...
these were built for all vehicles, so put them in the common list
2024-04-17 18:11:46 +10:00
Peter Barker
90c4bd0ee8
Replay: instantiate SRV_Channels object
...
the init call in AP_Vehicle requires the singleton to be present
2024-03-12 09:10:22 +11:00
Richard Marko
04b46678a4
treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
...
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Peter Barker
bdb84181bc
Tools: move logger object up to AP_Vehicle
2024-02-13 10:54:29 +11:00
Peter Barker
fb87369c7e
Tools: Replay: correct compilation when AdvancedFailsafe not available
2023-10-17 18:21:04 +11:00
Pierre Kancir
9d76d1e3df
Tools: Test for membership should be `not in`
2023-09-02 13:27:25 +10:00
Paul Riseborough
e3d05094a0
Tools/Replay: Add handlers for external lat lng position set
2023-06-06 15:19:12 +10:00
bugobliterator
4808b5bfa1
Replay: change INS_ to INS
2023-03-21 10:04:16 +11:00
Iampete1
d82f79b492
Tools: Replay: use shared Param info defines
2023-01-11 18:41:34 +11:00
Peter Barker
65915441b6
Tools: make check_var_info void
...
Given all the callers die anyway, make it void
2023-01-10 10:48:15 +11:00
Peter Barker
9c726b8f68
Tools: change namespace of MultiCopter and FixedWing params
...
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker
aff0015af6
Tools: check_replay.py: add --ignore-field option
2022-08-24 18:28:10 +10:00
Iampete1
2b69e69f7e
Tools: Replay: params always use set method
2022-08-03 13:43:48 +01:00
Peter Barker
67aa9ecdd4
Tools: adjust for when LTM telemetry is disabled
2022-06-28 20:19:41 +10:00
Andrew Tridgell
8f2f770e93
Replay: support set source events
2022-05-31 09:17:37 +10:00
Peter Barker
1321a66d97
Replay: include cleanups
2022-03-01 11:21:33 +11:00
Josh Henderson
2f7e07069f
Replay: move AP_Airspeed to AP_Vehicle
2022-01-19 18:21:32 +11:00
Andrew Tridgell
9ee140cbbf
Tools: revert compass parameter changes
2021-12-04 16:51:53 +11:00
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
2021-12-01 19:16:44 +11:00
Peter Barker
b9a472f47f
Tools: check_replay.py: improve diagnostics upon failure
2021-11-30 10:19:20 +11:00
Iampete1
11db1aaa40
Replay: remove compass params underscore
2021-11-30 08:14:43 +09:00
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
2021-10-19 08:15:15 +11:00
Peter Barker
6dbefd63d3
Replay: define HAL_GCS_ENABLED to 0
2021-09-22 21:37:00 +10:00
Andrew Tridgell
d181adfa75
Replay: added --accuracy option
...
useful for finding what has diverged
2021-07-21 17:55:04 +10:00
Siddharth Purohit
b39b4abb12
Replay: move to using tool instead of tools program group
2021-07-07 17:31:09 +10:00
Andrew Tridgell
3a1d2f1852
Replay: remove takeoff/touchdown event handling
2021-06-02 11:13:16 +09:00
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()'
2021-04-29 13:00:40 +10:00
Siddharth Purohit
5657dad3e6
Replay: move underscore one layer down for GPS
2021-03-12 16:32:36 +09:00
Paul Riseborough
0a052d20ea
Tools: Add handling for default airspeed variance
2021-03-05 12:10:01 +11:00
Andrew Tridgell
3f6fd49507
Replay: rename baro params to BARO*
2020-12-08 13:22:17 +11:00
Peter Barker
d0236ceac9
Replay: check_replay_branch.py: inspect all logs for replayability
2020-12-03 17:28:26 +11:00
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
2020-12-01 10:40:09 +11:00
Peter Barker
8d756d8758
Replay: check_replay.py: default to print for progress function
2020-12-01 10:40:09 +11:00
Andrew Tridgell
4e4a044d5d
Tools: removed inhibitGps and inhibitGpsVertVel options
...
these were unused
2020-12-01 10:33:50 +11:00
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)
2020-11-18 14:56:19 +11:00
Andrew Tridgell
32bead6013
Replay: use common events and structures
...
allows for --force-ekf2 and --force-ekf3 to run the other EKFs events
when needed
2020-11-17 13:45:07 +11:00
Andrew Tridgell
1250f62c88
Replay: fix for WriteV usage and cleanup unused code
2020-11-16 10:28:43 +11:00
Andrew Tridgell
e143257f8a
Replay: added GSF msgs to check_replay.py
2020-11-16 10:28:43 +11:00
Andrew Tridgell
e122d8ae8e
Replay: allow build with "./waf replay"
...
a bit easier to remember
2020-11-16 10:28:43 +11:00
Andrew Tridgell
7308384cdc
Replay: require a filesystem for replay
2020-11-10 16:15:45 +11:00
Andrew Tridgell
20ecac5e9f
Replay: fixed build on boards with OSD
2020-11-10 16:15:45 +11:00
Andrew Tridgell
4edc784dc4
Replay: allow replay on ChibiOS
2020-11-10 16:15:45 +11:00
Andrew Tridgell
7568639af7
Replay: don't build on chibios
2020-11-10 16:15:45 +11:00
Andrew Tridgell
0ca54016bb
Replay: cleanup use of globals
2020-11-10 16:15:45 +11:00
Andrew Tridgell
85aa64780c
Replay: allow replay to run on SITL instead of linux HAL
2020-11-10 16:15:45 +11:00
Andrew Tridgell
f1f547f723
Replay: allow check_replay to be called as library
2020-11-10 16:15:45 +11:00
Andrew Tridgell
0d8a36d0c0
Replay: fixed linux build warning
2020-11-10 16:15:45 +11:00
Andrew Tridgell
541d11ee05
Replay: cleanup unused code
2020-11-10 16:15:45 +11:00
Andrew Tridgell
367c993673
Replay: fixed cast of REY3
2020-11-10 16:15:45 +11:00