Commit Graph

49421 Commits

Author SHA1 Message Date
Andrew Tridgell f7f63b715f Copter: no need to fabs() get_default_speed_down() as it does fabs already 2021-09-07 18:55:00 +09:00
Andrew Tridgell 9342ded2bb AC_WPNav: cope with negative WPNAV_SPEED_DN
a user set WPNAV_SPEED_DN to a negative value, with odd results. Take
absolute value to cope. Even though the param docs clearly say range
should be positive, it is one where it is easy to think it should be
negative
2021-09-07 18:55:00 +09:00
Pierre Kancir aade77db9a Tools: build_ci.sh don't unset CXX and CC by default. That was for TravisCI 2021-09-07 15:45:38 +10:00
Pierre Kancir d24b469936 Remove old .travis.yml 2021-09-07 15:45:38 +10:00
Josh Henderson 484be2c48e Tools: windows install scripts include arm-gcc install 2021-09-07 11:07:10 +10:00
Peter Barker fd144ccc59 GCS_MAVLink: log source sysid/compid in MAVC
For field length purposed had tor remove Current and autocontinue which we don't care about
anyway.
2021-09-07 11:06:08 +10:00
Peter Barker 13a7b60279 AP_Logger: log source sysid/compid in MAVC
For field length purposed had tor remove Current and autocontinue which we don't care about
anyway.
2021-09-07 11:06:08 +10:00
Peter Barker ec53a41ffd AC_WPNav: monitor WPNAV_SPEED for changes 2021-09-07 10:04:07 +09:00
Peter Barker d94191b8d8 autotest: ensure WPNAV_SPEED changes speed in flight 2021-09-07 10:04:07 +09:00
Andrew Tridgell 2e4766fe54 HAL_ChibiOS: ensure HI_POWER periph is on 2021-09-07 10:40:44 +10:00
Andrew Tridgell 532396e5e6 REVERT: HAL_ChibiOS: Rename STM32F412 hw definition file
This reverts commit 5de6c690d8.

That commit broke the build for the affected board as the chibios
headers rely on the name of the file matching a ifdef
2021-09-07 10:37:43 +10:00
Andrew Tridgell 8366a1622c AP_OSD: hide disabled parameters in OSD var_info2 2021-09-07 10:36:16 +10:00
Andrew Tridgell 10cbd3fd80 AP_Param: added a flag for hidden parameters 2021-09-07 10:36:16 +10:00
Iampete1 ccd330a40a AP_Vehicle: add AUTO_RTL_EXIT mode reason 2021-09-07 09:35:35 +09:00
Iampete1 f848917e1a Copter: log entry and exit of Auto RTL pseudo mode 2021-09-07 09:35:35 +09:00
Hwurzburg 327f3a0803 ArduPlane: add option for man throttle center to be TRIM_THROTTLE 2021-09-07 10:02:26 +10:00
Iampete1 95fbf39f72 Plane: quadplane: check_attitude_relax use the last time the controllers were run not the last time relax was checked 2021-09-07 09:09:47 +10:00
Iampete1 fb8fb34cfc Plane: tailsitter: don't relax attitude control in transision to VTOL, rely on check_attitude_relax to do the right thing 2021-09-07 09:09:47 +10:00
Josh Henderson a91c0f4b12 AC_WPNav: simplify get_wp_destination_loc 2021-09-07 08:02:18 +09:00
Michelle Rossouw 0ee8b452ab Blimp: fixup mavlink mav type, fix mode ordering 2021-09-06 11:31:34 +01:00
Andrew Tridgell b77580f934 HAL_ChibiOS: avoid an issue with DCache init on H743
this fixes an issue found by Andy Piper where the H743 bootloader gets
a hard fault in the DCache enable code when SRAM1 is primary memory.

This is the simplest fix I could think of, and avoids the problem by
making DTCM the first segment in the bootloader.

