Commit Graph

54982 Commits

Author SHA1 Message Date
Leonard Hall 333596d233 AC_WPNav: Support changing update period 2023-01-08 21:03:25 +11:00
Leonard Hall affe9bc35f AC_AttitudeControl: Support changing update period 2023-01-08 21:03:25 +11:00
Leonard Hall 3d1959e159 AP_WheelEncoder: Support changing update period 2023-01-08 21:03:25 +11:00
Leonard Hall 951c818927 AP_Control: Support changing update period 2023-01-08 21:03:25 +11:00
Leonard Hall a11a1db58b Filter: Support changing update period 2023-01-08 21:03:25 +11:00
Leonard Hall f07448a0ac AP_Math: Support changing update period 2023-01-08 21:03:25 +11:00
lthall 925510e44f AC_PID: Support changing update period 2023-01-08 21:03:25 +11:00
Peter Hall 5615ebd8b8 Plane: Quadplane: tiltrotor: add Q_OPTION to keep motors tilted up when disarmed in FW modes 2023-01-08 21:03:25 +11:00
Peter Barker 8cde9dc709 bootloaders: add bootloader for PixPilot-v6 2023-01-08 21:03:25 +11:00
xiao c45608c3e5 Tools: reserve ID for PixPilot-V6 2023-01-08 21:03:25 +11:00
xiao 98654cbcf0 AP_HAL_ChibiOS: added PixPilot-V6 2023-01-08 21:03:25 +11:00
Andrew Tridgell f5e3df7981 CI: only run test_size on a pull request 2023-01-08 21:03:25 +11:00
Andy Piper e228244d33 AP_HAL_ChibiOS: increase SPI clock for ICM42688 on CUAV-Nora
use regular speed for ICM42688 CS on Nora
2023-01-08 21:03:25 +11:00
Andy Piper 14f7a8b536 scripts: add CUAV-Nora-bdshot 2023-01-08 21:03:25 +11:00
Andy Piper fcf98e3ad2 bootloaders: add CUAV Nora bdshot bootloaders 2023-01-08 21:03:25 +11:00
Andy Piper 62028a3b0d AP_HAL_ChibiOS: hwdef for bdshot version of CUAV Nora/Nora+ 2023-01-08 21:03:25 +11:00
Randy Mackay d9c4897335 Copter: version to 4.3.2 2023-01-08 21:03:25 +11:00
Randy Mackay c57e1d7287 Copter: 4.3.2 release notes 2023-01-08 21:03:25 +11:00
Andrew Tridgell cafc7b9119 Plane: prepare for 4.3.2 release 2022-12-23 10:16:34 +11:00
Andrew Tridgell 540d48c6a4 Plane: release notes for 4.3.2 2022-12-23 10:16:34 +11:00
Randy Mackay be75b3f24e AP_Arming: revert add system check of main loop rate
This reverts commit 6713caba55.
2022-12-23 10:16:34 +11:00
Bredemeier, Fabian (TD-M) 7db2be5ce5 Copter: Simulink Model and init scripts for Copter-4.3
- arducopter.slx: Simulates ArduCopter Stabilize and Althold controller and optional plant model
- sid_pre.m: Loads *.bin files to Matlab structs
- sid_sim_init.m: Loads signals and parameters from Matlab structure into Simulink model
- sid_controller_validation.m: Validation of the flight controller model with the flight data loaded to the Matlab workspace.
2022-12-23 10:16:06 +11:00
Andrew Tridgell 9f97810fde Plane: prepare for 4.3.2beta2 2022-12-12 08:01:10 +11:00
Andrew Tridgell 56f20edbb5 Plane: updated release notes for 4.3.2beta2 2022-12-12 07:59:54 +11:00
Andrew Tridgell e2f45f49de AP_Landing: prevent a landing division by zero
if sink rate set to zero
2022-12-11 09:58:17 +11:00
Randy Mackay 4d98594e79 Copter: version to 4.3.2-rc1 2022-12-11 09:58:17 +11:00
Randy Mackay 790e257812 Copter: 4.3.2-rc1 release notes 2022-12-11 09:58:17 +11:00
Randy Mackay 766f76c5b4 Rover: version to 4.3.0-beta6 2022-12-11 09:58:17 +11:00
Randy Mackay 2f5a77ca41 Rover: 4.3.0-beta6 release notes 2022-12-11 09:58:17 +11:00
bugobliterator c7c162c236 AP_HAL_ChibiOS: make EKF running on second IMU primary 2022-12-11 09:58:17 +11:00
Andrew Tridgell aa9ea16ac9 hwdef: save flash space on boards that are over 2022-12-11 09:58:17 +11:00
Peter Barker 8bfe12173c Tools: move to compiling 64-bit Windows executables
Co-authored-by: davidbuzz@gmail.com
Co-authored-by: robertlong13

