Skip to content

merging 4.0 from upstream #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10,000 commits into
base: master
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
e320ecf
AntennaTracker: add and use AP_ADSB_AVOIDANCE_ENABLED
peterbarker Jun 26, 2025
831078b
ArduCopter: add and use AP_ADSB_AVOIDANCE_ENABLED
peterbarker Jun 26, 2025
dc65e9a
ArduPlane: add and use AP_ADSB_AVOIDANCE_ENABLED
peterbarker Jun 26, 2025
0741789
ArduSub: add and use AP_ADSB_AVOIDANCE_ENABLED
peterbarker Jun 26, 2025
2269142
Rover: add and use AP_ADSB_AVOIDANCE_ENABLED
peterbarker Jun 26, 2025
edc7928
Tools: add and use AP_ADSB_AVOIDANCE_ENABLED
peterbarker Jun 26, 2025
511e8d8
colcon: Use current flake8 in GitHub Action
cclauss Jun 16, 2025
8220e60
AP_HAL_ChibiOS: FoxeerF405v2 now uses SPA06 baro
andyp1per Jun 26, 2025
d5a1728
AP_HAL_ChibiOS: GEPRCF745BTHD now uses SPL06
andyp1per Jun 26, 2025
0f07cc9
bootloaders: AEDROXH7 bootloaders
andyp1per Apr 28, 2025
b9575e1
AP_Bootloader: add AEDROXH7
andyp1per Apr 28, 2025
86f5e51
AP_HAL_ChibiOS: add AEDROXH7 flight controller
andyp1per Apr 28, 2025
c8ccdbb
Tools: remove AP_PERIPH_AHRS_ENABLED
shiv-tyagi Jun 26, 2025
aca8691
Plane: Add roll-only stick mixing
rubenp02 Apr 22, 2025
bfbbf4b
RC_Channel: correct define gating AUX_FUNC::AVOID_ADSB
peterbarker Jun 26, 2025
30d9238
Plane: Quadplane: coordinate turns in transition
robertlong13 Jun 25, 2025
47317cd
AP_TECS: rearrange TEC3 log message field formatting
peterbarker May 19, 2025
118877a
Tools: param_check: fix DISABLE_CHECKS tag
robertlong13 Jun 26, 2025
23c21bf
Tools: remove last vehicles from hwdefs to skip
robertlong13 Jun 26, 2025
e7166c4
AP_TempCalibration: add HAL_TCAL_BARO_EXP_DEFAULT
robertlong13 Jun 26, 2025
195702f
hwdef: skyviper* use HAL_TCAL_BARO_EXP_DEFAULT
robertlong13 Jun 26, 2025
0289f13
hwdef: skyviper* fix old param names
robertlong13 Jun 26, 2025
7e239c1
hwdef: skyviper-journey delete non-existent params
robertlong13 Jun 26, 2025
c57b93c
hwdef: skyviper-journey delete redefined params
robertlong13 Jun 26, 2025
8d1c34c
hwdef: skyviper-journey: fix batt failsafe
robertlong13 Jun 26, 2025
75670a5
AP_Terrain: reduce calls to AP_HAL::millis()
peterbarker Feb 5, 2025
2c72efe
pre-commit: Upgrade flake8 7.2.0 -> 7.3.0
cclauss Jun 26, 2025
f391099
AP_Logger: log last time we saw our GCS on each link
peterbarker Jun 27, 2025
867a954
GCS_MAVLink: log last time we saw our GCS on each link
peterbarker Jun 27, 2025
5a4bfe0
ArduSub: log last time we saw our GCS on each link
peterbarker Jun 27, 2025
d784eec
autotest: add test for last-GCS-time-seen-on-each-channel logging
peterbarker Jun 27, 2025
f45d300
Sub: remove parameter default which is the base default anyway
peterbarker Mar 8, 2025
ba82b68
AP_Networking: add options to control PPP timeouts
tridge Jun 26, 2025
ce61506
AP_SerialManager: removed PPP serial config from SerialManager
tridge Jun 27, 2025
fc7a90d
Plane: 4.6.2-beta1 release notes
rmackay9 Jun 24, 2025
b0753a5
Tracker: 4.6.2-beta1 release notes
rmackay9 Jun 24, 2025
b6ef5e9
Rover: 4.6.2-beta1 release notes
rmackay9 Jun 24, 2025
05d0b8b
Copter: 4.6.2-beta1 release notes
rmackay9 Jun 24, 2025
5effc01
AP_HAL_ChibiOS: udpate sw-boom-f407 defaults.parm battery capacity
danlaks Jun 20, 2025
0577bad
pre-commit: Remove the flake8 Tools-only restriction
cclauss Jun 29, 2025
982a117
bootloaders: SkystarsH7HDv2
andyp1per May 24, 2025
32f7f7c
hwdef: SkystarsH7HDv2
andyp1per May 24, 2025
daed92b
AP_Motors: move defaulting of defines info AP_Motors_config.h
peterbarker Jun 24, 2025
816fb9c
AP_Math: Convert copter to radians
lthall Jun 21, 2025
80fb9c8
AP_AHRS: add radian getters for roll, pitch and yaw in view
lthall Jun 21, 2025
2489256
AC_WPNav: Convert copter to radians
lthall Jun 21, 2025
00b94dd
AC_Avoidance: Convert copter to radians
lthall Jun 21, 2025
9ebb787
AC_AutoTune: Convert copter to radians
lthall Jun 21, 2025
9a0f385
AC_Autorotation: Convert copter to radians
lthall Jun 23, 2025
55f979f
AC_AttitudeControl: Convert copter to radians
lthall Jun 21, 2025
1dbaec3
Plane: Support QAutotune radian attitude commands
lthall Jun 21, 2025
089b70c
Copter: Convert copter to radians
lthall Jun 21, 2025
b46ccd0
Copter: Update ACRO to use radians
lthall Jun 27, 2025
90816a4
AC_Avoid: Fix unit naming
lthall Jun 30, 2025
4f20cc2
Copter: Apply AC_Avoid: Fix unit naming
lthall Jun 30, 2025
f172c2f
AP_NavEKF: Allow EK3 cores to run different sources
rishabsingh3003 Apr 10, 2025
889f034
AP_NavEKF3: Allow cores to run different sources
rishabsingh3003 Jun 26, 2025
e06943b
Tools: Test Ek3 cores running different sources
rishabsingh3003 Jun 26, 2025
d2faaab
AP_NavEKF: rewrite visodom align logic
rishabsingh3003 Jun 12, 2025
521b3c6
Plane: reduce speed scaler in assisted flight at low airspeed
tridge Jun 17, 2025
692b9f9
RC_Channel: remove AUX_FUNC entries based on feature defines
peterbarker Mar 7, 2024
fee426f
AP_HAL_Linux: move configuration of AnalogInIIO to hwdefs
peterbarker Mar 7, 2025
feedda0
AP_HAL_Linux: rename IIO_VOLTAGE_SCALING to AP_HAL_LINUX_ANALOGIN_IIO…
peterbarker Jun 27, 2025
149b176
AC_AttitudeControl: change default for PSC_VELXY_D to 0.25 for better…
andyp1per Jun 28, 2025
966a5ca
AP_Mount: SToRM32 search continues while disarmed
rmackay9 Jun 28, 2025
804d93e
AP_Airspeed:add I2C3 to metadata
Hwurzburg Jul 1, 2025
0788fe6
AP_Camera: mavlink commands use target sysid and compid
rmackay9 Jul 1, 2025
3081098
autotest: correct bisect-helper instructions
peterbarker May 2, 2023
b09314b
AP_HAL: clean up defines for simulation backends
peterbarker May 6, 2025
bfb7de7
AP_HAL_SITL: clean up defines for simulation backends
peterbarker May 6, 2025
2c0e25c
SITL: clean up defines for simulation backends
peterbarker May 6, 2025
64ef705
SITL: move stratoblimp and glider in with other physic simulations
peterbarker May 6, 2025
ae19c13
AP_HAL: tidy remaining AP_SIM_ defines
peterbarker May 6, 2025
356f329
AP_HAL_SITL: tidy remaining AP_SIM_ defines
peterbarker May 6, 2025
c4a6b0a
AP_GPS: tidy remaining AP_SIM_ defines
peterbarker May 6, 2025
5315491
AP_HAL_ChibiOS: tidy remaining AP_SIM_ defines
peterbarker May 6, 2025
c6b7228
SITL: tidy remaining AP_SIM_ defines
peterbarker May 6, 2025
7d3eaeb
AP_HAL_ChibiOS: add DAKEFPVH743Pro
ThanYangFPV Jul 1, 2025
cf265a5
Tools: add DAKEFPVH743Pro
ThanYangFPV Jul 1, 2025
54d049f
.github: add test that there are no Merge commits in the branch
peterbarker Jul 1, 2025
c0862a8
hwdef: Modify AeroFox-PMU default configuration parameters
laoshen14789 Jul 1, 2025
8cdd9d8
AP_HAL: reserve HAL_BOARD_SUBTYPE_LINUX_POCKET2
juvinski Jun 29, 2025
c4686e7
AP_BattMonitor: compile error if sum-backend and <2 max-instances
peterbarker Sep 24, 2024
bdf9a01
AP_BattMonitor: move max-number-of-sensors define into _config.h
magicrub Jun 25, 2025
d225ee9
hwdef: turn off Sum backend on AP_Periph
peterbarker Jun 26, 2025
b0f6006
Tools: size_compare_branches.py: don't build bootloader for pilotpi/A…
peterbarker Jul 2, 2025
1a628c6
Tools: allow enabling AP_PERIPH_DEVICE_TEMPERATURE_ENABLED from Custo…
shiv-tyagi Jul 3, 2025
dc973a3
Tracker: 4.6.2-beta2 release notes
rmackay9 Jul 1, 2025
c5feb7d
Rover: 4.6.2-beta2 release notes
rmackay9 Jul 1, 2025
3785412
Copter: 4.6.2-beta2 release notes
rmackay9 Jul 1, 2025
4c9baca
Plane: 4.6.2-beta2 release notes
rmackay9 Jul 1, 2025
66361e2
Tools: allow size_compare_branches.py to compare features
peterbarker Jun 12, 2025
c90c3ae
SITL: Since it is a pointer variable, it is compared with nullptr
muramura Jul 2, 2025
85b2de8
AP_Scripting: added docs for plane_ship_landing.lua
tridge Jul 4, 2025
384aed0
autotest: remove duplicate safetyswitch functions
peterbarker Jul 5, 2025
1b95873
AP_AccelCal: accept ack only from initial source sysid/compid
meee1 Jul 4, 2025
2e69b71
GCS_MAVLink: accept ack only from initial source sysid/compid
meee1 Jul 4, 2025
05dbace
APM_Control: Add steering deceleration parameter for pivot turns
stephendade Jul 4, 2025
da095c7
AP_HAL_Chibios: enable AP_TEMPERATURE_SENSOR_ENABLED based on AP_PERI…
shiv-tyagi Jul 5, 2025
ca88644
Tools: add AP_TEMPERATURE_SENSOR_ENABLED as dependecy of AP_PERIPH_DE…
shiv-tyagi Jul 5, 2025
339aae4
.github: fix test size workflow to ignore abin files
tpwrules Jul 5, 2025
31a1df9
hwdef: SkystarsHD: remove pin defaults which are inherited
peterbarker Jul 6, 2025
6695908
hwdef: CubeNode-ETH: remove duplicated define
peterbarker Jul 6, 2025
d445f16
.github: fix test size to compare size of no-version binaries
tpwrules Jul 6, 2025
e58a0e7
.github: test_branch_conventions.py: test for fixup commits and commi…
peterbarker Jul 6, 2025
6911910
.github: print Python3 version out as part of preparing env
peterbarker Jun 13, 2025
d1f4a16
Copter: disallow mode entry if no RC for several modes
peterbarker Jul 4, 2025
733347a
autotest: add test fr not changing into modes when in RC failsafe
peterbarker Jul 4, 2025
a33e6d9
AP_Math: support get_bearing_to_target_rad
lthall Jul 1, 2025
b4d3065
AC_WPNav: support get_bearing_to_target_rad
lthall Jul 1, 2025
b53810b
AC_AttitutdeControl: Support get_bearing_to_target_rad and get_roll_t…
lthall Jun 22, 2025
f8f720a
Copter: remove most of the _cd() functions
lthall Jun 22, 2025
8997420
ardupilotwaf: drop unnecessary environment manipulation from mavgen
tpwrules Jun 22, 2025
6a08934
ardupilotwaf: belt-and-suspenders Python version check
tpwrules Jun 22, 2025
98fe354
ardupilotwaf: drop subprocess monkeypatching for unsupported Python
tpwrules Jun 22, 2025
123c2ef
Tools: Fix pytest DeprecationWarning: 'maxsplit' is passed as positio…
cclauss Jul 6, 2025
8d53838
AC_AttitudeControl: AC_PosControl: Add units to dt
lthall Jul 5, 2025
ca4dc15
AC_WPNav: Support - AC_PosControl: Add units to dt
lthall Jul 5, 2025
cba72b6
Sub: Support - AC_PosControl: Add units to dt
lthall Jul 5, 2025
49d124e
Plane: Support - AC_PosControl: Add units to dt
lthall Jul 5, 2025
c25e962
Copter: Support - AC_PosControl: Add units to dt
lthall Jul 5, 2025
01e0048
AC_AttitudeControl: Add units to dt
lthall Jul 5, 2025
e941ead
AC_WPNav: AC_Loiter: Support - AC_AttitudeControl: Add units to dt
lthall Jul 5, 2025
3ca24e0
Sub: Support - AC_AttitudeControl: Add units to dt
lthall Jul 5, 2025
1fc5d55
Plane: Support - AC_AttitudeControl: Add units to dt
lthall Jul 5, 2025
12fa878
Copter: Support - AC_AttitudeControl: Add units to dt
lthall Jul 5, 2025
de75b0d
AP_Motors: Add units to dt
lthall Jul 5, 2025
0061025
Sub: Support - AP_Motors: Add units to dt
lthall Jul 5, 2025
33efc44
Plane: Support - AP_Motors: Add units to dt
lthall Jul 5, 2025
f8281fe
Copter: Support - AP_Motors: Add units to dt
lthall Jul 5, 2025
5dd49b5
AC_AttitudeControl: AC_PosControl: Add input units to pos_terrain_U_s…
lthall Jul 5, 2025
8d8fb62
AC_WPNav: Support - AC_PosControl: Add input units to pos_terrain_U_s…
lthall Jul 5, 2025
9791b7e
AP_Servo_Telem: correct update of STATUS
peterbarker Jul 7, 2025
fa6b599
Tools: First argument of a method should be named 'self'
cclauss Jul 7, 2025
cb84a8e
.github: branch conventions: correct fetching of delta-commits for ch…
peterbarker Jul 7, 2025
a0b1e5c
autotest: check midair disarm/rearm behaviour
peterbarker Feb 23, 2025
69654b1
RC_Channel: move rudder-arming detection code into RC_Channels
peterbarker Dec 10, 2020
164bf59
ArduPlane: move rudder-arming detection code into RC_Channels
peterbarker Dec 10, 2020
88cd477
Rover: move rudder-arming up to RC_Channel library
peterbarker Dec 10, 2020
7d850f4
RC_Channels: factor rudder_arm_disarm check
peterbarker Dec 10, 2020
e6f3c6a
ArduCopter: move rudder-arming up to RC_Channel library
peterbarker Dec 10, 2020
4ec75cb
AP_Arming: move check that rudder arming is permitted up
peterbarker Jan 1, 2021
6fcad71
ArduCopter: move check that rudder arming is permitted up
peterbarker Jan 1, 2021
1cb6991
ArduPlane: move check that rudder arming is permitted up
peterbarker Jan 1, 2021
e9ac626
Rover: move check that rudder arming is permitted up
peterbarker Jan 1, 2021
eddcff4
AP_Arming: move rudder-arming throttle checks up into AP_Arming
peterbarker Jan 1, 2021
186f35e
ArduCopter: move rudder-arming throttle checks up into AP_Arming
peterbarker Jan 1, 2021
61bdaa4
ArduPlane: move rudder-arming throttle checks up into AP_Arming
peterbarker Jan 1, 2021
f3236fa
Rover: move rudder-arming throttle checks up into AP_Arming
peterbarker Jan 1, 2021
baa219d
AP_Arming: move rudder-disarming-method param check up to AP_Arming b…
peterbarker Jan 1, 2021
1983a74
ArduCopter: move rudder-disarming-method param check up to AP_Arming …
peterbarker Jan 1, 2021
e054bab
ArduPlane: move rudder-disarming-method param check up to AP_Arming b…
peterbarker Jan 1, 2021
9b2eafb
Rover: move rudder-disarming-method param check up to AP_Arming base …
peterbarker Jan 1, 2021
0a9a0a7
Blimp: move rudder arming up to RC_Channel
peterbarker Apr 8, 2021
57a2ad6
autotest: add test for Plane auto-takeoff wait-for-rudder-release
peterbarker Feb 15, 2025
c8b9c12
autotest: add test for QuadPlane auto-takeoff wait-for-rudder-release
peterbarker Feb 15, 2025
a9bf166
Plane: set timer for rudder post-arming
peterbarker Mar 5, 2025
bfdc91d
autotest: ensure we can't arm with rudder with ARMING_CHECK=0 and ARM…
peterbarker Mar 5, 2025
6d0cf09
AP_Arming: move no-rudder-arming check into ::arm
peterbarker Mar 5, 2025
62dfde0
autotest: remove default value for ARMING_RUDDER in blimp
peterbarker Mar 11, 2025
092ef5d
AP_Arming: ignore attempts to disarm if rudder-disarming and non-zero…
peterbarker Apr 16, 2025
5abf3e1
AP_Arming: fail arm attempt silently if arming is non-zero
peterbarker Jun 5, 2025
f9660c2
AP_Arming: move throttle-is-zero check into RC_Channels library
peterbarker Jun 5, 2025
712bccf
RC_Channel: move throttle-is-zero check into RC_Channels library
peterbarker Jun 5, 2025
3779460
AP_Arming: add AP_Arming::Method::TOYMODE
peterbarker Jun 5, 2025
c7c7a9e
ArduCopter: add AP_Arming::Method::TOYMODE
peterbarker Jun 5, 2025
05ffdc2
Copter: remove restriction on arming with rudder in toymode
peterbarker Jun 10, 2025
74d2109
RC_Channels: do not attempt to arm if ARMING_RUDDER
peterbarker Jun 21, 2025
29d3b14
autotest: add quadplane test for ARMING_CHECK_THROTTLE unset
peterbarker Jun 22, 2025
02a6ba0
autotest: add set_parameter_bit method
peterbarker Jun 22, 2025
643e9d1
Copter: Mode Sport: Convert to radians
lthall Jul 6, 2025
b484f51
Copter: Convert ACRO defines to radians
lthall Jul 6, 2025
920efe9
Copter: avoid setting of deadzone on RC tuning channel
peterbarker May 11, 2025
c3ee0e8
autotest: adjust for reboot-required transmitter-tuning option value
peterbarker May 11, 2025
7665f95
AC_PrecLand: rename companion to mavlink
rmackay9 Jun 23, 2025
ab2bd63
AC_PrecLand: complete rename of companion to mavlink
rmackay9 Jun 23, 2025
5fac558
Tools: build option rename for preland mavlink
rmackay9 Jun 23, 2025
b6b462f
AC_PrecLand: add comments to cpp
rmackay9 Jun 23, 2025
e13b842
AC_PrecLand: support LOCAL_FRD frame
rmackay9 Jun 23, 2025
6630839
Tools: precland-to-loiter tests FRD
rmackay9 Jun 24, 2025
2193434
AC_PrecLand: mavlink backend fix to distance
rmackay9 Jul 7, 2025
f91d001
Copter: `DO_CHANGE_SPED`: use enum and add cms postfix to setters
IamPete1 Jun 30, 2025
6afd491
Plane: `DO_CHANGE_SPEED` use enum
IamPete1 Jun 30, 2025
3431f67
Sub: `DO_CHANGE_SPEED` use enum and reject types other than ground speed
IamPete1 Jun 30, 2025
5e0b408
Rover: `DO_CHANGE_SPEED` use enum and reject types other than ground …
IamPete1 Jun 30, 2025
a562b11
AP_Param: check for duplicate names when adding scripting params
IamPete1 Jul 1, 2025
cce2272
AP_Scripting: applets: UniversalAutoLand: rename params to avoid name…
IamPete1 Jul 1, 2025
ed620a8
Tools: autoitest: plane: UniversalAutoLandScript: update param names
IamPete1 Jul 1, 2025
ba42092
Plane: rework `allow_reverse_thrust` to allow reverse thrust in manua…
IamPete1 Jul 2, 2025
3ec5822
AP_ESC_Telem: Handle negative RPM
rishabsingh3003 Jul 3, 2025
be8bfeb
autotest: add a test for safety switch for Rover
peterbarker Jul 5, 2025
a155a65
AP_HAL_SITL: treat zero PWM as "no signal input to ESC" and stop moving
peterbarker Jul 5, 2025
bf86777
SITL: treat zero PWM as "no signal input to ESC" and stop moving
peterbarker Jul 5, 2025
1fb84fe
Copter: AutoYaw: Use radians for consistency
lthall Jul 6, 2025
7492635
Copter: Support - AutoYaw: Use radians for consistency
lthall Jul 6, 2025
18fa44b
Copter: Guided: Remove unused variables
lthall Jul 6, 2025
9141653
Copter: Guided: Change cd to rad
lthall Jul 6, 2025
6a555bb
Copter: Support - Guided: Change cd to rad
lthall Jul 6, 2025
1141fed
Copter: LUA: Support - Guided: Change cd to rad
lthall Jul 7, 2025
f6de8ae
waf: accept entirely lower case values for BUILD_OPTIONS options
peterbarker Jul 6, 2025
7e41eb4
waf: suppress help output on all-lower-case-and-dashes options
peterbarker Jul 7, 2025
eeb72ce
AP_HAL_ChibiOS: drop sbrk implementation
tpwrules Jul 5, 2025
e9da6bd
.github: remove dump-github diagnostic step
peterbarker Jul 8, 2025
01fc3d5
Tools: add AP_PERIPH_MSP_ENABLED as a build option
shiv-tyagi Jul 7, 2025
545fb09
AP_HAL_ChibiOS: add HAL_MSP_ENABLED as a dependency of AP_PERIPH_MSP_…
shiv-tyagi Jul 7, 2025
c678ce4
AP_NavEKF: Remove FuseAllVelocities default from EK3_SRC_OPTIONS
rishabsingh3003 Jul 7, 2025
78dfa3b
Copter: heli: remove unused rotor speed deglitch filter
IamPete1 Jul 7, 2025
63ddd95
autotest: fix incorrect code causing DeprecationWarning
cclauss Jul 7, 2025
c4b091f
Copter: rename radio_tuning to rc_tuning_param
peterbarker May 12, 2025
7ca514d
Plane: quantise the airspeed target from MIN_GROUNDSPEED
tridge Jul 1, 2025
d379de6
AP_Scripting: support mode modem chipsets in LTE_modem driver
tridge Jun 10, 2025
2ea5b15
AP_Periph: remove requirement that AP_PERIPH_RC_OUT_ENABLED be set fo…
peterbarker Jul 9, 2025
867da3e
Tools: Fix for failing preq ubuntu script due to whitespace in direct…
The13bit Jul 7, 2025
d19ec13
Tools: add AP_PERIPH_NOTIFY_ENABLED as a build option
shiv-tyagi Jul 8, 2025
f0a1a27
Tools: add AP_PERIPH_SERIAL_OPTIONS_ENABLED as a build option
shiv-tyagi Jul 10, 2025
e3b086d
Rover: Change the if statement to a switch statement
muramura May 4, 2025
77cf38b
Tools: SITL toolchain names
peterbarker Jul 9, 2025
2f2039b
Tools: add AP_PERIPH_BATTERY_ENABLED as a build option
shiv-tyagi Jul 10, 2025
8bf182f
AP_Scripting: changed LTE_BAND and LTE_MCCMNC to no-change by default
tridge Jul 9, 2025
87bd2ce
AC_AttitudeControl: AC_PosControl: Add units to PID objects
lthall Jul 9, 2025
129b5b1
AC_AttitudeControl: AC_PosControl: Remove last cd
lthall Jun 23, 2025
7958f9f
AC_WPNav: Add missing units
lthall Jul 1, 2025
89c4d82
Copter: No Compiler Change
lthall Jul 5, 2025
5a06f14
AP_Math: No Compiler Change
lthall Jul 5, 2025
5492740
Sub: Remove unused virtual functions
lthall Jul 7, 2025
a353ce0
AC_AttitudeControl: AC_PosControl: Convert to m except IMAX
lthall Jul 1, 2025
0379637
AC_AttitudeControl: Improve comments
lthall Jul 9, 2025
cd52b92
AC_AttitudeControl: AC_PosControl: Add const where appropriate
lthall Jul 9, 2025
edca253
AC_AttitudeControl: AC_PosControl: Remove Virtual where appropriate
lthall Jul 9, 2025
3208627
AC_AttitudeControl: AC_PosControl: Remove unused functions
lthall Jul 9, 2025
b8f487f
AC_PID: Add missing const
lthall Jul 9, 2025
df6e48f
AP_Math: Control: Improve comments
lthall Jul 9, 2025
e317247
board_types.txt: add Radian flight controller IDs
yaadch May 19, 2025
e12f705
AP_HAL_ChibiOS: add DAKEFPVH743
ThanYangFPV Jul 11, 2025
4ea9d95
Tools: add DAKEFPVH743
ThanYangFPV Jul 11, 2025
bb98c50
AP_HAL_ChibiOS: added AcctonGodwit_GA1
jyhminwang Jul 11, 2025
53b88e5
Tools: added AcctonGodwit_GA1
jyhminwang Jul 11, 2025
6f5bda3
Tools: add AP_PERIPH_RELAY_ENABLED as a build option
shiv-tyagi Jul 11, 2025
c191cc1
AP_HAL_ChibiOS: add AP_RELAY_ENABLED as a dependency of AP_PERIPH_REL…
shiv-tyagi Jul 11, 2025
a003e5e
AP_Bootloader: reserve board_type id
magicrub Jul 11, 2025
53b2702
AP_InertialSensor: fixed INS_generic under SITL
tridge Jan 7, 2022
085c8a0
hwdef: remove AP_PARAM_MAX_EMBEDDED_PARAM 0 from hwdefs
peterbarker Jul 12, 2025
1c016ab
Tools: add AP_PERIPH_BATTERY_BALANCE_ENABLED as a build option
shiv-tyagi Jul 12, 2025
12519ac
GCS_MAVLink: ftp receiving messages where size takes into account the…
alploskov Mar 8, 2024
626274a
GCS_MAVLink: ftp replace copy paste of name length check logic by fun…
alploskov Mar 12, 2024
bcc5be1
AP_Networking: support multiple PPP links
tridge Jun 28, 2025
086472d
AP_Scripting: added an add_route() binding
tridge Jun 28, 2025
3dd28ae
DroneCAN: update libcanard
tridge Jul 12, 2025
a5c73ec
DroneCAN: update dronecan_dsdlc
tridge Jul 12, 2025
7351a85
AP_Scripting: Fix ‘buff’ may be used uninitialized
cclauss Jul 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
31 changes: 31 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Docker context ignore list
.azure
.github
.git
.idea
.vagrant
AntennaTracker
Rover
ArduCopter
ArduPlane
ArduSub
benchmarks
build
docs
libraries
mk
modules
tests
Tools
# autotest directories
test.*
terrain
logs
# mavproxy stuff
mav.*

