Commit Graph

55009 Commits

Author SHA1 Message Date
MatthewHampsey 1dba013e4a AP_Scripting:Improve speed controller, various other fixes 2022-10-02 16:58:37 +11:00
Andrew Tridgell 6555682fa8 AP_Scripting: delay getting EFI backend
allow for AP_EFI startup after scripting
2022-10-02 08:15:06 +11:00
Andrew Tridgell c00c13d011 AP_Scripting: changed bindings to ap_object 2022-10-02 08:15:06 +11:00
Andrew Tridgell c3499f12c4 AP_Scripting: convert HFE driver to get_backend 2022-10-02 08:15:06 +11:00
Andrew Tridgell fed4909dd1 AP_EFI: convert to using ap_object approach 2022-10-02 08:15:06 +11:00
Andrew Tridgell 6e308814ad AP_Scripting: added mag_heading example 2022-10-02 08:15:06 +11:00
Andrew Tridgell 1f42453bb4 AP_Scripting: added EFI HFE driver 2022-10-02 08:15:06 +11:00
Andrew Tridgell 7f7b8893e3 AP_Scripting: added EFI_HFE tester 2022-10-02 08:15:06 +11:00
Andrew Tridgell 24b83135e0 AP_HAL: added id_signed for CANFrame
makes for more efficient lua processing
2022-10-02 08:15:06 +11:00
Andrew Tridgell acb18cf946 AP_Scripting: update bindings for new fields 2022-10-02 08:15:06 +11:00
Andrew Tridgell 698c25a060 AP_EFI: added more fields
fill in 3 remaining fields available in MAVLink
2022-10-02 08:15:06 +11:00
Andrew Tridgell b514f44b7a AP_Scripting: added EFI testing script 2022-10-02 08:15:06 +11:00
Andrew Tridgell a08c4b6761 AP_Scripting: added EFI_SkyPower driver 2022-10-02 08:15:06 +11:00
Andrew Tridgell fd52ff923d AP_EFI: removed array from cylinder_status
this array was never used and just makes doing drivers harder. Removed
to reduce complexity
2022-10-02 08:15:06 +11:00
Joshua Henderson f74ad276a9 AP_EFI: add EFI scripting driver 2022-10-02 08:15:06 +11:00
Andrew Tridgell d3c014ca35 AP_Scripting: update docs 2022-10-02 08:15:06 +11:00
Joshua Henderson d74081b22b AP_Scripting: add scripting EFI bindings 2022-10-02 08:15:06 +11:00
Joshua Henderson 996089dc2a AP_Vehicle: EFI increase loop rate to 50Hz 2022-10-02 08:15:06 +11:00
Willian Galvani 650e8652a9 Tools: Sub: add test to make sure changing modes does not cause altitude changes 2022-10-01 09:52:56 -03:00
murata b90079bfa6 AP_Mount: Enable debugging outputs and variables in debug definitions 2022-10-01 09:05:05 +09:00
Peter Barker 49b991b92d autotest: use new altitude_source keyword in EKF/GPS test 2022-10-01 08:27:37 +10:00
Willian Galvani fcafd2c685 Tools: attempt to fix Sub flapping test 2022-09-30 15:24:33 -03:00
Andrew Tridgell 805e194b0b hwdef: disable compass cal for herePro
it doesn't work as diagonals and offdiagonals not available
2022-09-30 21:25:36 +10:00
Andrew Tridgell 0b9769e658 AP_Compass: removed diagonals and offdiagonals on AP_Periph 2022-09-30 21:25:36 +10:00
Andrew Tridgell af224dab1e AP_Compass: fixed AP_Periph compass
diagonals are no longer initialised to 1.0, which leaves us with zero
compass after matrix mul
2022-09-30 21:25:36 +10:00
Randy Mackay de3d763e36 AP_Mount: minor comment fix to has_pan_control 2022-09-30 15:17:29 +09:00
Randy Mackay 38360b8c7b Tools: custom build server option for Siyi gimbal mount 2022-09-30 15:17:29 +09:00
Randy Mackay 47e2be6e60 RC_Channel: add camera aux functions 2022-09-30 15:17:29 +09:00
Randy Mackay 2ffe692706 AP_Camera: add record video zoom and focus 2022-09-30 15:17:29 +09:00
Randy Mackay 8c5463ec78 AP_Mount: add Siyi gimbal driver 2022-09-30 15:17:29 +09:00
Randy Mackay 53905c5f35 AP_Mount: add camera controls 2022-09-30 15:17:29 +09:00
chobitsfan 434841d402 Copter: use 3d vector from plnd to slow down 2022-09-30 08:58:37 +09:00
Andrew Tridgell 17d9018a91 AP_NavEKF3: fixed EKF3 origin alt inconsistency
always use common origin, and adjust output posD for difference
between public and local lane origin heights
2022-09-30 07:44:42 +10:00
Andrew Tridgell 0210d7c60c autotest: added a test for EKF lane change in GUIDED
an EKF lane change when the two lanes are using different GPS should
not cause a height change in GUIDED
2022-09-30 07:44:42 +10:00
Andrew Tridgell 9dd2301198 autotest: move do_aux_function to common 2022-09-30 07:44:42 +10:00
Andrew Tridgell 3f4c5e243e AP_CANManager: disable SLCAN when armed
this disables SLCAN if enabled using CAN_SLCAN_CPORT and
SERIALn_PROTOCOL=22 when we are armed, to reduce load on the CAN
thread from the very inefficient SLCAN processing
2022-09-29 20:40:21 +10:00
Peter Barker f225592f48 AP_GPS: use default case for sending blob
This structure avoids a compiler warning that a statement isn't reachable when all backends are compiled out.
2022-09-29 20:00:53 +10:00
Peter Barker 288089a158 AP_GPS: no init blobs for SBF/GSOF/NOVA/SITL 2022-09-29 20:00:53 +10:00
Peter Barker 3a3f9bdb84 AP_GPS: cycle through baud rates for SBF/GSOF/NOVA/SITL 2022-09-29 20:00:53 +10:00
Peter Barker a56ed66aa3 SITL: make NOVA run at specific baudrate 2022-09-29 20:00:53 +10:00
Peter Barker 0c5f972ddb autotest: add ability to watch-and-maintain from SIM_STATE.alt 2022-09-29 20:00:01 +10:00
AerofoxTech 83efcc008e Tools: added AeroFix_PMU bootloader 2022-09-29 15:15:36 +10:00
AerofoxTech 19e24bc514 Tools: added AeroFix_PMU board ID 2022-09-29 15:15:36 +10:00
AerofoxTech 5ca31ac1a1 hwdef: add AeroFox PMU module hwdef 2022-09-29 15:15:36 +10:00
Willian Galvani c607c38cbf AP_HAL_Linux: add missing header to RCInput_RCProtocol.cpp
This fixes muslhf linux build
2022-09-28 18:38:33 -03:00
Willian Galvani 4558742e39 HAL_Linux: add RC in driver for Navigator 2022-09-28 18:38:33 -03:00
Willian Galvani 232083c4d2 Sub: update baro calibration even if armed
This is harmless and prevents a "bounce-back" effect when the depth
is badly calibrated. This can happen when rebooting the vehicle underwater
without a proper depth calibration.
2022-09-28 10:19:38 -03:00
Peter Barker bd364b6169 autotest: specify baudrate for NMEA GPS for testing 2022-09-28 20:53:34 +10:00
Peter Barker 0717c3409b SITL: SITL SerialDevice optionally checks baudrates match 2022-09-28 20:53:34 +10:00
Peter Barker 0d5d9c04f0 AP_HAL_SITL: SITL SerialDevice optionally checks baudrates match 2022-09-28 20:53:34 +10:00