Commit Graph

59463 Commits

Author SHA1 Message Date
Peter Barker 92192a7510 GCS_MAVLink: add build options for deprecated messages MOUNT_CONTROL/MOUNT_CONFIGURE
these are repalced by the command equivalents
2023-08-29 11:06:13 +10:00
Peter Barker 02d0a07083 AP_Mount: add build options for deprecated messages MOUNT_CONTROL/MOUNT_CONFIGURE
these are repalced by the command equivalents
2023-08-29 11:06:13 +10:00
Ryan Friedman 9e330b2f09 pre-commit: Run autoupdate
* To fix https://github.com/pre-commit/pre-commit/issues/2782

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-29 10:40:26 +10:00
Ryan Friedman 461a8dc86f SITL: split to MicroStrain5
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-29 10:31:44 +10:00
Ryan Friedman fd3a1d448a AP_HAL_SITL: split to MicroStrain5
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-29 10:31:44 +10:00
Ryan Friedman 0b27d17b81 AP_HAL: split to MicroStrain5
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-29 10:31:44 +10:00
Ryan Friedman 74750ca952 Tools: Rename MicroStrain to MicroStrain5
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-29 10:31:44 +10:00
Ryan Friedman d8eee6f41a AP_ExternalAHRS: Create common lib for MicroStrain
* Move common parsing to MicroStrain_common
* Add propogation of parsed packet type back to the driver
* Rename the driver to add series-5 specifier
* Unlocks adding 7-series driver with less code duplication
* Add missing includes

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-29 10:31:44 +10:00
Tom Pittenger 4d05eda6f0 Tools/autotest: SITL reset to reset more/all16 Battery instances 2023-08-29 10:28:14 +10:00
Tom Pittenger 93a4c3896e AP_BattMonitor: extend AP_BATT_MONITOR_MAX_INSTANCES to 16 2023-08-29 10:28:14 +10:00
Iampete1 d2e3bd700c AP_Scripting: add argcheck warning to defualt userdata creation functions 2023-08-29 10:16:36 +10:00
Andrew Tridgell 8888cac10f hwdef: added DMA for USART3 for MatekL431-RC and GPS
this allows for faster connections

also added 4 PWM output requested by Josh and Sampson
2023-08-29 08:00:20 +10:00
Andrew Tridgell 69ad504762 AP_Periph: fixed handling of first uart for RC input 2023-08-29 08:00:20 +10:00
Peter Barker dc8455411a AP_ADSB: add and use a HAL_ADSB_BACKEND_DEFAULT_ENABLED 2023-08-28 09:40:33 -07:00
Tom Pittenger 61f6c0dc3d AP_ADSB: correct compilation when GCS not compiled in
... and logging.