# include the setup script and completion
!Tools/environment_install/install-prereqs-ubuntu.sh
!Tools/environment_install/install-prereqs-arch.sh
!Tools/completion
autotest_result_*_junit.xml
5 changes: 3 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false # These are the correct rules for APM coding standards, but fixing up old files causes git spam
insert_final_newline = false
# These are the correct rules for APM coding standards, but fixing up old files causes git spam
trim_trailing_whitespace = false
insert_final_newline = true

[*.mk]
indent_style = tab
Expand Down
15 changes: 13 additions & 2 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
[flake8]
ignore =
extend-ignore =
# H301: one import per line
H301,
# H306: imports not in alphabetical order (time, os)
H306,
# E226: missing whitespace around arithmetic operator
E226,
# E261 at least two spaces before inline comment
E261
E261,
# W504 line break after binary operator
W504,
# E203 whitespace before ':'
E203,
# E221 multiple spaces before operator
E221

extend-exclude =
build,
modules,
.git

max-line-length = 127
9 changes: 9 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file allows ignoring commits in git blame view on Github.
# For more info, see here:
# https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view

# Tools: ros2: Run ament_black on all files
85172b56467668bee9fa0e68081027b13bc18c4a

# Tools: ros2: Reformat
4d9822131354dc7dc3351f24660969f58720a1de
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@
# This breaks Vagrant for some users.
*.sh text eol=lf

