Commit Graph

44222 Commits

Author SHA1 Message Date
Peter Barker af53f9ce64 Copter: correct compilation when AUTO/RTL are disabled 2020-10-06 11:25:09 +11:00
Peter Barker 2783257aa4 Plane: correct compilation when logging disabled 2020-10-06 11:25:09 +11:00
Peter Barker 1ea3ca768c Sub: correct compilation when logging disabled 2020-10-06 11:25:09 +11:00
Randy Mackay 835e6fc764 AP_VisualOdom: T265 ignores position and speed for 1sec after reset 2020-10-06 09:18:04 +09:00
Randy Mackay d9b90bf19f AP_Logger: VISP and VISV get ignored field 2020-10-06 09:18:04 +09:00
Peter Barker 8e8b396afe Tools: improve decode-ICSR formatting 2020-10-06 10:30:14 +11:00
Andrew Tridgell 8e08d93026 AP_GPS: fixed pre-arm check on ublox M9 GPS
this prevents a failure from config of SOL and TMODE messages
2020-10-06 10:22:52 +11:00
vierfuffzig 60b37f395e AP_OSD_Screen.cpp: add decimal precision to vspd 2020-10-06 10:17:43 +11:00
Tom Pittenger 5e2450c4ea AP_Math: fix LoadUint() to allow 32bit values 2020-10-05 15:32:53 -07:00
Patrick José Pereira e4f8d47423 AP_LeakDetector: AP_LeakDetector_Digital: Improve status logic
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-05 16:39:03 +01:00
Tatsuya Yamaguchi ea0d869a9c RC_Channels: redefine surface tracking auxiliary function 2020-10-05 13:23:51 +09:00
Andrew Tridgell ad41098beb Tools: added bootloader for QuiTekZealot 2020-10-05 07:41:06 +11:00
QioTek 86100d6316 Tools: add auto build for QioTekZealotF427 2020-10-05 07:41:06 +11:00
QioTek f04de7d610 HAL_ChibiOS: Add QioTekZealotF427 build target
I've added the hwdef to support the QioTekZealotF427

It has 3 IMU sensors(ICM20698,ICM20602,BMI055), a Compass(Ist8310),
2Baro sensors(DSP310,MS5611), an integrated analog OSD, 14motor
outputs, 4Relay output, 5uarts, 2Power Module input, an i2c, a Can.
2020-10-05 07:41:06 +11:00
Andrew Tridgell 11b3c622dd AP_BoardConfig: allow more serial ports to have flow control 2020-10-03 20:22:56 +10:00
Andrew Tridgell 702a3926f8 HAL_ChibiOS: setup defines for more flow control pins
allow all uarts to have flow control
2020-10-03 20:22:56 +10:00
Andrew Tridgell 5e80b10396 HAL_ChibiOS: enable telem3 on Durandal
the RCIN issue is not there in the final production boards
2020-10-03 20:22:56 +10:00
Peter Barker 29775f310e Tools: flesh out decode-ICSR tool 2020-10-03 13:28:48 +10:00
Peter Barker 6711c479de SITL: fix RPLidarA2 instructions and diagnostic output 2020-10-02 16:05:15 +10:00
Andrew Tridgell 9f3afe5434 Plane: update release notes for 4.0.7beta1 2020-10-02 15:16:40 +10:00
Andrew Tridgell e471b23f58 HAL_ChibiOS: add a max quota of GPIO interrupts
This implements a max quota of GPIO interrupts per 100ms period to
prevent high interrupt counts from consuming all CPU and causing a
lockup. The limit is set as 10k interrupts per 0.1s period. That limit
should be high enough for all reasonable uses of GPIO interrupt
handlers while being below the level that causes significant CPU loads
and flight issues

