Commit Graph

9433 Commits

Author SHA1 Message Date
Shiv Tyagi
222f3ceefd Tools: use AP_PERIPH_NETWORKING_ENABLED for HAL_PERIPH_ENABLE_NETWORKING 2025-02-17 09:55:51 +11:00
Shiv Tyagi
0248f0d5d8 Tools: replace HAL_PERIPH_ENABLE_AIRSPEED with AP_PERIPH_AIRSPEED_ENABLED 2025-02-16 10:11:10 +11:00
Andy Piper
a23f9cd754 AP_Bootloader: SpeedyBee board ids 2025-02-13 11:25:33 +01:00
Shiv Tyagi
abc605c7e4 Tools: u AP_PERIPH_RPM_ENABLED and AP_PERIPH_RPM_STREAM_ENABLED 2025-02-13 20:29:06 +11:00
Peter Barker
9e88953a41 autotest: add test for Copter stopping distance calculation issue
having a really slow RTL speed should not cause stopping-distance problems, but it does.  The vehicle goes off track as the PSC can't achieve the stopping distance demanded
2025-02-13 14:14:28 +11:00
Peter Barker
1f7b4b99be autotest: examples.py: run all tests, fail after running all
autotest: disable running some examples as they're misbehaving
2025-02-13 09:59:49 +11:00
Peter Barker
238429e5c5 autotest: build sitl examples as part of build.examples 2025-02-13 09:59:49 +11:00
Shiv Tyagi
651e0be73c Tools: replace HAL_PERIPH_ENABLE_RCIN with AP_PERIPH_RCIN_ENABLED 2025-02-11 19:31:19 +11:00
Iampete1
e62ca116df Tools: autotest: copter: add test for RTL_ALT_FINAL 2025-02-11 09:52:55 +09:00
Henry Wurzburg
f320fddca1 Tools:enhance AUTOLAND autotest 2025-02-11 11:16:33 +11:00
Peter Barker
6392fac6d9 autotest: add autotest for tuning loiter x/y speed 2025-02-11 08:35:34 +09:00
Your Name
ad97fe6a6c Tools: AP_HAL_ChibiOS: Add ZeroOne_Air board 2025-02-11 08:09:27 +11:00
Shiv Tyagi
0b96145fbb Tools: use AP_PERIPH_RTC_ENABLED in place of HAL_PERIPH_ENABLE_RTC 2025-02-10 09:37:48 +11:00
Shiv Tyagi
af1220f883 Tools: explicitly set AP_PERIPH_XX_ENABLED defines to 0 for sitl_periph_gps and sitl_periph_battmon 2025-02-08 23:25:12 +11:00
Shiv Tyagi
61fb095525 Tools: use AP_PERIPH_IMU_ENABLED in place of HAL_PERIPH_ENABLE_IMU 2025-02-08 08:22:10 +11:00
rafasaurus
0e7e8ba5bf Tools: uploader.py: verify correct install
- Implement functionality to verify correct firmware installation
- Utilize existing code with an additional argument for verification
2025-02-07 10:17:11 +11:00
Peter Barker
034a76039f autotest: set parameter value so context pop resets it
if a vehicle magically sets a parameter (eg. via compass learn) then it can persist pat test end and reboots and everything,.

In this case it can randomly cause the next test to fail with a megneti field difference error
2025-02-06 16:03:52 +11:00
Peter Barker
145dc2cd16 autotest: add option to quieten set_rc_from_map 2025-02-06 16:03:52 +11:00
Peter Barker
1d5f116bce autotest: add a test for trimming AHRS using RC inputs 2025-02-06 16:03:52 +11:00
Peter Barker
d0dff23ff7 Tools: use aux switch to trigger AHRS-trim-via-RC-input 2025-02-06 16:03:52 +11:00
Peter Barker
8c7afb3741 waf: correct clang++ extension name
seems to have changed between versions
2025-02-06 10:21:16 +11:00
Henry Wurzburg
db8931f6ba Tools:reserve bd id for BrahamF4 2025-02-06 10:20:54 +11:00
Peter Barker
e9e419d252 autotest: add test for fetching invalid fence point 2025-02-06 10:20:23 +11:00
Peter Barker
400699fc38 waf: stop clang complaining about variable-length stack arrays 2025-02-05 18:05:40 +11:00
Peter Barker
a1cf1cf854 Tools: add option to require position for Rover before arming 2025-02-05 10:39:20 +11:00
Peter Barker
3acb03b26e autotest: add test for Rover's require-location-for-arming flag 2025-02-05 10:39:20 +11:00
bugobliterator
402936abf3 bootloaders: update bootloaders using networking 2025-02-05 10:23:46 +11:00
Tdogb
bac78b54bf Tools: allow selection of AUAV airspeed in custom build server 2025-02-04 16:17:28 +11:00
Peter Barker
613aa6028f waf: move setting of -cl-single-precision-constant into cxx-flags block
we have two separate blocks, one for setting c flags, one for setting cxx flags.

