Commit Graph

50222 Commits

Author SHA1 Message Date
Andrew Tridgell a43ea35098 Tools: rebuild IO firmware with PULLDOWN for RCIN 2021-10-12 11:52:36 +11:00
Andrew Tridgell d962e094e7 HAL_ChibiOS: change RCIN PULLUP to PULLDOWN
this makes us more consistent between boards
2021-10-12 11:52:36 +11:00
Andrew Tridgell 47da7f5c9b HAL_ChibiOS: change RCIN FLOAT to PULLDOWN
this lowers the chance of noise on a RCIN pin causing incorrect
protocol detection
2021-10-12 11:52:36 +11:00
Peter Barker 495ec52a00 .github: produce elf_diff output for Plane 2021-10-12 10:58:16 +11:00
Nick Exton ffa2bba35c HAL_ChibiOS: add missing return to Dual CDC get_usb_baud() 2021-10-12 10:54:44 +11:00
Andrew Tridgell e6aae3caf6 HAL_ChibiOS: fix G4 I2c bus speeds 2021-10-12 10:54:07 +11:00
Josh Henderson 483d308781 Copter: GCSMavlink Guided inputs check force_set and reject 2021-10-11 19:52:15 -04:00
Iampete1 0f8bcbf4b8 AP_Scripting: optimise genrated bindings for size 2021-10-12 10:08:56 +11:00
Iampete1 c1dbb1c046 AP_Scripting: change all -FLT_MAX FLT_MAX ranges to no check 2021-10-12 10:08:56 +11:00
Iampete1 302e855dab AP_Scripting: add 'skip_check keyword to skip argument range check 2021-10-12 10:08:56 +11:00
Iampete1 0772af5539 AP_Scripting: generator: dont initalise trivial types 2021-10-12 10:08:56 +11:00
Iampete1 32d6919ae2 AP_Scripting: generator: remove unneeded else in nullable returns 2021-10-12 10:08:56 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 181a5900df Copter: Send ESC telemetry over mavlink while doing compassmot
compassmot can be used to bypass all PID control loops (this avoids forwarding IMU noise to the motors) while stress-testing the ESCs+motors.
So that temperatures can be monitored in real-time during those long tests, send ESC telemetry as well.
2021-10-11 19:03:01 -04:00
Peter Barker 90f8cbde13 SITL: provide HAL_x_ENABLED for many SITL features
This allows for the feature to be compiled out
2021-10-12 09:04:55 +11:00
Tatsuya Yamaguchi 918218bdd4 Copter: fix compilation when ACRO, SPORT and DRIFT modes are disabled 2021-10-12 09:01:14 +11:00
Peter Barker aa4f375015 SITL: SIM_RichenPower: remove reference to stderr 2021-10-12 09:00:45 +11:00
Peter Barker c9df857f16 SITL: avoid use of stderr/::fprintf 2021-10-12 09:00:17 +11:00
Peter Barker 94ad32b91c SITL: remove HIL_MODE vestiges 2021-10-12 08:57:05 +11:00
Peter Barker d98cda12c6 AP_HAL_SITL: remove HIL_MODE vestiges 2021-10-12 08:57:05 +11:00
Willian Galvani 0adc4562ad Sub: add exception for linux boards when setting BARO_EXT_BUS 2021-10-11 17:57:52 -03:00
Willian Galvani 34b42d8252 AP_HAL: Navigator: set HAL_BARO_EXTERNAL_BUS_DEFAULT to 6
This is the bus exposed in the board for external sensors.
This is required as HAL_Linux doesn't probe all i2c buses.
2021-10-11 17:57:52 -03:00
Willian Galvani 2feb740a03 AP_Baro: add option to set BARO_EXT_BUS default value
This allows boards to define their own BARO_EXT_BUS default value.
This is mostly relevant for linux boards, as HAL_LINUX doesn't
probe all buses when BARO_EXT_BUS == -1.
2021-10-11 17:57:52 -03:00
Willian Galvani d5ec5f1dfc Sub: Motor-test: change disarm method on motor test timeout 2021-10-11 17:56:06 -03:00
tajisoft 68274ff996 AP_Scripting: fix switch check in ahrs-source 2021-10-11 20:59:46 +11:00
Andrew Tridgell 5f6af3567a SRV_Channel: added SERVO_GPIO_MASK
this allows for channels to be set as GPIO without setting
SERVOn_FUNCTION=-1. That allows for use of UAVCAN or SBUS outputs on
those channels with a servo function, while using the aux pin as a
GPIO
2021-10-11 19:28:11 +11:00
Rishabh 13f3d04300 AC_Avoid: Early exit Dijkstra's path finder if destination is found 2021-10-11 02:21:48 -04:00
Peter Barker 98c105c4e2 mavlink: update for new version of pymavlink 2021-10-11 13:56:08 +11:00
Pierre Kancir 65ba7bfea6 README: fix CI links 2021-10-11 13:33:46 +11:00
Andrew Tridgell 493d8979d5 Plane: reset target speed on disarm
allows for multiple auto missions with DO_CHANGE_SPEED
2021-10-11 10:47:52 +11:00
Bill Geyer d0d6457b31 Copter: fix tradheli landing detector bug 2021-10-10 18:55:31 -04:00
Andrew Tridgell 08fcfa04ae APM_Control: only save autotune gains when P finished
this prevents saving values which are temporarily high due to tuning
process

