Commit Graph

47306 Commits

Author SHA1 Message Date
Andy Piper
384ecd4a5b AP_HAL_ChibiOS: check command queue is empty before arming 2021-05-05 17:41:24 +10:00
Andy Piper
66fadf53a1 AP_HAL_ChibiOS: remove dshot calibration step 2021-05-05 17:41:24 +10:00
Andy Piper
f3f3056dba AP_HAL_ChibiOS: add support for dshot commands to rcout
add support for dshot beepcodes through tonealarm
add support for dshot reversal and command queue
add support for dshot commands to all channels
correctly manage channel enablement in PWM groups
Correctly send dshot commands when using bi-dir dshot
allow reversible settings to be changed
ChibiOS: allow more than one type of ESC for dshot commands
Only execute reverse/reversible commands on BLHeli
add support for checking active ESCS
mark ESCs active when bdshot telemetry is returned
allow dshot alarm to be disabled
allow priroitized dshot commands
2021-05-05 17:41:24 +10:00
Andy Piper
38ef81e9e9 AP_Arming: call rcout arming checks 2021-05-05 17:41:24 +10:00
Andy Piper
2b327af79b AP_Periph: use tone alarm types 2021-05-05 17:41:24 +10:00
Andy Piper
18366a4b6d SRV_Channel: propagate ESC type into rcout 2021-05-05 17:41:24 +10:00
Andy Piper
d23a0bc23d AP_HAL_SITL: allow tone alarm types 2021-05-05 17:41:24 +10:00
Andy Piper
dee4ce3d35 AP_BLHeli: allow both reversed and reversible states to be set
change dshot command mask names
mark ESCs active when telemety is returned
set dshot esc type
2021-05-05 17:41:24 +10:00
Andy Piper
e710799b12 AP_Notify: add support for dshot command beeps
add support for ESC LEDs triggered by dshot commands
don't send DShot LED commands when armed
make enablement of dshot buzzer and LEDs configurable
2021-05-05 17:41:24 +10:00
Andy Piper
ba96f4491d AP_HAL_Linux: allow tone alarm types 2021-05-05 17:41:24 +10:00
Andy Piper
3428cbf993 AP_HAL: add dshot command codes for beeps, leds and motor control
allow more than one type of ESC for dshot commands
add support for checks around active ESCs
allow dshot alarm to be disabled
allow prioritized dshot commands
2021-05-05 17:41:24 +10:00
Peter Barker
30b9a7aeb4 AP_GPS: correct GPS_AUTO_SWITCH parameter description 2021-05-05 16:41:50 +10:00
James O'Shannessy
bc38d8a78c AutoTest: Fix autotest from failing due to state from earlier test
Autotest was failing because there was an expectation that the plane would fly relatively north from the takeoff point.
This assumption may not be true. We work around it by using a tin can instead of an exclusion polygon so that we breach no matter the direction we fly.
2021-05-05 10:59:10 +10:00
James O'Shannessy
0e656c1504 AutoTest: Ensure Plane uses home as Fence Return Point if one is not present and no exclusion fence is present 2021-05-05 10:59:10 +10:00
James O'Shannessy
5253b8a3ee ArduPlane: Fix spiralling loiters when no fence return point can be found 2021-05-05 10:59:10 +10:00
murata
6d8d35f272 Copter: Change the direct value to the definition name 2021-05-04 19:40:14 -04:00
Peter Barker
9a13b5c9b6 autotest: add test for auxfunc triggering via script 2021-05-05 07:13:18 +10:00
Iampete1
0545c3941b Copter: mode circle: trigger param value change 2021-05-04 10:41:39 +10:00
Iampete1
e995e8873c AC_Circle: add function to check for radius param change 2021-05-04 10:41:39 +10:00
Andrew Tridgell
7cc11e6856 AP_GPS: fixed handling of loss of GPS yaw
when the GPS yaw data doesn't pass the internal tests of validity for
400ms we need to stop telling the EKF that we have valid yaw
2021-05-04 10:37:15 +10:00
Randy Mackay
e78c6804a0 AC_AutoTune: remove start method and always init position controller 2021-05-03 20:23:27 -04:00
Randy Mackay
67e15f8d07 Copter: autotune entry checks moved to init 2021-05-03 20:23:27 -04:00
Hwurzburg
defc81443c AP_OSD: fix disable value for terrain alt warning 2021-05-04 10:13:56 +10:00
chobits
00b44ff6c8 AC_WPNav: remove unused function 2021-05-03 20:10:39 -04:00
chobits
7b60ace18b Copter: fix takeoff drift if vehicle is not in origin 2021-05-03 20:10:39 -04:00
Ari Krupnik
9b88823ce6 Rover: logging for direct-rotation sail mast output 2021-05-04 01:02:50 +01:00
Iampete1
8544d00c97 Tools: rename TURN_MAX_G to ATC_TURN_MAX_G in param sets 2021-05-03 19:22:16 -04:00
Iampete1
c1d4e5116d Rover: move TURN_MAX_G param to atitude control 2021-05-03 19:22:16 -04:00
Iampete1
c5503b9aed AP_WPNav: read turn G acceleration from Atitude control 2021-05-03 19:22:16 -04:00
Iampete1
980c41e273 APM_Control: G limit all turn rates 2021-05-03 19:22:16 -04:00
Ari Krupnik
d1f0a2f42a SRV_Channel: documenting new SERVOx_FUNCTION values 2021-05-03 19:19:05 -04:00
Iampete1
cbbdf8ba74 RC_Channel: add SCRIPTING aux fun trigger source 2021-05-04 09:05:56 +10:00
Iampete1
15362484bc AP_Scripting: add do_aux_function binding and example 2021-05-04 09:05:56 +10:00
Rishabh
acfdf6a38f AP_Proximity: remove mavlink boundary clearing conditions 2021-05-02 20:03:56 -04:00
Iampete1
fd2909d53f Plane: change location refence frame correctly 2021-05-02 18:51:27 +10:00
Iampete1
1a182a52da Plane: init terrain to locaiton and wpnav sub sytems 2021-05-02 18:51:27 +10:00
Iampete1
572e401894 Plane: fix QRTl terrain following 2021-05-02 18:51:27 +10:00
Iampete1
a165a0e1bb Plane: fix loiter terrain following 2021-05-02 18:51:27 +10:00
Iampete1
aa72b7da46 Tools: autotest: Plane: add loiter terrain following test 2021-05-02 18:51:27 +10:00
Andrew Tridgell
8764d69e2c HAL_ChibiOS: default SDMMC clock to 12.5MHz max on H7
this makes microsd considerably more reliable
2021-05-02 13:04:42 +10:00
Andrew Tridgell
bde21ad83c ChibiOS: fixed the clock selection on H7 SDMMC
cap clock at 25MHz

