Commit Graph

52196 Commits

Author SHA1 Message Date
Iampete1 80f8f8b14e Plane: quadplane: double log QPOS state change 2022-03-01 10:59:07 +11:00
Shiv Tyagi 560e24385a AP_Common: fix location sanitize unit test 2022-03-01 10:55:32 +11:00
Shiv Tyagi 41a5afdf64 AP_Common: use default location alt frame while sanitizing location alt
We should also set alt frame along with copying altitude value while sanitizing it
2022-03-01 10:55:32 +11:00
Iampete1 a47445bde9 RC_Channel: update RC_MIN_LIMIT_PWM from 900 to 800 2022-03-01 10:47:25 +11:00
Iampete1 c26ffed47f Plane: motor_test: use PWM min and max from RC_Channel 2022-03-01 10:47:25 +11:00
Iampete1 96c47dadcb Copter: motor_test: use PWM min and max from RC_Channel 2022-03-01 10:47:25 +11:00
Iampete1 d7ff10163c AP_Button: trigger low on invalid PWM input 2022-03-01 10:47:25 +11:00
Peter Barker b19bfba0ec Plane: use has_valid_input in place of checking throttle counter 2022-03-01 10:29:37 +11:00
Peter Barker 850227ffdb autotest: add test for THR_FAILSAFE==2 and throttle output 2022-03-01 10:29:37 +11:00
Peter Barker 884450868e AP_NavEKF: use length_squared in place of length 2022-02-28 16:20:14 +11:00
Randy Mackay a843249f11 Rover: 4.2.0-rc1 release notes 2022-02-28 11:43:37 +09:00
Randy Mackay 0846a950bb Copter: 4.2.0-rc1 release notes 2022-02-28 11:43:37 +09:00
Peter Barker 122d97ece7 autotest: add comment clarifying what an error actually means 2022-02-28 12:47:57 +11:00
Peter Barker 43bbfacef5 AP_Baro: reformat log message to separate fields out 2022-02-28 12:47:57 +11:00
Peter Barker 7bb13e934d autotest: add support for multi-line log formats 2022-02-28 12:47:57 +11:00
Peter Barker 13fa1e30ad ArduPlane: rename and make enum RC_Channel::ControlType
Type:: is too generic; get_type should probably be get_control_type
2022-02-27 09:55:01 +11:00
Peter Barker 37af7e5166 RC_Channel: rename and make enum RC_Channel::ControlType
Type:: is too generic; get_type should probably be get_control_type
2022-02-27 09:55:01 +11:00
Peter Barker 4e122a3d50 AP_IOMCU: rename and make enum RC_Channel::ControlType
Type:: is too generic; get_type should probably be get_control_type
2022-02-27 09:55:01 +11:00
Peter Barker 14ce09279f RC_Channel: privatise switch reading functions 2022-02-27 09:51:04 +11:00
Peter Barker d3db716dd9 RC_Channel: remove unused functions 2022-02-27 09:51:04 +11:00
Peter Barker d41388f242 RC_Channel: privatise range accessors 2022-02-27 09:51:04 +11:00
Peter Barker f79c43eebd Tools: build_binaries.py: ensure existence of buildlogs dir
If buildlogs didn't exist then the sqlite database creation would fail.

This really shouldn't have been done in init anyway...
2022-02-26 14:17:01 +11:00
Henry Wurzburg f5766bb098 AP_BattMonitor: update name of type 10 to Sum of Selected Monitors 2022-02-26 08:31:24 +09:00
murata 53d8d9b58e Frame_params: Add DJI AGRAS MG-1 2022-02-26 08:28:45 +09:00
Peter Barker e6c1bc2402 autotest: fix MAVFTP test 2022-02-26 10:11:19 +11:00
Randy Mackay 10e69373b3 AP_Scripting: copter-fast-descent has less aggressive slowdown at end 2022-02-26 08:05:05 +09:00
Randy Mackay 3efebcf1e0 AP_Scripting: copter-fast-descent uses small default radius 2022-02-26 08:05:05 +09:00
Randy Mackay fc9cfe9b4a AP_Scripting: copter fast descent from Auto
Also use custom parameters
Allow yaw to be static or point towards center
2022-02-26 08:05:05 +09:00
Peter Barker 3f7e120a67 autotest: add test for terrain_check 2022-02-25 09:28:04 +11:00
Peter Barker 62efb470f6 autotest: change fly_terrain_mission test name 2022-02-25 09:28:04 +11:00
Randy Mackay 020262bfe7 Rover: fix nav_script_time timeout 2022-02-24 10:00:42 +09:00
Randy Mackay df5c3acdfe Copter: fix nav_script_time timeout 2022-02-24 10:00:42 +09:00
Andy Piper b10d6f6ce9 bootloaders: update SPRacingH7 bootloaders. 2022-02-24 10:19:07 +11:00
Andy Piper 0696dda324 AP_FlashIface: add support for DTR variant of w25q found on SPRacingH7 2022-02-24 10:19:07 +11:00
Andy Piper ed952a0ea0 AP_HAL_ChibiOS: allow flash to be write-protected/unprotected on reboot
control protection support via HAL_FLASH_PROTECTION
provide support for flash protection on SPRacingH7
SPRacingH7 bootloader needs to use w25q-dtr
2022-02-24 10:19:07 +11:00
Andy Piper b32638b29e AP_Bootloader: allow flash to be unprotected from the bootloader 2022-02-24 10:19:07 +11:00
Andy Piper c01b1801c8 AP_BoardConfig: add options for write protecting bootloader and main flash
add option to completely remove protection on flash banks
2022-02-24 10:19:07 +11:00
Peter Barker f199f8be10 autotest: add more parachute tests 2022-02-24 09:20:31 +11:00
Peter Barker 699648ef6f AP_Radio: fix build for skyviper-journey 2022-02-24 09:18:34 +11:00
Peter Barker e312c3de30 Tools: correct copying of binary files under Python3 2022-02-23 23:38:14 +11:00
Peter Barker e0e84880b2 Tools: add facility to print stack traces 2022-02-23 23:38:14 +11:00
Andrew Tridgell 8723ec3b2a AP_Notify: fixed builds
broken by combination of alarm changes and header changes
2022-02-23 21:48:58 +11:00
Peter Barker 69e0e544d1 autotest: loosen constraints on AccelCal test 2022-02-23 18:50:28 +11:00
Henry Wurzburg ac88f354fc hwdef: update Swan-K1 with new harmonic notch mask to avoid errors 2022-02-23 18:45:51 +11:00
Peter Barker 2d96842490 GCS_MAVLink: correct out-of-space-to-send count 2022-02-23 18:43:34 +11:00
Andy Piper 02219ba3e5 AP_HAL_ChibiOS: ensure chan_offset is initialized before using it 2022-02-23 18:35:43 +11:00
Andy Piper 9cec88818e AP_Notify: add support for alternate alarm function
enable alarm based on pwm
2022-02-23 18:35:43 +11:00
Andy Piper 7d5c493db5 SRV_Channel: add support for alarm servo functions 2022-02-23 18:35:43 +11:00
Andy Piper b6022ca5d4 AP_HAL_ChibiOS: add support for alternate alarm PWM group
account for inverted alarms and build on boards without PWM
enable alarm based on pwm
shutdown alarm channel if using a different one
2022-02-23 18:35:43 +11:00
Andy Piper f840315aa4 AP_HAL_ChibiOS: clock H750 at 480Mhz when using 8Mhz, 16Mhz and 24Mhz crystals 2022-02-23 18:19:56 +11:00