Commit Graph

58914 Commits

Author SHA1 Message Date
Willian Galvani d31f0d2312 Sub: Add AP_Stats
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2023-07-13 07:17:11 -03:00
Peter Barker efc7b4b6ee AP_HAL_SITL: remove race in SITL::UARTDriver::_write
txspace could change if another thread is involved
2023-07-13 18:13:42 +10:00
yaapu 4f69f9cc23 AP_OSD: added OSD_TYPE2 param to enable dual OSDs backend support
Co-authored-by:HWurzburg(hurzburg@yahoo.com)

up to 2 OSD instances can run at the same time sharing a single OSD thread

)
2023-07-13 12:39:19 +10:00
yaapu 3923dcb63e AP_Arming: added OSD_TYPE2 param to enable dual OSDs backend support
Co-authored-by:HWurzburg(hurzburg@yahoo.com)

up to 2 OSD instances can run at the same time sharing a single OSD thread
2023-07-13 12:39:19 +10:00
Andy Piper baae1b7732 Copter: squash bitwise & warnings 2023-07-13 11:02:40 +10:00
Andy Piper 504fdb4ca3 GCS_MAVLink: squash bitwise | operator warnings 2023-07-13 11:02:40 +10:00
Andy Piper 3224cf19a8 SITL: remove unused variables 2023-07-13 11:02:40 +10:00
Andy Piper 2e2491f4ff AP_TECS: remove unused variables 2023-07-13 11:02:40 +10:00
Andy Piper 80112051b4 AP_Proximity: initialize structures correctly 2023-07-13 11:02:40 +10:00
Andy Piper e06952bf0f AP_OSD: use message with static assert 2023-07-13 11:02:40 +10:00
Andy Piper 1b10008e38 AP_Math: use message with static assertion 2023-07-13 11:02:40 +10:00
Andy Piper d9869290ee AP_Logger: remove unused counter 2023-07-13 11:02:40 +10:00
Andy Piper d36149e1a8 AP_HAL_SITL: remove unused counter 2023-07-13 11:02:40 +10:00
Andy Piper f7f29650ba AP_Follow: remove unused variables 2023-07-13 11:02:40 +10:00
Andy Piper 74a70e52b8 AP_BattMonitor: remove unsued variables 2023-07-13 11:02:40 +10:00
Andy Piper 76e2d950d4 AP_Arming: squash bitwise & warnings 2023-07-13 11:02:40 +10:00
Andy Piper 813cf3660d AC_AutoTune: remove unsued variables 2023-07-13 11:02:40 +10:00
Andrew Tridgell 0f8d618102 AP_Scripting: added bindings for VTOL motor loss
this allows a script to take an action on loss of a VTOL motor
2023-07-13 08:03:52 +10:00
Peter Barker 36ffe42f01 RC_Channel: add and use AP_OPTICALFLOW_CALIBRATOR_ENABLED 2023-07-12 21:37:24 +10:00
Peter Barker 8416730a8c AP_OpticalFlow: add and use AP_OPTICALFLOW_CALIBRATOR_ENABLED 2023-07-12 21:37:24 +10:00
Peter Barker f14aab29e5 AP_OpticalFlow: correct compilation when HAL_LOGGING_ENABLED is 0 2023-07-12 21:37:24 +10:00
Andrew Tridgell 7a33c753cb Tools: added SpringValley3 location 2023-07-12 20:48:45 +10:00
Peter Barker e2e8bbabf1 Tools: don't fail if feature extraction failed 2023-07-12 20:48:19 +10:00
Andrew Tridgell aa0b119806 HAL_ChibiOS: disable CANFD bits if CANFD not enabled
cannot support CANFD receive on G4
2023-07-12 18:54:45 +10:00
Andrew Tridgell deab955a0f hwdef: update HolybroG4_GPS
disable CAN2 (unused), and prevent sharing of DMA for GPS UART
2023-07-12 18:54:45 +10:00
Peter Barker f3e5e28364 GCS_MAVLink: zero structured passed in to convert_COMMAND_LONG_to_COMMAND_INT 2023-07-12 18:51:07 +10:00
Peter Barker d0d15ad3ee autotest: augment mount test to attempt as CMD_INT 2023-07-12 18:51:07 +10:00
Peter Barker 24441dbc00 autotest: augment arming test to attempt as CMD_INT 2023-07-12 18:51:07 +10:00
Peter Barker 4fc5b5bdb6 autotest: augment yaw calibration test to attempt as CMD_INT 2023-07-12 18:51:07 +10:00
Peter Barker db217d47fa AntennaTracker: add infrastructure to handle command longs as command ints 2023-07-12 18:51:07 +10:00
Peter Barker 527f3d5728 GCS_MAVLink: add infrastructure to handle command longs as command ints 2023-07-12 18:51:07 +10:00
Peter Barker ab5908cb59 hwdef: disable bootloader flashing for F35Lightning
both boards on our Wiki seem to show boot0 pins
2023-07-12 17:54:02 +10:00
Peter Barker 522456a535 Tools: act on safety switch being enabled in SITL by zeroing outputs 2023-07-12 17:53:12 +10:00
Peter Barker 6b87318062 SITL: act on safety switch being enabled in SITL by zeroing outputs 2023-07-12 17:53:12 +10:00
Peter Barker 2c9551a25a AP_HAL_SITL: act on safety switch being enabled in SITL by zeroing outputs 2023-07-12 17:53:12 +10:00
Peter Barker f5a26495d3 AP_HAL: act on safety switch being enabled in SITL by zeroing outputs 2023-07-12 17:53:12 +10:00
Andrew Tridgell 946840cc99 AP_Periph: added targetted tunnel message for CAN serial passthru
this allows for remote control of serial devices over DroneCAN
2023-07-12 17:06:02 +10:00
Andrew Tridgell 460e19c3e5 Rover: removed set_blocking_writes_all calls 2023-07-12 17:06:02 +10:00
Andrew Tridgell 87092265d0 Blimp: removed set_blocking_writes_all calls 2023-07-12 17:06:02 +10:00
Andrew Tridgell 46c214e9d4 ArduSub: removed set_blocking_writes_all calls 2023-07-12 17:06:02 +10:00
Andrew Tridgell 435a83f106 ArduPlane: removed set_blocking_writes_all calls 2023-07-12 17:06:02 +10:00
Andrew Tridgell 105b7a6163 ArduCopter: removed set_blocking_writes_all calls 2023-07-12 17:06:02 +10:00
Andrew Tridgell 828d4ac70c AntennaTracker: removed set_blocking_writes_all calls 2023-07-12 17:06:02 +10:00
Andrew Tridgell a6055033ab AP_SerialManager: removed set_blocking_writes_all 2023-07-12 17:06:02 +10:00
Andrew Tridgell 36528cae57 AP_RCProtocol: removed set_blocking_writes 2023-07-12 17:06:02 +10:00
Andrew Tridgell 8c6aa02b86 AP_FETtecOneWire: removed set_blocking_writes 2023-07-12 17:06:02 +10:00
Andrew Tridgell 4fc29909a4 AP_Hott_Telem: removed set_blocking_writes 2023-07-12 17:06:02 +10:00
Andrew Tridgell 22c31ac729 AP_IOMCU: removed set_blocking_writes 2023-07-12 17:06:02 +10:00
Andrew Tridgell 2d28b59661 AP_Common: removed set_blocking_writes
and moved to top level locking in UARTs
2023-07-12 17:06:02 +10:00
Andrew Tridgell 4087e0b215 AP_Camera: removed set_blocking_writes 2023-07-12 17:06:02 +10:00