this also gets rid of the annoying warning when building on H7
2021-05-02 13:04:42 +10:00
Traxius1
619e6cb1b7 Tools: added name to GIT_Success.txt 2021-05-02 09:28:57 +10:00
Peter Barker
57abaf0dec autotest: remove retry loop from within GyroFFTHarmonic 2021-05-01 21:30:28 +10:00
Peter Barker
4928ec18af autotest: remove retry loop from within fly_dynamic_notches
We retried externally to the test - may as well do so within
2021-05-01 21:30:28 +10:00
Andrew Tridgell
8fcb03350b AP_Logger: minimal fix for allowing log listing while logging
this prevents loss of log data when listing logs on file backend
2021-05-01 19:21:48 +10:00
Josh Henderson
c8b8ff3380 AP_Logger: Privatize AC_Avoidance Logging 2021-05-01 19:21:17 +10:00
Josh Henderson
aac9771daf AC_Avoidance: Privatize Logging 2021-05-01 19:21:17 +10:00
Peter Barker
8fdfdebe55 autotest: pass sitl_commandline_customised up the context stack
We're running tests on the Callisto frame when we shouldn't in Copter as
the information was lost in nested Contexts.

We can only reset the SITL commandline at an actual Test level - if a
defaults file has been used then it is unclear as to what the state of
any parameter is in storage as we move between contexts
2021-05-01 17:22:36 +10:00
Peter Barker
117a44b589 autotest: remove corefiles at start of run
These lead to false-positive failures in the test suite
2021-05-01 17:22:36 +10:00
Josh Henderson
ac57950575 AP_Logger: move GYR & ACC log structs to AP_InertialSensor 2021-05-01 14:15:58 +10:00