Commit Graph

53492 Commits

Author SHA1 Message Date
Andy Piper
25785e12d9 AP_RCTelemetry: don't spam mode changes on CRSF startup
rewrite device ping bootstrap to avoid ping flood
enable device pings on CRSF in the event of TX loss.
only send pings if not negotiating the version
2022-06-15 17:20:36 +10:00
Andy Piper
9b8ea8475d AP_RCProtocol: reset UART on RX failure for CRSF
update CRSF timestamps to use microseconds
implement RX liveness protocol and implement for CRSF
2022-06-15 17:20:36 +10:00
Andy Piper
f828c690e7 bootloaders: add MambaF405-2022 bootloaders 2022-06-15 17:05:41 +10:00
Andy Piper
3db079d15c Tools: add MambaF405 2022 MK4 2022-06-15 17:05:41 +10:00
Andy Piper
ed6f7fb9e9 AP_HAL_ChibiOS: add support for MambaF405 2022 MK4
mark DMA on MambaF405US-I2C UARTs
correct RSSI pin on MambaF405US-I2C
2022-06-15 17:05:41 +10:00
Randy Mackay
34f327404a AP_Mount: Gremsy only enabled on >1MB boards 2022-06-15 09:07:14 +09:00
Randy Mackay
1fca72a831 GCS_MAVLink: add comment re sending locations to mounts 2022-06-15 09:07:14 +09:00
Randy Mackay
e595da41e6 AP_Mount: gremsy uses gimb-dev-att-send to retract gimbal
this replaces the MAV_CMD_USER_1 method
2022-06-15 09:07:14 +09:00
Randy Mackay
14c81099db AP_Mount: add Gremsy driver
Co-authored-by: bugobliterator <siddharthbharatpurohit@gmail.com>

this drivers special features include
sends ATTITUDE and AUTOPILOT_STATE_FOR_GIMBAL
support of RC rate targets
captures and re-forwards gimbal_device_attitude_status
2022-06-15 09:07:14 +09:00
Randy Mackay
6723a0fc55 AP_Mount: handle gimbal_device_attitude_status 2022-06-15 09:07:14 +09:00
Randy Mackay
247697ccc4 AP_Mount: add support for DO_GIMBAL_MANAGER_PITCHYAW mavlink command 2022-06-15 09:07:14 +09:00
Randy Mackay
8092697c1a AP_Mount: backend record RC rate targets 2022-06-15 09:07:14 +09:00
Randy Mackay
f157e5a073 AP_Mount: add set_yaw_lock 2022-06-15 09:07:14 +09:00
Randy Mackay
589102b7d7 AP_Mission: add DO_GIMBAL_MANAGER_PITCHYAW support 2022-06-15 09:07:14 +09:00
Randy Mackay
640a4b1a5f RC_Channel: add mount lock aux function 2022-06-15 09:07:14 +09:00
Randy Mackay
f83b4cdb40 GCS_MAVLink: support sending AUTOPILOT_STATE_FOR_GIMBAL_DEVICE 2022-06-15 09:07:14 +09:00
bugobliterator
4dd66fed4b GCS_MAVLink: forward gimbal-device-information to AP_Mount
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>

