Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2560 commits
Select commit Hold shift + click to select a range
2375564
autotest: add test for CAN node health pre arm check
bugobliterator Apr 29, 2022
3c87062
AP_Common: add support for comparing BitMasks
bugobliterator Apr 29, 2022
4852ac3
AP_UAVCAN: add option bit for disabling Node Unhealthy check
bugobliterator Jul 25, 2022
41b8728
autotest: remove report of pull failure
peterbarker Jul 23, 2022
b988391
Copter: Fence moved to vehicle
IamPete1 Mar 4, 2022
2b8958f
Plane: Fence moved to vehicle
IamPete1 Mar 4, 2022
2d8b9f7
Sub: Fence moved to vehicle
IamPete1 Mar 4, 2022
b3d0d4f
AP_Arming: fix complation without fence
IamPete1 Mar 4, 2022
cababad
AP_Filesystem: fix complation without fence
IamPete1 Mar 4, 2022
df3affc
AP_Frsky_Telem: fix complation without fence
IamPete1 Mar 4, 2022
3942ee0
AP_Landing: fix complation without fence
IamPete1 Mar 4, 2022
520fc01
AP_OSD: fix complation without fence
IamPete1 Mar 4, 2022
5fa29eb
GCS_MAVLink: fix complation without fence
IamPete1 Mar 4, 2022
5d5552a
RC_Channel: fix complation without fence
IamPete1 Mar 4, 2022
eac067a
Rover: fence moved to vehicle
IamPete1 Mar 4, 2022
9e86f4d
AP_Vehicle: add AC_Fence
IamPete1 Mar 4, 2022
6a6f3ec
AC_Fence: add AC_FENCE define
IamPete1 Mar 4, 2022
fa440d5
AC_Fence: add dummy methods
IamPete1 Mar 4, 2022
ed356d9
AC_Avoid: fix complilation with no fence
IamPete1 Mar 5, 2022
1342fa4
AP_Proximity: fix complation without fence
IamPete1 Mar 7, 2022
9dc318f
AC_Fence: move to config file and rename from AC_FENCE to AP_FENCE_EN…
IamPete1 Jul 19, 2022
5f31818
AC_Avoidance: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
4b6a0f0
AC_Fence: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
58d244d
AP_Arming: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
19ccf53
AP_Filesystem: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
ad59c62
AP_Frsky_Telem: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
380d174
AP_Landing: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
94004db
AP_OSD: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
ed330fd
AP_Proximity: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
a9310c3
AP_Vehicle: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
31bc6d9
GCS_MAVLink: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
bab8662
RC_Channel: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
1b16020
ArduCopter: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
a592f76
ArduPlane: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
cf1e1b2
ArduSub: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
9d4d0c1
Rover: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
955f1fd
Tools: change AC_FENCE to AP_FENCE_ENABLED
IamPete1 Jul 19, 2022
68e29f0
Tools: build options: add AC_AVOID
IamPete1 Jul 25, 2022
2fc9cf9
AC_Fence: defualt to AP_FENCE_ENABLED 2, 1 disables dummy methods
IamPete1 Jul 25, 2022
e397749
Tools: build options: add fence
IamPete1 Jul 25, 2022
b7a3038
Tools: add script to extract features supported by a firmware
peterbarker Jul 27, 2022
022ae00
autotest: att attempts to DataFlashErase test
andyp1per Jul 27, 2022
1e87b4b
Copter: Fix Payload Place Bug
lthall Jul 28, 2022
4909866
AP_AHRS: add prearm check that we are using configured AHRS type
peterbarker Jul 27, 2022
e89f4ea
AP_Arming: add prearm check that we are using configured AHRS type
peterbarker Jul 27, 2022
82bc2a7
autotest: adjust Plane EKF check for new configured-backend check
peterbarker Jul 28, 2022
cdf930e
AP_Compass: defualt diagonals vector to 1.0
IamPete1 Jul 27, 2022
98d9f07
AP_InertialSensor: defualt accel scale vector to 1.0
IamPete1 Jul 27, 2022
fcab0c7
AP_Param: allow init of all Vector3f values to single float
IamPete1 Jul 27, 2022
7683b36
SITL: set compass vector after loading defualts
IamPete1 Jul 27, 2022
f678776
autotest: tidy payload place test
peterbarker Jul 28, 2022
35d60d8
autotest: augment PayLoadPlaceMission test to check drop distance
peterbarker Jul 28, 2022
1c78baa
autotest: fix Copter PrecisionLoiterCompanion
peterbarker Jul 28, 2022
aeb24d4
AP_AHRS: remove method casting active EKF type for logging
peterbarker Jul 28, 2022
f57e366
autotest: do no drain mav (i.e. pause sitl) while delaying for sim time
peterbarker Jul 23, 2022
a1e7072
Plane: cope with overshoot in POSITION1 VTOL land state
tridge Jul 29, 2022
afd2129
Plane: adjust target vector for wind in overshoot
tridge Jul 30, 2022
fa371b9
Plane: limit target accel in POSITION1
tridge Jul 30, 2022
5bdd434
Plane: in overshoot allow up to the Q WP speed
tridge Jul 30, 2022
8cc5172
SITL: fill in wind from flightaxis
tridge Jul 30, 2022
0ededd7
AP_AHRS: use wind from simulation if available with EKF type 10
tridge Jul 30, 2022
3201ecd
Plane: added an arming check for VTOL land too short
tridge Jul 30, 2022
1d34ac4
Tools: adjust Dalby mission for VTOL_LAND distance
tridge Jul 30, 2022
f9f0f60
Plane: base yaw in overshoot on target speed not scaled speed
tridge Jul 31, 2022
a395b3d
AP_Logger: add AUX switch to pause logging of streamed entries
Hwurzburg Jul 26, 2022
022987e
RC_Channel: add AUX switch to pause logging of streamed entries
Hwurzburg Jul 26, 2022
b7f49db
AP_NavEKF3: Add streaming log verbosity level parameter
Hwurzburg Jul 28, 2022
530d590
AP_Logger: add increment on file rate limiting to allow <1Hz
Hwurzburg Jul 26, 2022
7dd196c
Guided Mode support MAV_CMD_DO_CHANGE_SPEED
lthall Jul 27, 2022
e511f72
AP_LandingGear: SITL: only set defualts is SITL pin is set avoiding e…
IamPete1 Jul 27, 2022
f1c4797
Tools: autotest: copter: rangefinder mavlink enable landing gear
IamPete1 Jul 27, 2022
223b005
SITL: SIM_Buzzer: hide params if not WITH_SITL_TONEALARM
IamPete1 Jul 27, 2022
fcf2953
Plane: fix attitude/AOA logging and rates
Hwurzburg Jul 29, 2022
7bb947e
Plane: change log bitmask metadata to refer to correct logs
Hwurzburg Jul 28, 2022
6845f2e
hwdef: use right name for ICM42670 SPI device
tridge Jul 19, 2022
9911fd7
AP_BoardConfig: allow for BMI088 for Holybro 6X
tridge Jul 19, 2022
ee4a53d
Tools: updated decode_devid.py
tridge Jul 20, 2022
df9ac15
hwdef: fixed orientation of Pixhawk6X ICM42670
tridge Jul 20, 2022
5bde9b0
AP_InertialSensor: added support for ICM42670 IMU
tridge Jul 20, 2022
5b579ae
AP_InertialSensor: enable AAF at 488Hz for gyro+accel on ICM42688
tridge Jul 20, 2022
8a6b8fc
AP_InertialSensor: enable 180Hz LPF on ICM42670
tridge Jul 20, 2022
2582d5f
AP_InertialSensor: re-enable notch filter on 42688
tridge Jul 20, 2022
01e6809
hwdef: fixed rotation of bmi088 on Holybro6X
tridge Jul 23, 2022
949ef22
hwdef: disable I2C DMA on Pixhawk6X
tridge Aug 1, 2022
3ee42f3
hwdef: added missing ADC channel on Pixhawk6X
tridge Aug 1, 2022
1439501
ChibiOS: submodule update
tridge Aug 1, 2022
b6bcd63
AP_Compass: switch to a general method of heater compensation
tridge Aug 1, 2022
696cd1a
hwdef: added compass compensation for 3 boards
tridge Aug 1, 2022
155d436
AP_InertialSensor: support for fast sampling rates on ICM-42xxx series
andyp1per Jul 20, 2022
f47585b
hwdef: disable I2C DMA on Pixhawk6C and enable compass compensation
tridge Aug 1, 2022
273fe51
hwdef: switched to pixracer LED scheme for Pixhawk6X
tridge Aug 1, 2022
54280c2
Plane: update release notes for 4.2.3beta1
tridge Jul 4, 2022
4585c9f
AP_EFI: prevent flood of Lutan serial port
tridge Jul 17, 2022
f5026f2
hwdef: setup default power pins for Holybro Pixhawk6C
tridge Jul 18, 2022
2ee111c
hwdef: added ADC pin comments for 6X
tridge Jul 18, 2022
a0902e3
AP_RangeFinder: default orientation to NONE for AP_Periph
tridge Jul 28, 2022
169b7df
HAL_ChibiOS: hwdef: add README.md for PixSurveyA1
Cedric0489 Jul 18, 2022
d0210f7
Tools: build_ci.sh: correct quoting of space-containing value
peterbarker Aug 2, 2022
b133e98
Plane: improve target airspeed in landing approach
tridge Jul 30, 2022
6ed07bd
hwdef: KakuteH7 bluetooth switch
chobitsfan Jun 28, 2022
7fc5a71
AP_HAL_ChibiOS: make sure bootloader reserves space for storage
andyp1per Jul 29, 2022
1ff3ee7
AP_HAL_ChibiOS: allow undef of SPI devices
andyp1per Jul 22, 2022
5fe6067
bootloaders: bootloaders for KakuteH7v2
andyp1per Jul 22, 2022
affbd5e
AP_HAL_ChibiOS: hwdef for KakuteH7Miniv2 (1.3)
andyp1per Jul 22, 2022
06a1749
bootloaders: KakuteH7Miniv2 bootloaders
andyp1per Jul 22, 2022
8855a54
AP_InertialSensor: use filtered data in BMI270 and implement fifo reset
andyp1per Jul 22, 2022
3f103f2
AP_HAL_ChibiOS: hwdef for KakuteH7v2
andyp1per Jul 22, 2022
9753f36
AP_BLHeli: make ESC debug easier to see
andyp1per Jul 24, 2022
f666c71
AP_Motors: add BF/X cinelifter octaquad configuration
andyp1per Jul 24, 2022
b468c49
AP_Arming: use prearm-display-timeout in milliseconds instead of counter
peterbarker Aug 3, 2022
6cac879
Tools: FilterTool: hide disabled params
IamPete1 Jul 30, 2022
0c8d65b
Tools FilterTool: limit fieldsets to same max width as plot
IamPete1 Jul 30, 2022
e49607d
Tools: FilterTool: add support for PIDs
IamPete1 Jul 31, 2022
987ffbb
Tools: FilterTool: add support for log scale frequency and RPM scale
IamPete1 Jul 31, 2022
e5de08b
Tools: FilterTools: add niquist limit warning and constrain
IamPete1 Jul 31, 2022
2879d1c
Tools: FilterTool: move to least squares best fit method to caculate …
IamPete1 Jul 31, 2022
8959d35
AP_NavEKF3: add EK3_GPS_VACC_MAX as a threshold that decides whether …
ntamas Jul 29, 2022
07d9636
AC_AttitudeControl: params always use set method
IamPete1 Jul 5, 2022
7c4f488
AC_AutoTune: params always use set method
IamPete1 Jul 5, 2022
e3ab7ed
AC_Autorotation: params always use set method
IamPete1 Jul 5, 2022
e78d5cd
AC_Avoidance: params always use set method
IamPete1 Jul 5, 2022
e141731
AC_Fence: params always use set method
IamPete1 Jul 5, 2022
aa6a908
AC_InputManager: params always use set method
IamPete1 Jul 5, 2022
8d216fb
AC_PID: params always use set method
IamPete1 Jul 5, 2022
22aa09d
AC_PrecLand: params always use set method
IamPete1 Jul 5, 2022
ac1b8ab
AC_WPNav: params always use set method
IamPete1 Jul 5, 2022
6875ef1
APM_Control: params always use set method
IamPete1 Jul 5, 2022
cb6e6c8
AP_ADSB: params always use set method
IamPete1 Jul 5, 2022
d423f48
AP_AHRS: params always use set method
IamPete1 Jul 5, 2022
2f7f187
AP_Avoidance: params always use set method
IamPete1 Jul 5, 2022
4fa0bca
AP_Baro: params always use set method
IamPete1 Jul 5, 2022
6e6fcf4
AP_BattMonitor: params always use set method
IamPete1 Jul 5, 2022
cacbd25
AP_Beacon: params always use set method
IamPete1 Jul 5, 2022
7a5ff6b
AP_BoardConfig: params always use set method
IamPete1 Jul 5, 2022
f3b2de9
AP_Camera: params always use set method
IamPete1 Jul 5, 2022
df470f6
AP_Compass: params always use set method
IamPete1 Jul 5, 2022
0d32e6c
AP_Follow: params always use set method
IamPete1 Jul 5, 2022
5154035
AP_GPS: params always use set method
IamPete1 Jul 5, 2022
3878e64
AP_GyroFFT: params always use set method
IamPete1 Jul 5, 2022
ea03ea3
AP_InertialSensor: params always use set method
IamPete1 Jul 5, 2022
8352a7b
AP_Logger: params always use set method
IamPete1 Jul 5, 2022
c1a9f75
AP_Motors: params always use set method
IamPete1 Jul 5, 2022
47105f0
AP_Mount: params always use set method
IamPete1 Jul 5, 2022
28007bf
AP_OSD: params always use set method
IamPete1 Jul 5, 2022
2241766
AP_Parachute: params always use set method
IamPete1 Jul 5, 2022
59d7581
AP_Param: params always use set method
IamPete1 Jul 5, 2022
63e58e4
AP_PiccoloCAN: params always use set method
IamPete1 Jul 5, 2022
a0fc8cc
AP_Scheduler: params always use set method
IamPete1 Jul 5, 2022
0cb825e
AP_SmartRTL: params always use set method
IamPete1 Jul 5, 2022
d03f917
AP_Terrain: params always use set method
IamPete1 Jul 5, 2022
0ef78c2
AP_VideoTX: params always use set method
IamPete1 Jul 5, 2022
5893df9
AP_WindVane: params always use set method
IamPete1 Jul 5, 2022
67fd8a1
AR_Motors: params always use set method
IamPete1 Jul 5, 2022
338779d
Filter: params always use set method
IamPete1 Jul 5, 2022
8618b08
PID: params always use set method
IamPete1 Jul 5, 2022
79b44b2
SITL: params always use set method
IamPete1 Jul 5, 2022
16455b2
AntennaTracker: params always use set method
IamPete1 Jul 5, 2022
ac94ba3
ArduCopter: params always use set method
IamPete1 Jul 5, 2022
ed094ff
ArduSub: params always use set method
IamPete1 Jul 5, 2022
3614a8e
Rover: params always use set method
IamPete1 Jul 5, 2022
d62508b
AP_Math: tests: params always use set method
IamPete1 Jul 20, 2022
b3f09e5
SITL: params always use set method
IamPete1 Jul 20, 2022
2b69e69
Tools: Replay: params always use set method
IamPete1 Jul 20, 2022
1a3391e
AP_OpticalFlow: params always use set method
IamPete1 Jul 20, 2022
90780e5
AP_Param: remove AP_ParamV `=` operator
IamPete1 Jul 20, 2022
b025a6d
AP_Follow: vector params always use set method
IamPete1 Jul 20, 2022
4e4bfda
AP_InertialSensor: vector params always use set method
IamPete1 Jul 20, 2022
7284fbc
autotest: allow more time for angle test to retrieve correct angle
peterbarker Aug 1, 2022
50591d1
AP_Landing: change logging to be designated as streaming
Hwurzburg Jul 27, 2022
b39642c
Tools: web-filter save use comma instead of =
hendjoshsr71 Jul 23, 2022
5167cd1
SITL: set z component of precland device pos separately
shiv-tyagi Jun 24, 2022
d7d473d
autotest: correct assert_prearm_failure to not try to arm vehicle
peterbarker Aug 4, 2022
ea11238
Tools: added name to GIT_Success.txt
GiovanniRaseraF Aug 7, 2022
e92d4c6
autotest: add test for WP_YAW_BEHAVIOUR 0
peterbarker Jul 29, 2022
d555c49
autotest: allow a test to override speedup
peterbarker Mar 24, 2021
4c24b89
AP_HAL: add TeraRange Neo Rangefinder
Hwurzburg Aug 1, 2022
e682296
AP_HAL_SITL: add TeraRange Neo Rangefinder
Hwurzburg Aug 1, 2022
a46c774
AP_RangeFinder: add TeraRange Neo Rangefinder
Hwurzburg Aug 1, 2022
aafc078
SITL: add TeraRange Neo Rangefinder
Hwurzburg Aug 1, 2022
cea1e29
Tools: add TeraRange Neo Rangefinder
Hwurzburg Aug 1, 2022
a9da91b
Plane: add TECS Logbitmask to TECS constructor
hendjoshsr71 Jul 28, 2022
e338e4c
AP_TECS: use TECS log bitmask in constructor
hendjoshsr71 Jul 28, 2022
ea3f587
Tools: FilterTool: remember scale
IamPete1 Jul 28, 2022
a209a39
Tools: FilterTool: allow query string param config and add get link
IamPete1 Jul 28, 2022
44ce44b
Tools: fix errors in build_options.py
Hwurzburg Aug 1, 2022
8b02f11
AP_Motors: refactor to allow frame type symbols to be created for ELF
Hwurzburg Aug 2, 2022
f5a8561
AP_Arming: display 'Arm: ' instead of 'PreArm: ' for arming failures
peterbarker Aug 3, 2022
a5dadd2
Copter: move motors check to be must-run prearm
peterbarker Aug 4, 2022
a54321a
Copter: remove pointless clause in motor_checks
peterbarker Aug 4, 2022
1e3e5e5
AP_Math: Control: Add velocity limits to shaping functions
lthall Aug 5, 2022
821053e
Plane: Quadplane: allow servo auto trim for motors only tailsitter as…
IamPete1 Aug 3, 2022
a5b373e
AP_AHRS: modify AHRS type check for compass-less setups
Hwurzburg Aug 5, 2022
2c22bca
AP_Vehicle: make sure that if ESC telemetry is missing notch updates …
andyp1per Aug 6, 2022
d6ba508
AP_ESC_Telem: keep RPM updates in the correct order
andyp1per Aug 6, 2022
6ce3bb6
scripts: add back in bdshot targets for KakuteF7 and CubeYellow
andyp1per Aug 7, 2022
905572e
ArduPlane: update logging bitmask metadata to new style
Hwurzburg Aug 8, 2022
20c0448
Blimp: update logging bitmask metadata to new style and correct errors
Hwurzburg Aug 8, 2022
1f819e1
Rover: update logging bitmask metadata to new style
Hwurzburg Aug 8, 2022
ee778db
Plane: Quadplane: add option_is_set helper for Q_OPTIONS
IamPete1 Aug 5, 2022
5e7622d
Copter: reserve mode number 127 and param group 62 for Skybrush
ntamas Aug 2, 2022
1ae299b
RC_Channel: reserve RX aux functions 248-249 for Skybrush
ntamas Aug 2, 2022
64d69c5
AP_Gripper: Servo Gipper enhancments
lthall Aug 1, 2022
4bf622d
AP_Gripper: Add feedback when already in state
lthall Aug 5, 2022
2d06261
AP_Gripper: apply auto close to all backends.
IamPete1 Aug 6, 2022
bad0120
AP_Mission: added contains_terrain_relative()
tridge Jun 22, 2020
2e32c75
Plane: added arming check for terrain data
tridge Jun 22, 2020
3bcd4fa
AP_Arming: make terrain checks common between Copter and Plane
peterbarker Aug 3, 2022
67d8965
ArduCopter: make terrain checks common between Copter and Plane
peterbarker Aug 3, 2022
127bf7a
ArduPlane: make terrain checks common between Copter and Plane
peterbarker Aug 3, 2022
fecf7c2
autotest: augment Plane TerrainMission to check we *do* follow the te…
peterbarker Aug 1, 2022
96ef34a
AP_Arming: move terrain prearm checks to AP_Terrain
peterbarker Aug 4, 2022
d688e60
AP_Terrain: move terrain prearm checks to AP_Terrain
peterbarker Aug 4, 2022
4c674b6
AP_Terrain: correct wait-for-terrain prearm check
peterbarker Aug 4, 2022
50fb56a
AP_Mission: memoise result of contains_terrain_relative
peterbarker Aug 4, 2022
c2d91a3
AP_Mission: mark mission as changed upon mission clear
peterbarker Aug 4, 2022
5ee8f99
autotest: adjust for terrain arming requirements
peterbarker Aug 4, 2022
541cfa0
AP_Terrain: fix bad prearms-pass-when-they-shouldn't issue
peterbarker Aug 6, 2022
6836057
Tools: ardupilotwaf add OpenDroneID lib
hendjoshsr71 Jun 23, 2022
b96fcd3
mavlink: update for OPEN_DRONE_ID_ARM_STATUS
tridge Aug 7, 2022
378dff5
AP_GPS: added get_undulation support
hendjoshsr71 Jul 28, 2022
d346633
AP_OpenDroneID: add OpenDrone ID library
BluemarkInnovations Jul 7, 2022
c52ae2e
AP_Vehicle: add OpenDroneID library
hendjoshsr71 Jul 28, 2022
3bd7922
GCS_MAVLINK: add OpenDroneID messages
BluemarkInnovations Jul 7, 2022
ed47b10
AP_Arming: add OpenDroneID Mandatory Arming Check
hendjoshsr71 Jul 17, 2022
9ce1115
AP_UAVCAN: support OpenDroneID
tridge Aug 6, 2022
bfc5e90
DSDL: added DroneCAN messages
tridge Aug 6, 2022
2374481
hwdef: added two OpenDroneID enabled builds
tridge Aug 7, 2022
2f4a3ea
CI: added CubeOrange-ODID build
tridge Aug 7, 2022
f6e233f
Tools: added ODID board types
tridge Aug 7, 2022
a34ff49
Tools: added ODID bootloaders
tridge Aug 7, 2022
1c8d206
Copter: fast attitude logging should be at loop rate
andyp1per Aug 6, 2022
9a450a0
Copter: add fast harmonic notch logging
andyp1per Aug 6, 2022
998119d
SITL: fix var naming for precland device center
shiv-tyagi Aug 2, 2022
6c3de20
hwdef: support moving baseline GPS yaw on MatekL431-Periph
tridge Jul 28, 2022
0e037c9
hwdef: support moving baseline yaw with Holybro G4 CAN GPS
tridge Jul 14, 2022
74a66ed
AP_OpenDroneID: prevent sending of lost transmitter msg too fast
tridge Aug 9, 2022
cdf8cad
AP_GPS: fixed undulation for DroneCAN GPS
tridge Aug 9, 2022
cc25897
AP_Periph: pass correct WGS84 height on GPS peripherals
tridge Aug 9, 2022
33f6c42
Tools: rebuilt bootloaders
tridge Aug 3, 2022
204a8cd
Plane: release notes for 4.2.3beta2
tridge Aug 9, 2022
0632b9a
Tools: powr_status.py: remove MAV_POWER_STATUS_ from bit descriptions
peterbarker Aug 9, 2022
fce4923
hwdef: disable power reset on peripheral line
bugobliterator Aug 10, 2022
760436c
bootloaders: update bootloaders for CubeOrange and related hardware
bugobliterator Aug 10, 2022
1c7e2f5
AP_HAL_SITL: correct bind-value SIM_RC_FAIL handling
peterbarker Aug 4, 2022
6709c6d
AP_Arming: rename contains_terrain_relative->contains_terrain_alt_items
peterbarker Aug 9, 2022
5b3a6da
AP_Mission: rename contains_terrain_relative->contains_terrain_alt_items
peterbarker Aug 9, 2022
e29374f
Tools: extract_features.py: allow for regular expressions for features
peterbarker Aug 10, 2022
98cd025
autotest: Add circuit test.
samuelctabor Jul 16, 2020
9a3cc77
Plane: Refactor altitude target into altitudePlanner library.
samuelctabor May 9, 2020
280a927
Log AltitudePlanner state
samuelctabor Jan 26, 2022
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
  •  
  •  
  •  