Note that we can't use DTCM as first segment for main firmware since
we went to double precision EKF as the static variables don't fit
2021-09-06 18:23:03 +10:00
bugobliterator 948a0012c5 waf: fix build issue on cygwin after changes for external flash 2021-09-06 18:04:48 +10:00
Randy Mackay 8a5ade1f46 AC_WPNav: protect against divide-by-zero 2021-09-06 16:02:25 +09:00
Randy Mackay 28a14b3602 AC_WPNav: move definitions to .cpp file 2021-09-06 16:02:25 +09:00
Randy Mackay af9a91c853 Copter: terrain spelling fix 2021-09-06 16:02:25 +09:00
Randy Mackay ba50f68390 AC_WPNav: terrain spelling fix 2021-09-06 16:02:25 +09:00
Leonard Hall 97decc4c21 Copter: Remove parameter RNGFND_GAIN 2021-09-06 16:00:19 +09:00
Leonard Hall 5337ab0551 AC_AttitudeControl: AC_PosControl: Remove const float 2021-09-06 16:00:19 +09:00
Leonard Hall 94002101fd AC_WPNav: Separate landing and terrain following. 2021-09-06 16:00:19 +09:00
Leonard Hall 30cda045f1 AC_Autotune: Separate landing and terrain following. 2021-09-06 16:00:19 +09:00
Leonard Hall c2f7702094 Sub: Separate landing and terrain following. 2021-09-06 16:00:19 +09:00
Leonard Hall 5fea74d4d0 Copter: Separate landing and terrain following. 2021-09-06 16:00:19 +09:00
Leonard Hall 0fff010046 AC_AttitudeControl: AC_PosControl: Separate landing and terrain following. 2021-09-06 16:00:19 +09:00
Andy Piper 568ad09eb8 Copter: NFC variable naming cleanups on turtle mode 2021-09-06 10:06:40 +09:00
Andy Piper 36283daf0e Tools: openocd config for h7 2021-09-06 11:01:16 +10:00
Hwurzburg 5ca652a243 Plane: rename tailistter motor class to more correct singl/dual motor layout 2021-09-06 10:14:05 +10:00
Hwurzburg d0b67baefd AP_HAL_ChibOS: add pin defs for RSSI to KakuteF7 2021-09-06 10:12:48 +10:00
Hwurzburg 854697f870 AP_HAL_ChibiOS: update default params for SWAN-K1 2021-09-06 08:07:06 +10:00
Rishabh Singh 159d172ade README: Correct Spelling of my name 2021-09-04 10:34:38 +01:00
Josh Henderson 9d32e481c2 Tools: locations.txt move Grand Canyon to better defined terrain data 2021-09-04 17:00:10 +10:00
Pierre Kancir 2b44f86f9c AP_HAL: fix ringbuffer test on clang.
../../libraries/AP_HAL/utility/tests/test_ringbuffer.cpp:46:17: fatal error: variable-sized object may not be initialized
    uint8_t buf[strlen(str)+5] {};
2021-09-04 15:46:47 +10:00
Pierre Kancir 8d5a0d8a6a CI: disable clang build for chibios as broken 2021-09-04 14:18:01 +10:00
Pierre Kancir 575c608688 Tools: allow to use sim_vehicle.py without pymavlink installed 2021-09-04 07:49:42 +10:00
Hwurzburg 13b0e3091d ArduPilot: update maintainers list 2021-09-04 07:12:21 +10:00
Andrew Tridgell 8462ce4e2e HAL_ChibiOS: fixed GPIO lines for QioTekZealotF427 2021-09-03 18:16:43 +10:00
Andrew Tridgell a76323aaca AP_DAL: fixed a bug in RMGH logging 2021-09-03 18:16:08 +10:00
Andrew Tridgell eacdd017d7 AP_Declination: added a test suite for AP_Declination
use test vectors from MAVProxy mavextra
2021-09-03 14:45:17 +10:00
Andrew Tridgell 71c5c624ce AP_Declination: fixed rounding in mag field
thanks to Angela for noticing this
2021-09-03 14:45:17 +10:00
Pierre Kancir 2e71c6fc98 Tools: don't install MAVProxy submodule Cesium on CI 2021-09-03 13:18:22 +10:00
Peter Barker e5c35d399c autotest: re-enable Heli spline waypoint test
position controller has been completely rewritten, so the bug should be
gone now....
2021-09-03 12:46:33 +10:00