Commit Graph

51038 Commits

Author SHA1 Message Date
Nick Exton 5f74333559 waf: only enable -Wsizeof-pointer-div for gcc v8.4 or greater
The -Wsizeof-pointer-div option doesn't exist in gcc v7.5, which is the
version used by Ubuntu 18.04 LTS. It does exist in v8.4.
2021-11-26 11:46:04 +11:00
Ryan Beall beecca8da9 AP_TECS: Connsider throttle saturation in height demand limiting 2021-11-25 15:02:09 +11:00
Peter Barker 09f06be17e autotest: add an autotest for DO_PAUSE_CONTINUE 2021-11-25 08:18:27 +09:00
m c729fc7796 AP_Mission: Decode MAV_CMD_DO_PAUSE_CONTINUE commands 2021-11-25 08:18:27 +09:00
m e8677216b6 Copter: Add support for pausing and continuing auto missions using COMMAND_INT and COMMAND_LONG 2021-11-25 08:18:27 +09:00
Andrew Tridgell 1af384ad12 Plane: updated release notes for 4.1.4 2021-11-25 09:05:29 +11:00
Andrew Tridgell 36562ed30b Plane: limited VFWD integrator to cruise throttle
in some situations (such as when landing approach is disabled) the
vfwd integrator can wind up to extreme values. This can put a huge
load on an electric quadplane as it is running both forward and vtol
motors, and the downforce from being nose down can be extreme.