7 changes: 6 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[flake8]
ignore =
extend-ignore =
# H301: one import per line
H301,
# H306: imports not in alphabetical order (time, os)
Expand All @@ -15,4 +15,9 @@ ignore =
# E221 multiple spaces before operator
E221

extend-exclude =
build,
modules,
.git

max-line-length = 127
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
7 changes: 7 additions & 0 deletions .github/workflows/cygwin_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ jobs:
run: |
C:\Cygwin\bin\bash --login -c "Tools/scripts/cygwin_build.sh"

- name: Check build files
id: check_files
uses: andstor/file-existence-action@v1
with:
files: "artifacts/ArduPlane.elf.exe, artifacts/ArduCopter.elf.exe, artifacts/ArduHeli.elf.exe, artifacts/ArduRover.elf.exe, artifacts/ArduSub.elf.exe"
allow_failure: true

- name: Archive build
uses: actions/upload-artifact@v2
with:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/macos_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache-${{matrix.config}} # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: test build ${{matrix.config}}
env:
CI_BUILD_TARGET: ${{matrix.config}}
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/test_ccache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: test ccache

on: [push, pull_request, workflow_dispatch]
# paths:
# - "*"
# - "!README.md" <-- don't rebuild on doc change
concurrency:
group: ci-${{github.workflow}}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-20.04
container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:latest
strategy:
fail-fast: false # don't cancel if a job from the matrix fails
matrix:
toolchain: [
chibios,
]
gcc: [10]
steps:
# git checkout the PR
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: ccache test
shell: bash
run: |
PATH="/usr/lib/ccache:/opt/gcc-arm-none-eabi-${{matrix.gcc}}/bin:$PATH"
Tools/scripts/build_tests/test_ccache.py --boards MatekF405,MatekF405-bdshot --min-cache-pct=75
Tools/scripts/build_tests/test_ccache.py --boards CubeOrange,Durandal --min-cache-pct=75

