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
murata
3b8d1d23dd
AP_Periph: support 32 motors in a frame
2025-01-27 14:03:41 +11:00
Andrew Tridgell
843262ca3d
autotest: added m32 frame
2025-01-27 14:03:41 +11:00
Cameron
9405cf9c4e
Tools: added name to GIT_Success.txt
2025-01-27 11:22:22 +11:00
Peter Barker
00c1f1456e
SITL: correct documentation metadata for FETTechOneWireESC and RichenPower and IE24
...
.... we had documentation for these parameters but it wasn't being used!
2025-01-25 08:10:38 +11:00
Peter Barker
6413da902d
autotest: add missing closing-parenthesis
...
because it is dramatically aesthetically wrong
2025-01-24 19:57:29 +09:00
Jeevan K
24a764c502
Tools : Remove documented params from whitelist
2025-01-24 07:05:51 +11:00
Peter Barker
5269bda748
Tools: exempt kha_eth from bootloader build
...
no hwdef for this
2025-01-23 17:47:58 +11:00
Peter Barker
04786200c3
Tools: create AP_PERIPH_GPS_ENABLED
2025-01-23 17:47:58 +11:00
Andy Piper
d64cf3ec2d
autotest: allow wsl2 networking bridge to be ignored
2025-01-22 18:59:44 +11:00
Gone4Dirt
4343f21a2d
Autotest: Heli: Update autorotation tests following restructure
...
Tools: fix autotest helicopter.py formatting
2025-01-22 18:53:44 +11:00
Andy Piper
98291cd6bd
bootloaders: BETAFPV-F405-I2C
2025-01-22 18:27:15 +11:00
Huibean
57e98e2b16
Waf:add --vs-launch
2025-01-22 18:23:57 +11:00
Henry Wurzburg
d7bb1ec359
Tools:reserve bd id for NarinH7
2025-01-22 12:29:56 +11:00
Henry Wurzburg
d59b5a5b40
Tools: mode AUTOLAND enhancements
...
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
Co-authored-by: Pete Hall <iampete@hotmail.co.uk>
2025-01-21 11:30:23 +11:00
Thomas Watson
125c64074c
ardupilotwaf: fix ESP32 memory zero comment
...
Followup to PR #29005 (d9e5f2d8a7
).
2025-01-20 18:29:35 -06:00
Thomas Watson
949e6bcbba
Tools: waf: have boards call superclass initializer
...
Allows future variables to propagate down to board subclasses.
only build littlefs when hwdef or board calls for it
Avoids issues with build on QURT due to QURT's poor POSIX
implementation.
2025-01-21 11:10:31 +11:00
Andy Piper
7f51f84fc6
waf: disable littlefs debug and asserts
2025-01-21 11:10:31 +11:00
Andy Piper
ce7f4db7ee
waf: optionally add littlefs to sitl build options
2025-01-21 11:10:31 +11:00
Andy Piper
d1dd922915
waf: build littlefs filebd
2025-01-21 11:10:31 +11:00
Andy Piper
bc94df6d54
AP_Periph: correct use usage
2025-01-21 11:10:31 +11:00
Andy Piper
514cad3c25
AP_Bootloader: correct use usage
2025-01-21 11:10:31 +11:00