It should never need to go above the cruise throttle in any reasonable
situation, so limit it to cruise to ensure we don't apply too much
forward throttle
2021-11-24 18:49:24 +11:00
bugobliterator f7f05b02ea modules: update pydronecan 2021-11-24 18:30:47 +11:00
bugobliterator a2d41a2d14 modules: update dronecan_dsdlc 2021-11-24 18:30:47 +11:00
bugobliterator abdcd11f9a waf:libcanard moved to modules/DroneCAN 2021-11-24 18:30:47 +11:00
bugobliterator e7ab56674b Tools:libcanard moved to modules/DroneCAN 2021-11-24 18:30:47 +11:00
bugobliterator f74690af49 AP_Periph:libcanard moved to modules/DroneCAN 2021-11-24 18:30:47 +11:00
bugobliterator c3be9f9eb3 AP_Bootloader: libcanard moved to modules/DroneCAN 2021-11-24 18:30:47 +11:00
bugobliterator 5a70208da2 modules: add DroneCAN/libcanard 2021-11-24 18:30:47 +11:00
bugobliterator 82eebe84d6 modules: remove libcanard 2021-11-24 18:30:47 +11:00
bugobliterator 04ccb58f39 .github: change to using dronecan instead of uavcan 2021-11-24 18:30:47 +11:00
bugobliterator d8b2dba223 waf: change to using dronecan instead of uavcan 2021-11-24 18:30:47 +11:00
bugobliterator 4e067a68e2 AP_Periph: move to using dronecan instead of uavcan 2021-11-24 18:30:47 +11:00
bugobliterator ce4ed7e239 modules: add dronecan_dsdlc 2021-11-24 18:30:47 +11:00
bugobliterator a74ba5e758 modules: remove canard_dsdlc 2021-11-24 18:30:47 +11:00
bugobliterator d136f90b39 modules: add pydronecan 2021-11-24 18:30:47 +11:00
bugobliterator d8f54e7a21 modules: remove pyuavcan 2021-11-24 18:30:47 +11:00
Peter Barker a93da420c8 waf: make maybe-uninitialised and duplicated-cond errors 2021-11-24 18:26:17 +11:00
Peter Barker 11cbd68296 AP_HAL_SITL: remove incorrect use of ARRAY_SIZE
This was converted to a linked list....
2021-11-24 18:26:17 +11:00
Peter Barker a2961ede8f waf: add -Wsizeof-pointer-div 2021-11-24 18:26:17 +11:00
Peter Barker 139c460fa5 hwdef: remove unused define NO_DATAFLASH 2021-11-24 18:18:06 +11:00
Samuel Tabor 7931b10baf autotest: Fix rangefinder in Landing-Drift test. 2021-11-24 18:14:26 +11:00
kniuk 6581afcb8d deleted set_target_altitude_location from set_next_WP 2021-11-24 18:08:26 +11:00
Josh Henderson c7a4ae9cce SITL: comment for sim_i2c parameters 2021-11-24 13:54:49 +11:00
Andrew Tridgell 0141ec5be7 AP_AHRS: fixed switching airspeed sensor based on EKF3 affinity
we need to use the EKF selected airspeed sensor when the EKF is setup
to run a different sensor on each lane
2021-11-24 13:52:13 +11:00
Peter Barker f848fa3a86 AP_Logger: turn dataflash logging off by default 2021-11-24 13:23:40 +11:00
Shiv Tyagi 6294b77211 Rover: make Mis_Done_Behave enum public 2021-11-24 11:01:19 +09:00
Shiv Tyagi f319c36de1 Rover: set MIS_DONE_BEHAVE to LOITER in boats
Boats should loiter after completing a mission to avoid drifting off
2021-11-24 11:01:19 +09:00
Peter Barker ee68072c62 AP_HAL_ChibiOS: chibios_hwdef: use ifndef pattern for AP_FETTEC_ONEWIRE_ENABLED 2021-11-24 12:01:22 +11:00
Peter Barker bd63ce3eb6 AP_FETtecOneWire: rely on AP_FETTEC_ONEWIRE_ENABLED being set in hwdef.h 2021-11-24 12:01:22 +11:00
Peter Barker fd97d79cb4 SRV_Channels: move fetteconewire out of AP_Periph #if 2021-11-24 12:01:22 +11:00
Peter Barker 2bfd2f1c32 SRV_Channel: rename HAL_AP_FETTEC_ONEWIRE_ENABLED to AP_FETTEC_ONEWIRE_ENABLED 2021-11-24 12:01:22 +11:00
Peter Barker 5d005df92f AP_HAL_ChibiOS: rename HAL_AP_FETTEC_ONEWIRE_ENABLED to AP_FETTEC_ONEWIRE_ENABLED 2021-11-24 12:01:22 +11:00
Peter Barker 1590fcf0bf AP_FETtecOneWire: rename HAL_AP_FETTEC_ONEWIRE_ENABLED to AP_FETTEC_ONEWIRE_ENABLED 2021-11-24 12:01:22 +11:00
Peter Barker e1b32d16b7 AP_Arming: rename HAL_AP_FETTEC_ONEWIRE_ENABLED to AP_FETTEC_ONEWIRE_ENABLED 2021-11-24 12:01:22 +11:00
Andrew Tridgell f9d92e2097 Copter: clarify SIMPLE and SUPER_SIMPLE bitmask usage
based on switch positions, not flight modes
2021-11-24 08:10:12 +09:00
Andrew Tridgell a4a0607160 AP_Compass: added AP_RM3100_REVERSAL_MASK
this allows for fixing setups where the RM3100 has been installed on a
board with one or more axes reversed
2021-11-24 07:17:13 +11:00
Andrew Tridgell 77c43d9ba1 Plane: limiting POS1 landing target speed
prevent very high target speeds when the target velocity profile is
above the initial speed in POSITION1. Always allow up to 2*Q_WP_SPEED,
but don't go above the initial speed
2021-11-24 07:15:21 +11:00
Peter Barker f9580c0dfe AP_Airspeed: add date for parameter conversion code 2021-11-23 12:27:14 +00:00
Andrew Tridgell 1b0631669c AC_AttitudeControl: fixed limiting of throttle mix values
use constrain instead of reset to keep as much of user requested value
as possible

also raise limit for MIX_MIN to 0.5 after discussion with Leonard
2021-11-23 16:47:25 +09:00
Peter Barker ca232bb510 GCS_MAVLink: signal quality reporting 2021-11-23 18:20:58 +11:00
Peter Barker f6aeb01994 AP_RangeFinder: signal quality reporting 2021-11-23 18:20:58 +11:00
Peter Barker a7aa74ab20 autotest: add rangefinder convenience functions, fix wait_alt handling
autotest: add test for rangefinders outside their maxalt
2021-11-23 18:20:58 +11:00
Peter Barker 8843c17f9d SITL: LightwareSerial: return 130m when out-of-range-high 2021-11-23 18:20:58 +11:00
Peter Barker 2dd3263650 SITL: cap digits in LightWareSerial measurements
this was hitting the buffer-length limit in the ArduPilot rangefinder
driver as soon as we hit the 100m mark
2021-11-23 18:20:58 +11:00