16 changes: 8 additions & 8 deletions .github/workflows/test_chibios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
fmuv3,
revo-mini,
MatekF405-Wing,
configure-all
CubeOrange-ODID,
configure-all,
build-options-defaults-test
]
toolchain: [
chibios, # GCC-6
Expand All @@ -44,6 +46,10 @@ jobs:
config: revo-mini
- gcc: 6
config: MatekF405-Wing
- gcc: 6
config: periph-build
- gcc: 6
config: CubeOrange-ODID
include:
- config: stm32h7
toolchain: chibios-py2
Expand All @@ -67,13 +73,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache-${{matrix.config}}-${{ matrix.toolchain }}-${{ matrix.gcc }} # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: test ${{matrix.config}} ${{ matrix.toolchain }} gcc-${{matrix.gcc}}
env:
CI_BUILD_TARGET: ${{matrix.config}}
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache-${{ matrix.toolchain }}- # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: Configure CAN
if: ${{ matrix.config == 'sitltest-can'}}
run: |
Expand All @@ -66,6 +60,7 @@ jobs:
- name: test ${{matrix.config}} ${{ matrix.toolchain }}
env:
CI_BUILD_TARGET: ${{matrix.config}}
TERM: xterm
shell: 'script -q -e -c "bash {0}"'
run: |
PATH="/github/home/.local/bin:$PATH"
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/test_environment.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: test environment setup
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 6' # every saturday at midnight
workflow_dispatch:


concurrency:
Expand All @@ -25,8 +25,6 @@ jobs:
name: focal
- os: ubuntu
name: hirsute
- os: ubuntu
name: xenial
- os: archlinux
name: latest
- os: debian
Expand Down Expand Up @@ -92,6 +90,7 @@ jobs:
*"archlinux"*)
cp /etc/skel/.bashrc /root
cp /etc/skel/.bashrc /github/home
git config --global --add safe.directory /__w/ardupilot/ardupilot
Tools/environment_install/install-prereqs-arch.sh -qy
;;
esac
Expand All @@ -104,6 +103,7 @@ jobs:
shell: 'script -q -e -c "bash {0}"'
run: |
source ~/.bashrc
git config --global --add safe.directory /__w/ardupilot/ardupilot
./waf configure
./waf rover