Move cxx set into correct area
2025-02-04 11:55:39 +11:00
Peter Barker
5dc7751654 Tools: move REQUIRE_POSITION_FROM_ARMING bit to AP_arming
while Copter is the only user at the moment, will be useful on Rover shortly
2025-02-04 09:02:16 +09:00
Iampete1
31fe3d31f3 Tools: autotest: suite: add check_parameter_value to to check parmamter is withing a given percentage of the expected value 2025-02-04 10:41:56 +11:00
Iampete1
f59f28b03a Tools: autotest: arduplane: check param values after autotune 2025-02-04 10:41:56 +11:00
Wdiy
9a1dc96a67 board_types.txt: add SULILGH7-P1-P2 2025-02-04 09:41:13 +11:00
Peter Barker
e5e3e9a40b autotest: do not assert COMPASS_LEARN value after we set it
the autopilot can instantly reset this back to 0 after we set it, so we never receive the set value:

2025-01-30T06:49:04.2029371Z AT-0931.7: COMPASS_LEARN want=3.000000 autopilot=0.0 (attempt=3/10)
2025-01-30T06:49:04.2029876Z AT-0931.7: Sending set (COMPASS_LEARN) to (3.000000) (old=0.000000)
2025-01-30T06:49:04.2030299Z AT-0931.7: AP: CompassLearn: Initialised
2025-01-30T06:49:04.2030653Z AT-0931.7: AP: CompassLearn: Finished
2025-01-30T06:49:04.2031166Z AT-0931.7: Received wanted PARAM_VALUE COMPASS_LEARN=0.000000
2025-01-30T06:49:04.2031653Z AT-0931.7: Received wanted PARAM_VALUE COMPASS_LEARN=3.000000
2025-01-30T06:49:04.2032117Z AT-0931.7: Received wanted PARAM_VALUE COMPASS_LEARN=0.000000
2025-01-30T06:49:04.2032732Z AT-0931.7: COMPASS_LEARN want=3.000000 autopilot=0.0 (attempt=4/10)
2025-02-04 09:31:40 +11:00
Clyde McQueen
1df67446f6 autotest: test poshold bounceback 2025-02-03 13:05:01 -03:00
D.J. Morvay
8c94c6e992 Reserving IDs for Lumenier. 2025-02-03 13:09:03 +11:00
Shiv Tyagi
c324143866 Tools: create and use AP_PERIPH_RANGEFINDER_ENABLED 2025-02-03 10:06:04 +11:00
Andrew Tridgell
0cacc900d6 Tools: added TBS periph bootloader 2025-02-01 16:59:29 +11:00
Andrew Tridgell
05dd0f8b48 Tools: define board type for TBS_L431_Periph 2025-02-01 16:59:29 +11:00
Andrew Tridgell
30e3533cef AP_Periph: support CAN switch and LED defines
this allows for hwdef entries like this:

PB1 GPIO_CAN1_TERM OUTPUT PUSHPULL SPEED_LOW LOW
PB3 GPIO_CAN1_TERM_LED OUTPUT PUSHPULL SPEED_LOW LOW
PB0 GPIO_CAN1_TERM_SWITCH INPUT FLOAT

that specifies a termination pin controllable by either a parameter or
a hardware switch, with an LED to indicate if termination is active
2025-02-01 16:59:29 +11:00
Andrew Tridgell
0679282ce2 AP_Bootloader: support CAN termination switch and LED 2025-02-01 16:59:29 +11:00
Peter Barker
2ef98e18ce Tools: size_compare_branches.py: mark navigator64 as a Linux board
... so we don't try to buld bootloaders for it
2025-01-31 09:20:03 +11:00
Shiv Tyagi
dba4136f95 Tools: create and use AP_PERIPH_BARO_ENABLED 2025-01-31 08:25:28 +11:00
Shiv Tyagi
1060d6703b Tools: create and use AP_PERIPH_MAG_ENABLED 2025-01-30 08:49:03 +11:00
Peter Barker
f18c458b39 Tools: create_OEM_board.py: correct help string 2025-01-30 08:48:19 +11:00
Peter Barker
fe9fc8817b autotest: correct python used for clang-scan-build 2025-01-30 08:48:19 +11:00
Peter Barker
a2322abe02 AP_Periph: adjust for new type-safety for AP_Enum 2025-01-29 19:21:59 +11:00
Peter Barker
e0c9f5fc1c Tools: create_OEM_board: use argparse to parse command-line arguments
also fix use of global variables from within the class scope
2025-01-29 06:49:51 +11:00
Peter Barker
4fb4556017 Tools: rename SRV_Channel::Aux_servo_function_t to SRV_Channel::Function 2025-01-28 21:56:46 +11:00
Peter Barker
6a9d3f97dd Tools: use python3 -m pip to install Python packages 2025-01-28 21:56:05 +11:00