Commit Graph

45395 Commits

Author SHA1 Message Date
Randy Mackay d964fa2307 Tools: fixup EKF source pre-arm test
although setting COMPASS_USE/2/3 to zero disables the pre-arm for EK3_SRCx_YAW = 1 (Compass) the pre-arm still triggers if EK3_SRCx_YAW = 3 (External Compass Fallback)
2020-12-21 16:56:38 +09:00
Randy Mackay 20f1603b73 AP_NavEKF: source skips compass pre-arm check 2020-12-21 16:56:38 +09:00
Randy Mackay 4998b536b4 AP_NavEKF: source returns YawSource None if COMPASS_USE all zero 2020-12-21 16:56:38 +09:00
Randy Mackay dfd1c23cd3 AP_NavEKF: source format fix 2020-12-21 16:56:38 +09:00
Randy Mackay 39be85cef4 AP_NavEKF3: integrate Source loss of init 2020-12-21 16:56:38 +09:00
Andrew Tridgell 218c0e4385 AP_NavEKF: Source's active_source_set becomes index 2020-12-21 16:56:38 +09:00
Andrew Tridgell 89f9b9e9b0 AP_NavEKF3: use AP_Enum to make code clearer 2020-12-21 16:56:38 +09:00
Mark Whitehorn 9bf89e5635 Plane: add check for vectored tailsitter in tailsitter_transition_vtol_complete 2020-12-21 12:56:24 +11:00
Mark Whitehorn 7446a9c33c AC_AttitudeControl: make relax_attitude_controllers() non-virtual 2020-12-21 12:56:24 +11:00
Mark Whitehorn dd7a860f23 Plane: always instantiate AC_AttitudeControl_TS 2020-12-21 12:56:24 +11:00
Mark Whitehorn 24508f08dc Plane: don't relax pitch attitude controller for vectored tailsitters in throttle_wait
add is_vectored_tailsitter()
instantiate AC_AttitudeControl_TS for tailsitters
2020-12-21 12:56:24 +11:00
Mark Whitehorn cc2c631d23 AC_AttitudeControl: add AC_AttitudeControl_TS
move tailsitter body-frame roll input method to new subclass
override relax_attitude_controllers in AttitudeControl_TS
2020-12-21 12:56:24 +11:00
Andrew Tridgell ba78fecaaa autotest: added Kris location
helps with testing missions from Kris in China
2020-12-21 12:05:50 +11:00
Andrew Tridgell 8e3c6124eb Plane: added support for rear motor tilt
needed for X8 tilt tri test aircraft for this PR
2020-12-21 12:05:50 +11:00
Andrew Tridgell 7f3a851dd3 SRV_Channel: added support for rear motor tilt 2020-12-21 12:05:50 +11:00
Andrew Tridgell e94cf561d0 Plane: use rull euler control for fwd transition of tilt vectored planes
this gives strong yaw control and wind handling for tilt vectored
planes in forward transitions. It relaxes the yaw if the user either
demands yaw with stick input or plane navigation is demanding a roll
angle for a turn