Expand All @@ -115,5 +115,12 @@ jobs:
shell: 'script -q -e -c "bash {0}"'
run: |
source ~/.bashrc
case ${{matrix.os}} in
*"archlinux"*)
export PATH=/opt/gcc-arm-none-eabi-10-2020-q4-major/bin:$PATH
export PATH=/__w/ardupilot/ardupilot/ardupilot/Tools/autotest:$PATH
;;
esac
git config --global --add safe.directory /__w/ardupilot/ardupilot
./waf configure --board CubeOrange
./waf plane
8 changes: 1 addition & 7 deletions .github/workflows/test_linux_sbc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache- # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: test ${{matrix.config}} ${{ matrix.toolchain }}
env:
CI_BUILD_TARGET: ${{matrix.config}}
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/test_replay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache-${{ matrix.toolchain }}- # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: test ${{matrix.config}} ${{ matrix.toolchain }}
env:
CI_BUILD_TARGET: ${{matrix.config}}
Expand Down
33 changes: 4 additions & 29 deletions .github/workflows/test_sitl_copter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache-${{ matrix.toolchain }}- # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: build copter ${{ matrix.toolchain }}
shell: bash
run: |
Expand Down Expand Up @@ -96,13 +90,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache-base- # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: test ${{matrix.config}}
env:
CI_BUILD_TARGET: ${{matrix.config}}
Expand Down Expand Up @@ -133,7 +121,6 @@ jobs:
retention-days: 7