This addresses issue #15384
2020-10-02 09:38:24 +10:00
Andrew Tridgell 965af98f4a AP_InternalError: added an internal error for GPIO ISR overload 2020-10-02 09:38:24 +10:00
Andrew Tridgell c62b86e3c1 AP_HAL: added timer_tick() on GPIO 2020-10-02 09:38:24 +10:00
Peter Barker 56790625b8 Copter: stop passing unused inav into autorotate library 2020-10-01 21:13:20 +10:00
Peter Barker 4bbf623cac AP_Soaring: remove unused variables 2020-10-01 21:13:20 +10:00
Peter Barker 914316a529 AP_RangeFinder: remove unused variables 2020-10-01 21:13:20 +10:00
Peter Barker 460bb7291e AP_Proximity: remove unused variables 2020-10-01 21:13:20 +10:00
Peter Barker b024ff8ea4 AP_Notify: remove unused variables 2020-10-01 21:13:20 +10:00
Peter Barker 3a8751d8a7 AP_NavEKF: remove unused variables 2020-10-01 21:13:20 +10:00
Peter Barker 10e0646251 AP_Generator: remove unused variables 2020-10-01 21:13:20 +10:00
Peter Barker 0eb34912cf AP_ADSB: remove unused variables 2020-10-01 21:13:20 +10:00
Peter Barker 12af51e356 AC_Autorotation: remove unused variables 2020-10-01 21:13:20 +10:00
Patrick José Pereira 57373180d1 AP_LeakDetector: Remove not used LeakDetector_Type enum
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-01 16:31:13 +10:00
Guy Rodnay 8c32392d73 Rover: fix speed nudge
Problem: vehicle speed "runs away" to speed_max for any throttle value over 75%.
Cause: the desired_speed was calculated by interpolation between the current speed to speed_max, rather than the speed_default to speed_max. As current speed increases the desired speed increases although throttle is fixed. Hence the "runaway".

Fix: Now speed nudge interpolates between the desired speed and speed_max.

Tested:
modes:  wp navigation, guided ,rtl
params: spped_max, wp_speed, rtl_speed, speed_max
do_change_speed
2020-10-01 09:33:06 +09:00
Randy Mackay 8b3cc0b255 Copter: fixup auto options 2020-10-01 08:48:06 +09:00
Michael du Breuil 50dfe3f197 Copter: Add AUTO_OPTIONS and support arming and throttle bypass
This allows you to arm the copter without any extra GCS commands while
in auto, and can be done from both the GCS, or the RC Tx. This is useful
for creating a simpler workflow.

This also allows you to set the auto_armed flag internally, which
bypasses the need to raise the throttle stick for the copter to start a
takeoff.

This exposed a problem where we would start running the controllers
before the EKF was at all initialized, if you switched into auto to
early. This now has a check that prevents us from running the mission
state machine until after the origin has been set. This was a suggestion
from @rmackay9.

When combined these options allow you to have the vehicle on the ground,
disarmed in auto with a takeoff waypoint loaded, then just arm the
aircraft and watch it takeoff. This is a feature we've had on quadplanes
for quite awhile now, and it has proven to be very nice for operators.
2020-10-01 08:46:29 +09:00
Andrew Tridgell 2b13ad35ec AP_OLC: remove use of algorithm header
not needed
2020-10-01 09:40:45 +10:00
Michel Pastor 8465588467 AP_OLC: clean namespace and use constexpr instead of init method 2020-10-01 09:40:45 +10:00
giacomo892 4eeccb61cd WAF: Add AP_OLC to build 2020-10-01 09:40:45 +10:00
giacomo892 b00d3e00bc AP_OSD: Add OLC (pluscode) element 2020-10-01 09:40:45 +10:00
giacomo892 481d72255f AP_OLC: Open Location Code support 2020-10-01 09:40:45 +10:00
bugobliterator 0a4ea250ad AP_HAL_ChibiOS: disable CANFilter on H7 boards temporarily 2020-10-01 07:19:19 +10:00
Peter Barker a5a13f37c9 SITL: adjust for START_STOP_D now not polluting global namespace 2020-09-30 23:14:40 +10:00
Peter Barker 6cbb553adc AP_Frsky_Telem: reformat new filed using astyle.sh; no history to lose 2020-09-30 23:14:40 +10:00
Peter Barker 9c211d9847 AP_Frsky_Telem: move #defines to be static const members of AP_Frsky_Backend 2020-09-30 23:14:40 +10:00
Peter Barker 0bb7a31850 AP_Frsky_Telem: move all method implementations into correct files 2020-09-30 23:14:40 +10:00
Peter Barker 05d7950261 AP_Frsky_Telem: frontend/backend split 2020-09-30 23:14:40 +10:00
Iampete1 fb467da473 Plane: use Plane target yaw for ATT log 2020-09-30 18:15:42 +10:00
Iampete1 6621b69836 Plane: log quadplane transision state 2020-09-30 18:15:42 +10:00
Iampete1 f972d3dc2f Plane: Quadplane: tailsitter only change view once transision is complete 2020-09-30 18:15:42 +10:00