Commit Graph

59639 Commits

Author SHA1 Message Date
Randy Mackay 943630e53a AP_Arming: mag field check vs world magnetic model 2023-08-30 11:17:42 +09:00
Andrew Tridgell a2d5a32b4c autotest: don't warn about vcan loading 2023-08-29 15:09:48 +10:00
Andrew Tridgell 47eb597dd6 CI: don't load vcan kernel modules
not needed any more
2023-08-29 15:09:48 +10:00
Andrew Tridgell c28fa15d52 AP_Periph: fixed macos build 2023-08-29 15:09:48 +10:00
Andrew Tridgell d8c5ce4347 AP_AHRS: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
Andrew Tridgell 12f5448bf4 AP_Mount: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
Andrew Tridgell 74139423cb AP_GPS: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
Andrew Tridgell e6d43811ad AP_Compass: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
Andrew Tridgell f1aaf78fee AP_CANManager: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
Andrew Tridgell 595748d7ff AP_BattMonitor: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
Andrew Tridgell 61ca0df301 waf: enable CAN on all SITL builds 2023-08-29 15:09:48 +10:00
Andrew Tridgell 3508d7eaa9 SITL: added SIM_CAN_TYPE0 and SIM_CAN_TYPE1
this selects the transport to use for CAN
2023-08-29 15:09:48 +10:00
Andrew Tridgell b6e79d05fd HAL_SITL: support multicast UDP for CAN in SITL
this will work on windows and in WSL
2023-08-29 15:09:48 +10:00
Peter Barker 624d8f3964 autotest: add test for DO_ENGINE_CONTROL 2023-08-29 11:48:24 +10:00
Peter Barker 4103d5cdb9 Plane: accept DO_ENGINE_CONTROL as both COMMAND_LONG and COMMAND_INT 2023-08-29 11:48:24 +10:00
Peter Barker 4317a40fef autotest: remove generation of defaults files
these were never particularly useful, and now we can actually retrieve the defaults from the running vehicle, so this is even less useful.
2023-08-29 11:40:03 +10:00
Randy Mackay c733872435 RC_Channel: add camera functions to RC init 2023-08-29 11:34:51 +10:00
Randy Mackay a8057f0157 AP_Mount: DEVID made writeable 2023-08-29 11:34:51 +10:00
Randy Mackay 6a14c1f72f AP_Mount: Viewpro fix for date sent from autopilot 2023-08-29 11:34:51 +10:00
Peter Barker fe512f7074 GCS_MAVLink: handle servo/relay events as both command_long and command_int 2023-08-29 11:15:14 +10:00
Peter Barker d197ad6a90 autotest: augment relay tests to run as cmd_int, and more messages 2023-08-29 11:15:14 +10:00
Peter Barker b751224ae1 hwdef: don't include solo gimbal or oreoled on thepeach autopilots 2023-08-29 11:14:15 +10:00
Peter Barker b725a632d6 ArduCopter: allow MAV_CMD_SOLO_BTN_PAUSE_CLICK as COMMAND_INT 2023-08-29 11:14:05 +10:00
Andrew Tridgell d10cebd649 Tools: support new stable release of 4.3.x
allows creation of the stable-4.3.x directories
2023-08-29 11:11:55 +10:00
subashchandar 7d23e14f85 Tools: Change erase sectors size
Stm32L4r5 flash has 512 sectors in dual bank configuration
-tested
2023-08-29 11:07:32 +10:00
Peter Barker 533bc504c1 Tools: 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 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