build-gcc-heli:
needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
runs-on: ubuntu-20.04
container:
image: ardupilot/ardupilot-dev-base:latest
Expand All @@ -157,13 +144,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache-base- # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: build heli
shell: bash
run: |
Expand Down Expand Up @@ -203,13 +184,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache-base- # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: test ${{matrix.config}}
env:
CI_BUILD_TARGET: ${{matrix.config}}
Expand Down
16 changes: 2 additions & 14 deletions .github/workflows/test_sitl_periph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache- # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: install 32-bit libraries
run: |
dpkg --add-architecture i386
Expand Down Expand Up @@ -90,13 +84,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache- # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: install 32-bit libraries
run: |
sudo dpkg --add-architecture i386
Expand Down
16 changes: 2 additions & 14 deletions .github/workflows/test_sitl_plane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache-${{ matrix.toolchain }}- # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: build plane ${{ matrix.toolchain }}
shell: bash
run: |
Expand Down Expand Up @@ -91,13 +85,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache-base- # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: test ${{matrix.config}}
env:
CI_BUILD_TARGET: ${{matrix.config}}
Expand Down
16 changes: 2 additions & 14 deletions .github/workflows/test_sitl_rover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache-${{ matrix.toolchain }}- # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: build rover ${{ matrix.toolchain }}
shell: bash
run: |
Expand Down Expand Up @@ -91,13 +85,7 @@ jobs:
restore-keys: ${{github.workflow}}-ccache-base- # restore ccache from either previous build on this branch or on master
- name: setup ccache
run: |
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
. .github/workflows/ccache.env
- name: test ${{matrix.config}}
env:
CI_BUILD_TARGET: ${{matrix.config}}
Expand Down
Loading