cygwin has dropped 32-bit support
2022-12-11 09:58:17 +11:00
Peter Barker 918bd96cba .github: move to compiling 64-bit Windows executables
cygwin has dropped 32-bit support
2022-12-11 09:58:17 +11:00
Andrew Tridgell d99b154e5f AP_Scheduler: guarantee that FAST_TASK tasks do run on every loop
the breakup of the fast loop resulted in us sometimes (under heavy CPU
load) not running a fast task on every loop
2022-12-11 09:58:17 +11:00
Andrew Tridgell 241dfd5477 Plane: added FAST_TASK() for key scheduler tasks
this will be needed with #22298 as that now relies on integrating
position based on loop times
2022-12-11 09:58:17 +11:00
Randy Mackay ca8c55ebae AP_Arming: add system check of main loop rate 2022-12-11 09:58:17 +11:00
Randy Mackay 7e70b50259 AP_Scheduler: load_average returns 1 if main loop running slowly 2022-12-11 09:58:17 +11:00
Randy Mackay fb041aa098 AP_Scheduler: add get_filtered_loop_rate_hz 2022-12-11 09:58:17 +11:00
Randy Mackay 924cd5c0ed AP_Logger: PM msg gets LR field 2022-12-11 09:58:17 +11:00
Andrew Tridgell b657563b89 Plane: ensure smoothed airspeed is > 0
prevent possible divide by zero
2022-12-11 09:58:17 +11:00
Andrew Tridgell 95f916f660 Plane: added turn corrdination to autotune yaw rate tuning
this makes it much easier to do a yaw rate autotune, and also means
you don't need to use the rudder stick at all, as the yaw controller
is already exercised nicely with roll movements, so overall the tune
is faster and more accurate as less cross-axis coupling
2022-12-11 09:58:17 +11:00
Andrew Tridgell d6f5049dda Tools: rebuilt bootloaders affected by STORAGE_FLASH_SIZE bug 2022-12-11 09:58:17 +11:00
Andrew Tridgell 16ebba2e22 hwdef: use only USB for bootloader on MatekF405-Wing
the bootloader doesn't fit in flash with UARTs as well
2022-12-11 09:58:17 +11:00
Andrew Tridgell 032e019836 Tools: added --only-bl option to configure_all.py 2022-12-11 09:58:17 +11:00
Andrew Tridgell db64f3b479 hwdef: stop defining STORAGE_FLASH_PAGE in hwdef-bl.dat
this should only be in hwdef.dat, so we don't have it in 2 places
2022-12-11 09:58:17 +11:00
Andrew Tridgell 80e7f605fd HAL_ChibiOS: fixed a bug in processing STORAGE_FLASH_PAGE
when we look in hwdef.dat for STORAGE_FLASH_PAGE we need to recurse
into includes, or we may miss it
2022-12-11 09:58:17 +11:00
Andrew Tridgell 90001e54d8 Plane: ensure we init z controller when inactive
this prevents us getting the AC_PosControl internal error, which is
turning up as a common false positive.
2022-12-11 09:58:17 +11:00
Andrew Tridgell 5a5297a893 AP_Camera: fixed CAM_MIN_INTERVAL
delay the next photo until minimum interval is met, which is what the
documentation says. This fixes a nasty bug with mission plans where an
extra photo can be triggered by a camera trigger in a mission which
results in the number of CAM msgs being more than the number of images
on the microSD, which makes the mapping run unusable
2022-12-11 09:58:17 +11:00
Andrew Tridgell a023ff775c AP_Logger: prevent long loops due to parameter logging
ensure that the logging process() doesn't take more than 1ms
2022-12-11 09:58:17 +11:00
Andrew Tridgell 44c7beef61 AP_HAL: added TIME_CHECK() macro
this can be used to find places where we use more time than
expected. It works similarly to WITH_SEMAPHORE()
2022-12-11 09:58:17 +11:00