also forward gimbal_device_attitude_status
2022-06-15 09:07:14 +09:00
Randy Mackay
7d13582913 Copter: implement get_rate_bf_targets method 2022-06-15 09:07:14 +09:00
Randy Mackay
cd1a62b7bc Copter: move get_wp_xxx declarations higher in Copter.h
The declarations are grouped by the file in which they appear except for these 3
2022-06-15 09:07:14 +09:00
Randy Mackay
c19d5391d9 AP_Vehicle: add get_rate_bf_targets method 2022-06-15 09:07:14 +09:00
Randy Mackay
0975da6068 AP_Mount: remove virtual distructor from backend 2022-06-15 09:07:14 +09:00
Randy Mackay
b6d7601a55 AP_Mount: SToRM32 minor comment fix
also move definitions to cpp file
2022-06-15 09:07:14 +09:00
Randy Mackay
e0ce8035b9 Tools: arduroller balance bot param update 2022-06-15 08:40:12 +09:00
Peter Barker
0697ce19d2 autotest: tidy wait_disarmed 2022-06-15 09:11:51 +10:00
Peter Barker
b18c597f0b autotest: fix race condition in arduplane.py fly_mission
We can lose the final message when we get_sim_time and wait_heartbeats and similar
2022-06-15 09:11:51 +10:00
Tom Pittenger
c28db6d91c AP_HAL_ChibiOS: Durandal hwdef to enable Sagetech MXS driver by default for CI to test against 2022-06-14 07:10:17 -07:00
Tom Pittenger
7b681d55a8 AP_ADSB: fix sagetech MXS SDK linking error 2022-06-14 07:10:17 -07:00
Chuck Faber
c0b2b679a1 AP_ADSB: Added Sagtetech MXS Driver and it's SDK 2022-06-14 07:10:17 -07:00
Tom Pittenger
0645aee865 AP_ADSB: Driver cleanup and refactor 2022-06-14 07:10:17 -07:00
Tom Pittenger
07be987073 AP_HAL_ChibiOS: enable SagetechMXS driver by default only for CUAV-X7 and CubeOrange 2022-06-14 07:10:17 -07:00
Chuck Faber
b657d54336 Tools/scripts: Add Sagtech MXS to custom build server 2022-06-14 07:10:17 -07:00
Tom Pittenger
0c7e107157 Tools/waf: Add Sagetech SDK to WAF build 2022-06-14 07:10:17 -07:00
mateksys
71b9e80c04 hwdef: added more PWM options in MatekL431-Dshot 2022-06-14 18:59:52 +10:00
Andy Piper
4068337971 AP_HAL_ChibiOS: correct UART RX stats 2022-06-14 10:25:17 +10:00
Andrew Tridgell
064b6c8a9d AP_ESC_Telem: use send_struct mavlink function
saves some flash, cpu and stack, but means we need a cast
2022-06-14 10:11:03 +10:00
Andy Piper
619fa021e7 AP_GyroFFT: make sure the parameters are updated at least once on startup 2022-06-14 10:09:18 +10:00
Andy Piper
24e47ea08d AP_Arming: make sure FFT gets initialized when arming checks are off 2022-06-14 10:09:18 +10:00
James Harton
b963be7ee8 AP_HAL_ChibiOS: Add on-board baro support to iFlight BeastH7 V2 target.
iFlight's own website says that there is no barometer on this device,
however on my one there is a DPS310 connected on I2C.  This PR adds
support for the on-board baro but leaves it as optional.
2022-06-14 09:46:46 +10:00
Peter Barker
1b22de0dd9 autotest: fix race condition in deepstall tests 2022-06-14 08:16:03 +10:00
Peter Barker
b550949766 autotest: scale SITL RC input according to speedup
Too slow when running at 100 times speedup
2022-06-13 21:41:41 +10:00
Peter Barker
abc1b7b644 autotest: factor out extract_median_FTN1_PkAvg_from_current_onboard_log 2022-06-13 21:21:30 +10:00
Peter Barker
d6dc0464dd autotest: tidy extraction of FTN1 data from dflogs in fft tests 2022-06-13 21:21:30 +10:00
Peter Barker
1a9470d635 autotest: return hover throttle from hover_for_interval 2022-06-13 21:21:30 +10:00
Peter Barker
ef29350a72 autotest: tidy hovering in fft tests 2022-06-13 12:01:13 +10:00
Shiv Tyagi
b2f3123b0c Copter: avoid ascend beyond fence's max alt in circle mode 2022-06-13 09:06:28 +09:00
Peter Barker
1087b297ac Blimp: let AHRS update orientation in its own time 2022-06-12 17:32:11 +10:00
Peter Barker
ac4d8404bb Sub: let AHRS update orientation in its own time 2022-06-12 17:32:11 +10:00
Peter Barker
cfff881013 Plane: let AHRS update orientation in its own time 2022-06-12 17:32:11 +10:00
Peter Barker
fca544a14a Copter: let AHRS update orientation in its own time 2022-06-12 17:32:11 +10:00
Peter Barker
5fc4c9dc5c Tracker: let AHRS update orientation in its own time 2022-06-12 17:32:11 +10:00