Commit Graph

47494 Commits

Author SHA1 Message Date
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
Josh Henderson 2b20dcf128 AP_InertialSensor: move GYR & ACC logging functions to Logging.cpp 2021-05-01 14:15:58 +10:00
Peter Barker 2cd0099bbc autotest: exclude decarotor from fly-each-frame-test 2021-05-01 13:25:13 +10:00
Peter Barker 76678ffaf3 autotest: fix octa-cwx in SITL 2021-05-01 13:25:13 +10:00
Peter Barker 5172e767df autotest: fix octa-dji in SITL 2021-05-01 13:25:13 +10:00
Peter Barker c7c4c17c68 autotest: improve change_mode debug 2021-05-01 13:25:13 +10:00
Peter Barker 63ba484087 autotest: add test which flies each frame we can 2021-05-01 13:25:13 +10:00
Andrew Tridgell 6f5626d04f AP_Vehicle: fixed SD card slowdown with early mounts 2021-05-01 12:32:23 +10:00
Tatsuya Yamaguchi c06ed9f7f5 AP_OpticalFlow: TYPE param becomes enable flag 2021-04-30 19:06:14 -04:00
Andrew Tridgell f9866dc27e HAL_ChibiOS: fixed LED_SAFETY attached to FMU with recent DShot updates 2021-04-30 17:26:33 +10:00
Peter Barker 4a9ee19599 AP_Notify: correct parameter documentation 2021-04-30 13:50:47 +10:00
Peter Barker 9e1f03c931 Vagrant: add hirsute and hirsute-desktop
And tidy testing a little
2021-04-30 12:13:06 +10:00
Pierre Kancir 21d92780d2 RC_Channel: log init_aux_function and read_aux 2021-04-29 21:49:45 +10:00