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
Peter Barker
7d8a629e64
autotest: add test for COMPASS_LEARN=2, copy-from-EKF
2025-01-28 21:55:47 +11:00
Peter Barker
a405c67452
autotest: add a test for in-flight compass learning
2025-01-28 12:23:53 +11:00
Iampete1
f8967eb842
SITL: AP_Periph: sim_update_actuator
report IDs that match AP channel indexes
2025-01-28 12:10:17 +11:00
Thomas Watson
46e081aea1
ardupilotwaf: add -fno-math-errno to ChibiOS boards
...
Allows better use of math instructions as opposed to calling library
functions to implement math like `sqrt`. This saves flash and increases
speed. ArduPilot does not use EDOM or ERANGE anyway.
Might cause issues with malloc errno:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576 but ArduPilot does
not check for ENOMEM or use errno much anyway.
2025-01-28 11:54:34 +11:00
Iampete1
d4ddea5c64
Tools: autotest: copter: RecordThenPlayMission
expect takeoff as first item
2025-01-28 10:30:06 +11:00
Peter Barker
b5ce6f1efd
waf: disable battery-balance features on simulated periphs
2025-01-28 09:11:21 +11:00
Peter Barker
b3bc0528e0
Tools: create and use AP_PERIPH_BATTERY_ENABLED
...
... and AP_PERIPH_BATTERY_BALANCE_ENABLED while we're here
2025-01-28 09:11:21 +11:00
Peter Barker
b4ec9a73ec
autotest: point to dotriaconta_octaquad_x setup script in vehicleinfo.py
2025-01-27 14:03:41 +11:00
Peter Barker
f0d6622212
Tools: rename m32 frame to dotriaconta_quad_x
2025-01-27 14:03:41 +11:00
Peter Barker
51a56dc909
autotest: rename dotriaconta_quad_x defaults file
2025-01-27 14:03:41 +11:00
murata
46b1bd6866
autotest: Support Hexadeca-Octa (OCTA-X16)
2025-01-27 14:03:41 +11:00
Peter Barker
00bd5710ab
autotest: support installing a script to setup frame motor layout
2025-01-27 14:03:41 +11:00