When navigation is demanded we setup yaw rate for a coordinated turn
2020-12-21 12:05:50 +11:00
Andrew Tridgell abd5f8351d Plane: don't reset yaw target in TRANSITION_TIMER for tilt-vectored quadplanes 2020-12-21 12:05:50 +11:00
Tatsuya Yamaguchi 4dc5162d0a AP_RangeFinder: change i2c reading frequency to 50Hz 2020-12-19 08:14:54 -03:00
ashvath 54708d916b AP_RangeFinder: TFminiPlus driver outputs init failure to ground station 2020-12-19 08:14:54 -03:00
Tatsuya Yamaguchi b0ee6393ae AP_RangeFinder: TFminiPlus: set frame rate to 250hz 2020-12-19 08:14:54 -03:00
Dr.-Ing. Amilcar do Carmo Lucas 95bab71431 Mavlink: common.xml: Update to latest mavlink
common.xml: Add signal_quality field to DISTANCE_SENSOR message
2020-12-19 19:54:03 +11:00
Dr.-Ing. Amilcar do Carmo Lucas d76825feeb GCS_MAVLink: adapt to upstream changes in the distance_sensor mavlink message 2020-12-19 19:54:03 +11:00
Andrew Tridgell 0bf0fbe687 AP_Periph: prepare for 1.2beta2 2020-12-19 11:46:56 +11:00
Tom Pittenger f670f7a9b6 AP_HAL_ChibiOS: change ADSB to use param ADSB_PORT instead of define 2020-12-17 23:24:04 -08:00
Tom Pittenger 2a4fef73dd AP_Periph: change ADSB to use param ADSB_PORT instead of define 2020-12-17 23:24:04 -08:00
Tom Pittenger 84e578b3df AP_Bootloader: respect HAL_BOOTLOADER_TIMEOUT when CAN and SERIAL/USB is enabled 2020-12-18 16:35:57 +11:00
Tom Pittenger 5238f85091 AP_Periph: add BRD_SERIAL_NUM and append CAN_APP_NODE_NAME 2020-12-17 21:28:10 -08:00
Peter Barker 4efcf16005 autotest: correct number of bytes we expect to download
We request a fixed number of bytes, which could be more or  less than the
log file size.
2020-12-18 13:35:15 +11:00
Peter Barker 8e71e2505a autotest: correct lookup for most recent log file 2020-12-18 13:35:15 +11:00
Randy Mackay 50f9eee54c Tools: relax fly_guided_stop climb rate tolerance to 1cm/s 2020-12-18 08:32:21 +09:00
hendjosh 8567b829a6 Tools: add name to GIT_Test.txt 2020-12-18 09:04:32 +11:00
Mike R 81745b0e64 Tools: Add Goretovka (RF, Moscow region) location 2020-12-18 08:04:41 +11:00
Peter Barker 76b0b0429f autotest: add another example on bisect helper 2020-12-18 07:48:34 +11:00
bugobliterator 0f54506397 .github: just skip the sitltest for ap_periph when using 5.4.0-1032 kernel 2020-12-18 07:00:35 +11:00
bugobliterator 6ea2f42f8e Revert ".github: workaround for missing kernel modules for 5.4.0-1032-azure"
This reverts commit 1c2e0a887f.
2020-12-18 07:00:35 +11:00
Tom Pittenger a285a741df AP_Periph: implement HAL_PERIPH_ALLOW_MAVLINK_UART_OR_USB_REBOOT_CMD 2020-12-18 06:59:09 +11:00
Tom Pittenger 5c98e18236 AP_HAL_CubeORange-periph: enable HAL_PERIPH_ALLOW_MAVLINK_UART_OR_USB_REBOOT_CMD on USB 2020-12-18 06:59:09 +11:00
Peter Barker 6dfd2f2ff9 AP_NavEKF3: use use_EKFGSFYaw to reduce code duplication 2020-12-17 16:00:29 +09:00
Andrew Tridgell a31ea88ff5 SITL: use async SOAP requests for flightaxis
this greatly improves performance for cygwin
2020-12-17 16:13:55 +11:00
Andrew Tridgell 8d6d5c6b49 SITL: removed flightaxis threading 2020-12-17 16:13:55 +11:00
Andrew Tridgell b4201436dd HAL_ChibiOS: fixed flash space on 16k bl boards
this avoids the stm32_flash_recent_erase() function which added around
800 bytes to the bootloader. It is not needed
2020-12-17 12:51:25 +11:00
bnsgeyer 62758ffd99 AP_Motors: Dual-heli-keep intermeshing from using DCP to yaw mixer 2020-12-16 19:52:23 -05:00
PittRBM 3f405590c7 AP_Motors: Dual Heli-add support for intermeshing rotor 2020-12-16 19:52:23 -05:00
bnsgeyer ebd83b756b AP_Motors: add DCP trim feature for Dual Heli 2020-12-17 09:01:02 +11:00
Mouna 2763ce027e Tools: adding my name to GIT_Success 2020-12-16 20:28:09 +09:00
bugobliterator 1c2e0a887f .github: workaround for missing kernel modules for 5.4.0-1032-azure 2020-12-16 20:33:29 +11:00
Peter Barker f12191b4b1 AP_Param: fix typo 2020-12-16 19:30:29 +11:00
Peter Barker 840c386a33 AP_Param: add _FLAG to AP_PARAM_NO_SHIFT
Just for consistency with the other flags
2020-12-16 19:30:29 +11:00
Pierre Kancir 7a2a60e65c Tools: rover: correct test_setting_modes_via_mavproxy_switch for RTL and AUTO 2020-12-16 17:27:07 +09:00
Pierre Kancir 871b9fc12d Tools: plane : initial_mode_switch_mode 2020-12-16 17:27:07 +09:00