*.bin -diff
*.elf -diff
*.hex -diff

*.bin binary linguist-generated
*.elf binary linguist-generated
*.hex binary linguist-generated
18 changes: 12 additions & 6 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,20 @@ If you are reading this page, you are possibly interested in contributing to our

# Submitting patches

Please see our [wiki article](http://dev.ardupilot.org/wiki/submitting-patches-back-to-master/).
Please see our [wiki article](https://ardupilot.org/dev/docs/submitting-patches-back-to-master.html).

# Development Team

The ArduPilot project is open source and [maintained](https://github.com/ArduPilot/ardupilot#maintainers) by a team of volunteers.

To contribute, you can send a pull request on Github. You can also
join the [development discussion on Google
Groups](https://groups.google.com/forum/?fromgroups#!forum/drones-discuss). Note
that the Google Groups mailing lists are NOT for user tech support,
and are moderated for new users to prevent off-topic discussion.
To contribute, you can send a pull request on GitHub.

New developers are recommended to join the `#general` channel on
[Discord](https://ardupilot.org/discord).

You can also join the
[development discussion on Discourse](https://discuss.ardupilot.org/c/development-team),
or [Gitter](https://gitter.im/ArduPilot/ardupilot).

Note that these are NOT for user tech support, and are moderated
for new users to prevent off-topic discussion.
23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Questions and user problems should be directed at the forum (http://discuss.ardu
_**Please be very sure you have found a bug when opening this issue**_
If there was a previous discussion in the forum, link to it

### Bug report
## Bug report

**Issue details**

Expand Down
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: User Support and General Questions
url: https://discuss.ardupilot.org/
about: Please ask on https://discuss.ardupilot.org/
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Questions and user problems should be directed at the forum (http://discuss.ardu
_**Please do a careful search before opening this, there are already a lot of feature requests**_
If there was a previous discussion in the forum, link to it

### Feature request
## Feature request

**Is your feature request related to a problem? Please describe.**
_A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]_
Expand Down
13 changes: 13 additions & 0 deletions .github/SUPPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Support

Our GitHub isn't the appropriate place for getting support on ArduPilot usage. Please look below for the two options you have available for getting help solving any issue you have using ArduPilot.

If you are having trouble with **code development** please ask in our Gitter: http://gitter.im/ArduPilot/ardupilot

## Free support

If you want free, community-based support, please post in our forum: http://discuss.ardupilot.org

## Commercial support

If you need fast, paid support, please consult our wiki page and choose a company: http://ardupilot.org/ardupilot/docs/common-commercial-support.html
30 changes: 30 additions & 0 deletions .github/problem-matchers/Lua.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"problemMatcher": [
{
"owner": "Luacheck-problem-matcher",
"fileLocation": [ "relative", "${GITHUB_WORKSPACE}" ],
"pattern": [
{
"regexp": "^( *)(.+.lua):(\\d+):(\\d+): (.*)$",
"file": 2,
"line": 3,
"column": 4,
"message": 5
}
]
},
{
"owner": "Lua-language-server-problem-matcher",
"fileLocation": [ "relative", "${GITHUB_WORKSPACE}" ],
"pattern": [
{
"regexp": "^(.+\\.lua):(\\d+):(\\d+)(.*)$",
"file": 1,
"line": 2,
"column": 3,
"message": 4
}
]
}
]
}
17 changes: 17 additions & 0 deletions .github/problem-matchers/autotestfail.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"__comment": "by buzz try to match autotest test failures",
"problemMatcher": [
{
"owner": "autotest-fail-matcher",
"severity": "error",
"pattern": [
{
"regexp": "^(.*)(TIMEOUT|Build failed|FAILED STEP|FAILED):(.*)$",
"column": 1,
"code": 2,
"message": 3
}
]
}
]
}
17 changes: 17 additions & 0 deletions .github/problem-matchers/autotestwarn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"__comment": "by buzz try to match common autotest warnings and errors that arent caught by gcc.json or python.json",
"problemMatcher": [
{
"owner": "autotest-warn-matcher",
"severity": "warning",
"pattern": [
{
"regexp": "^(.*)(WARN|WARNING):(.*)$",
"column": 1,
"code": 2,
"message": 3
}
]
}
]
}
18 changes: 18 additions & 0 deletions .github/problem-matchers/gcc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"__comment": "Taken from vscode-cpptools's Extension/package.json gcc rule",
"problemMatcher": [
{
"owner": "gcc-problem-matcher",
"pattern": [
{
"regexp": "^(.*):(\\d+):(\\d+):\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
]
}
]
}
22 changes: 22 additions & 0 deletions .github/problem-matchers/python.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"__comment": "inspired by https://github.com/microsoft/vscode-python/issues/3828#issuecomment-575439587",
"problemMatcher": [
{
"owner": "python-problem-matcher",
"pattern": [
{
"regexp": "^.*File \\\"([^\\\"]|.*)\\\", line (\\d+).*",
"file": 1,
"line": 2
},
{
"regexp": "^.*raise.*$"
},
{
"regexp": "^\\s*(.*)\\s*$",
"message": 1
}
]
}
]
}
39 changes: 39 additions & 0 deletions .github/workflows/cache_cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: cleanup caches by a branch
on:
pull_request:
types:
- closed
workflow_dispatch:

jobs:
cleanup:
runs-on: ubuntu-22.04
permissions:
# `actions:write` permission is required to delete caches
# See also: https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#delete-a-github-actions-cache-for-a-repository-using-a-cache-id
actions: write
contents: read
steps:
- name: Check out code
uses: actions/checkout@v4

- name: Cleanup
run: |
gh extension install actions/gh-actions-cache

REPO=${{ github.repository }}
BRANCH=refs/pull/${{ github.event.pull_request.number }}/merge

echo "Fetching list of cache key"
cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )

## Setting this to not fail the workflow while deleting cache keys.
set +e
echo "Deleting caches..."
for cacheKey in $cacheKeysForPR
do
gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm
done
echo "Done"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 10 additions & 0 deletions .github/workflows/ccache.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# common ccache env vars for CI
export CCACHE_SLOPPINESS=file_stat_matches

mkdir -p ~/.ccache
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
echo "compression = true" >> ~/.ccache/ccache.conf
echo "compression_level = 6" >> ~/.ccache/ccache.conf
echo "max_size = 400M" >> ~/.ccache/ccache.conf
ccache -s
ccache -z
Loading