Also correct default compilation for mavlink backend to not be attempted if HAL_GCS_ENABLED is false
2023-08-28 09:40:33 -07:00
Tom Pittenger 4f2344f397 AP_Peirph: fix battery parameters 2023-08-28 09:14:33 -07:00
Peter Barker cc3fe56a08 Rover: deprecate MAV_CMD_NAV_SET_YAW_SPEED 2023-08-28 12:54:33 +10:00
Henry Wurzburg 4ae8379616 AP_RCTelemetry:Surpress DMA warning on H7 bds 2023-08-27 16:18:10 +01:00
Peter Barker 61a047bc78 autotest: fix CompassPrearms; don't leave vehicle in bad state 2023-08-27 10:33:11 +10:00
Michelle Rossouw b57d17123f Tools: Add simple Blimp autotest, testing Manual, Loiter and RTL modes 2023-08-26 22:21:59 +10:00
Michelle Rossouw 1d138c7630 .github: Add Blimp autotest to github workflows 2023-08-26 22:21:59 +10:00
Michelle Rossouw 7bd888037a mavlink: update module to latest 2023-08-26 22:21:59 +10:00
Peter Barker 7e7f9ddf50 autotest: correct idle throttle checking
it was only 350 because we were running the starter all the time...
2023-08-26 21:21:49 +10:00
Peter Barker 7fff465251 SITL: SIM_ICEngine sends diagnostics to GCS rather than stdout
makes it much easier to see what the simulated engine is doing
2023-08-26 21:21:49 +10:00
Peter Barker 588364dad0 autotest: set ICE_RPM_THRESH for quadplance-ice
without this we continuously try to restart the motor as the minimum thrust output from the ICE is translated into a value less than the default ICE_RPM_THRESH (so the ICENgine library believes the engine to be stopped, when it is really just at idle).
2023-08-26 21:21:49 +10:00
Peter Barker adeb7985a3 RC_Channel: document option 109, Custom Controller 2023-08-26 21:21:24 +10:00
Andrew Tridgell d976c55637 Tools: added QiotekAdeptF407 bootloader 2023-08-26 21:14:15 +10:00
Tim Tuxworth 2850740bd8 hwdef: added QiotekAdeptF407 2023-08-26 21:14:15 +10:00
Andrew Tridgell 74102c6380 Tools: added Qiotek to list of recognised USB vendors 2023-08-26 21:14:15 +10:00
Andrew Tridgell 34521ff150 Tools: added AR-F407SmartBat bootloader 2023-08-26 21:12:42 +10:00
Andrew Tridgell e1f3cb9f71 hwdef: added AR-F407SmartBat
balance plug DroneCAN periph node
2023-08-26 21:12:42 +10:00
Andrew Tridgell 65537bdaca AP_BattMonitor: cope with NaN in consumed_mah 2023-08-26 21:12:42 +10:00
Andrew Tridgell bc825fb4c1 AP_Periph: added battery balance plug node
this supports a periph node attached to a LiPo battery balance plug,
reporting via BatteryInfoAux
2023-08-26 21:12:42 +10:00
Andrew Tridgell 04e1dc65c6 Tools: added AR-F407SmartBat board ID 2023-08-26 21:12:42 +10:00
Andrew Tridgell 5566ed979d AP_Periph: fixed default CAN node name
use org.ardupilot.BOARD_NAME
2023-08-26 21:12:42 +10:00
Andrew Tridgell 202e71482f HAL_ChibiOS: support CKS32F407 MCU
based on STM32F407
2023-08-26 21:12:42 +10:00
Peter Barker a3038e7e6b Rover: correct comments on MAV_CMD_NAV_SET_YAW_SPEED packet fields
these are wrong and misleading; the packet contains metres/second and degrees
2023-08-26 18:24:09 +10:00
Peter Barker aa6f351571 autotest: add tests for Rover MAV_CMD_NAV_SET_YAW_SPEED 2023-08-26 18:24:09 +10:00
Peter Barker 76c6d537ed Rover: support running MAV_CMD_NAV_SET_YAW_SPEED as command_int 2023-08-26 18:24:09 +10:00
Asif Khan e3f0904616 GCS_MAVLink: move handling of all do-set-roi to AP_Mount library 2023-08-26 17:55:53 +10:00
Asif Khan 3927521aa6 AP_Mount: move handling of all do-set-roi to AP_Mount library 2023-08-26 17:55:53 +10:00
Andrew Tridgell 725a2227ca AP_AHRS: return estimates from state structure
this lowers CPU usage and fixes race conditions
2023-08-26 17:13:10 +10:00
Peter Barker fcf6cc0eff Tools: document SIM_ACCx_BIAS_y 2023-08-26 16:15:58 +10:00
Peter Barker 149921792c SITL: document SIM_ACCx_BIAS_y 2023-08-26 16:15:58 +10:00
Peter Barker 395f829f76 autotest: factor out a setup_ICEngine_vehicle method for quadplane 2023-08-26 16:15:39 +10:00
Asif Khan dffeaf0897 AP_Mount: Siyi fix for continuous zoom
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2023-08-26 14:46:31 +09:00
Peter Barker d44b51fa4d Rover: allow MAV_CMD_MISSION_START as both command_long and command_int 2023-08-26 08:59:30 +10:00
Peter Barker 1228f4c458 autotest: add test for Rover MAV_CMD_MISSION_START 2023-08-26 08:59:30 +10:00
Peter Barker 4c39d73794 autotest: tidy announcements of commands being run 2023-08-26 08:59:30 +10:00
muramura 0ab76afb4d AP_BattMonitor: Change to floating value multiplication 2023-08-26 08:59:12 +10:00