mateksys
7eb4e9b370
AP_Periph: set PORT defaults for F405-MatekGPS
2021-02-18 11:51:50 +11:00
mateksys
97c2b7228e
AP_Periph: Matek F303 and F405 AP_Periph use DSP310 baro
2021-02-18 11:51:50 +11:00
Tom Pittenger
8019cc160a
AP_ICEngine: make it obvious that update_idle_gov does nothing if disabled
2021-02-18 09:45:30 +11:00
Peter Barker
f124cf0991
AP_Hott_Telem: use GPS single-char representation of fix type
2021-02-18 08:59:23 +11:00
Peter Barker
9da9d8c94b
AP_GPS: provide method for getting single char representing fix type
...
Should allow us to be consistent across places in the code base that
need a compact representation for a user display.
2021-02-18 08:59:23 +11:00
Leonard Hall
e788d63686
AC_AttitudeControl: clear up comment for inertial_frame_reset
2021-02-17 21:19:18 +09:00
Andy Piper
4c2cbdab8d
AP_HAL_ChibiOS: only setup half-duplex for receive when transmit is fully over
2021-02-17 20:09:48 +11:00
Andy Piper
5c32007cdf
AP_HAL_ChibiOS: ensure stop bits can be set before UART begin
2021-02-17 20:09:48 +11:00
Peter Hall
43763091bd
AP_Scripting: add send_named_float to simple loop example
2021-02-17 18:49:20 +11:00
Peter Hall
fc95664580
AP_Scripting: add GCS send_named_float binding
2021-02-17 18:49:20 +11:00
Andy Piper
3371c272fb
AP_Notify: make LED_NTF_LEN changes require a reboot
...
don't dynamically update LED length
2021-02-17 18:36:36 +11:00
Andy Piper
3a9107245c
AP_HAL_ChibiOS: allocate DMA and LED buffers correctly when the length changes
...
calculate DMAR pulse times correctly
ensure 50us pulse separation for LED
make sure the LEDs are signalled for output
only allow LED length to be set once
2021-02-17 18:36:36 +11:00
Andy Piper
a98f85502a
AP_RCTelemetry: add support for SmartAudio protocol.
...
treat VTX frequency as a first class citizen, match band/channel to frequency
update CRSF to use new VTX configuration
use a 6-position switch to control VTX power
add support for VTX GCS announcement
announce VTX updates on CRSF
support pitmode-until-arm and pitmode-on-disarm
Co-authored-by: luis.martinez.exts <luis.martinez@juntadeandalucia.es>
2021-02-17 18:23:33 +11:00
Andy Piper
ea3af39773
RC_Channel: add support for 6-position switch and use it for VTX power
2021-02-17 18:23:33 +11:00
Andy Piper
6f91e053d5
AP_VideoTX: new library to support the SmartAudio protocol
...
set the VTX parameters to what was actually configured by the VTX
use change band/change frequency when appropriate
set power levels appropriately for protocol version.
Co-authored-by: luis.martinez.exts <luis.martinez@juntadeandalucia.es>
2021-02-17 18:23:33 +11:00
Andy Piper
2d0fe8b883
AP_SerialManager: add support for the SmartAudio protocol
...
Co-authored-by: luis.martinez.exts <luis.martinez@juntadeandalucia.es>
2021-02-17 18:23:33 +11:00
Andy Piper
b79ff9475d
AP_Vehicle: add support for the SmartAudio protocol
...
Co-authored-by: luis.martinez.exts <luis.martinez@juntadeandalucia.es>
2021-02-17 18:23:33 +11:00
Peter Barker
c20c4a6308
AP_HAL_SITL: set bus in read-size of rdwr transaction
2021-02-17 14:23:07 +11:00
Peter Barker
1c4e1aab05
AP_Logger: move gps logging structures into AP_GPS
2021-02-17 11:30:01 +11:00
Peter Barker
c2cba52ad8
AP_GPS: move gps logging structures into AP_GPS
2021-02-17 11:30:01 +11:00
Peter Barker
eefcc92f24
GCS_MAVLink: take MAV_CMD_DO_SPRAYER as a mavlink command
2021-02-16 22:36:43 +11:00
Peter Barker
c3b005e1d9
AP_Mission: add mission command to turn sprayer on and off
2021-02-16 22:36:43 +11:00
Rishabh
98287a1b2f
AC_Avoid: Use previous avoidance vel for limiting accel
2021-02-16 20:08:00 +09:00
Rishabh
cbf57af1f3
AC_Avoid: Limit acceleration while simple avoidance is active
2021-02-16 20:08:00 +09:00
Rishabh
865f3cda79
AC_Avoid: Add param to switch off proximity avoidance based on alt
2021-02-16 20:08:00 +09:00
Peter Hall
c1a831bbf4
GCS_MAVLink: sensor flags, only mark AHRS as enabled once initialised
2021-02-16 12:54:28 +11:00
Andrew Tridgell
a42bfd5df5
AP_Baro: added MS5611 baro compensation for -15 to -40C
2021-02-16 11:20:57 +11:00
Michael du Breuil
4c4e613f6a
AP_GPS: Don't send SBF config unless there is free space in the port
2021-02-15 16:31:45 -07:00
Michael du Breuil
c0da87c066
AP_HAL_ChibiOS: Update HitecMosaic to reflect changes to GPS config
2021-02-15 16:31:45 -07:00
Michael du Breuil
4d42996068
AP_GPS: Force the buadrate on SBF units
2021-02-15 16:31:45 -07:00
Peter Barker
01eb64ce73
AP_RPM: don't present RPM2_PIN parameter if RPM_MAX_INSTANCES <=1
2021-02-16 08:26:18 +09:00
Andrew Tridgell
6d1511f3eb
GCS_MAVLink: added method to force save calibration
...
useful after reloading parameters
2021-02-15 07:24:40 +11:00
Andrew Tridgell
f8e0227c8c
AP_Compass: added force_save_calibration()
2021-02-15 07:24:40 +11:00
Andrew Tridgell
25dd08a1fd
AP_InertialSensor: added force_save_calibration()
2021-02-15 07:24:40 +11:00
Andrew Tridgell
9de1519928
HAL_ChibiOS: prevent hw flow control from hogging a DMA channel
...
When hw flow control is enabled check the CTS pin before we grab the
DMA channel to prevent a long timeout trying to send to a blocked port
from holding a DMA channel against another device
this fixes issue #16587
2021-02-15 07:23:56 +11:00
Andrew Tridgell
106162b0c5
AP_MSP: removed date/time from MSP
...
we don't want to use real dates here as that would mean we don't get
consistent builds. Being able to reproduce the exact build at a later
date is a valuable property of the code
The git hash should be enough
2021-02-13 19:24:48 +11:00
Andrew Tridgell
0cc4409845
HAL_ChibiOS: fixed handling of invalid channel for LED write
...
this prevents a null ptr dereference when an invalid channel (such as
one on IOMCU) is used for LEDs
2021-02-13 15:11:10 +11:00
Andrew Tridgell
098a17fe2e
HAL_ChibiOS: fixed CubeOrange ADSB param name
2021-02-13 13:06:20 +11:00
Rishabh
f107ce3951
AP_Proximity: Use 3 sectors for simple avoidance boundary
2021-02-12 16:48:16 +09:00
Rishabh
8cab737bdd
AP_Proximity: Follow NED convention
2021-02-12 16:48:16 +09:00
Rishabh
74bda4952d
AC_Avoid: Return early if velocity is unchanged in proximity avoidance
2021-02-12 16:48:16 +09:00
Randy Mackay
eafd702773
AC_WPNav: add comment clarifying get_wp_destination alt frame
2021-02-11 13:01:37 +09:00
Mark Whitehorn
bb15c18cc3
GCS_MAVLink: send message when MAVFTP init fails
2021-02-10 23:06:36 +11:00
Pierre Kancir
eb78a473f6
AP_Vehicle: correct virtual specifier
2021-02-10 18:49:42 +11:00
Pierre Kancir
7430a415fb
AP_Tuning: use AUX_PWM_TRIGGER_LOW and AUX_PWM_TRIGGER_HIGH
2021-02-10 18:48:06 +11:00
Pierre Kancir
67bdec3325
AP_OSD: use AUX_PWM_TRIGGER_LOW and AUX_PWM_TRIGGER_HIGH
2021-02-10 18:48:06 +11:00
Pierre Kancir
9362039feb
AP_ICEngine: use AUX_PWM_TRIGGER_LOW and AUX_PWM_TRIGGER_HIGH
2021-02-10 18:48:06 +11:00
Pierre Kancir
287645cf68
RC_Channel: use AUX_PWM_TRIGGER_LOW and AUX_PWM_TRIGGER_HIGH
2021-02-10 18:48:06 +11:00
Pierre Kancir
a631ca4eac
AP_Button: add AUX_SWITCH_PWM_TRIGGER_LOW and AUX_SWITCH_PWM_TRIGGER_HIGH
2021-02-10 18:48:06 +11:00
Pierre Kancir
0725cbdffc
RC_Channel: add AUX_SWITCH_PWM_TRIGGER_LOW and AUX_SWITCH_PWM_TRIGGER_HIGH
2021-02-10 18:48:06 +11:00