See this bug report
https://discuss.ardupilot.org/t/plane-4-1-0-stable/76507/45
2021-10-10 19:00:57 +11:00
Peter Barker 5f32fb82e8 autotest: add basic test that Plane autotune completes 2021-10-10 18:18:44 +11:00
Andrew Tridgell bf425a1edf Plane: update release notes for 4.1.2beta1 2021-10-10 18:08:36 +11:00
Andrew Tridgell 570ecdc2e0 Plane: don't apply fw pitch limit in VTOL control for tailsitters
tailsitters may have narrow fixed wing limits but need high limits for
landing in high wind

found this on a HWing which was essentially impossible to auto land
2021-10-10 06:35:20 +11:00
Iampete1 f0bc041b86 AP_Gererator: IE Fuel Cell: reset health timer at init 2021-10-08 19:34:34 -04:00
Lucas De Marchi 24adf18685 AP_HAL_Linux: small fixes to cpu affinity
- Do not mention x:y form in the comment since it's not supported
  - Give more detail in the help output regarding the meaning of each form
  - No prints in the helper parse function, let the caller print it
2021-10-08 16:08:52 -07:00
HefnySco 9f1cbdc0a5 AP_HAL_Linux: cpu affinity 2021-10-08 13:47:56 -07:00
Stephen Dade e85f803e27 SITL: Expand multi-drone example 2021-10-08 17:29:10 +11:00
murata 995b02e66b Copter: Flight mode channels are optional, not just channel 5 2021-10-08 14:24:23 +11:00
Peter Barker 521918d74c SITL: remove set-but-not-used _framerate member variable 2021-10-08 14:23:18 +11:00
olliw42 312604f577 AP_Mount: add handle_global_position_int() method to backend and use it + little spelling 2021-10-08 14:22:43 +11:00
Andrew Tridgell 8550765c25 Plane: update release notes for 4.1.1
# Conflicts:
#	ArduPlane/mode_qrtl.cpp
#	ArduPlane/quadplane.cpp
P
2021-10-08 13:31:04 +11:00
Randy Mackay 7424e0c743 Copter: 4.1.0 release notes 2021-10-08 09:25:41 +09:00
murata fa609afc44 AP_Scripting: Change the script file name for messages 2021-10-07 18:21:11 -04:00
Josh Henderson 1e0ae4b998 GCS_MAVLINK: Common capacity_remaining_pct checks healthy status and has_current 2021-10-07 22:16:02 +11:00
Josh Henderson ca568953d9 AP_BattMonitor: capacity_remaining_pct add checks for healthy status and has_current 2021-10-07 22:16:02 +11:00
bugobliterator f298ea406e HAL_ChibiOS: enable RNG only for H7 based boards off for the rest by default 2021-10-07 19:43:11 +11:00
bugobliterator fc4d59c5a4 HAL_ChibiOS: setup hw random number generator for stm32 chips 2021-10-07 19:43:11 +11:00
bugobliterator 792e6666a3 HAL_ChibiOS: add random number generator implementation for ChibiOS 2021-10-07 19:43:11 +11:00
bugobliterator e4f4b3ce1f AP_HAL: add true random number generator 2021-10-07 19:43:11 +11:00