Commit Graph

49961 Commits

Author SHA1 Message Date
Iampete1 2b402ed2d7 AP_BLHeli: use is_dshot_protocol in place of >= AP_HAL::RCOutput::MODE_PWM_DSHOT150 2021-10-06 18:59:57 +11:00
Iampete1 3b8b90d170 AP_HAL: move is_dshot_protocol to AP_HAL 2021-10-06 18:59:57 +11:00
Iampete1 9751cb5b24 AP_HAL_ChibiOS: move is_dshot_protocol up to AP_HAL 2021-10-06 18:59:57 +11:00
Iampete1 9b02baa5f0 AP_HAL: add note to output_mode enum about params using it 2021-10-06 18:59:57 +11:00
Iampete1 436f9a3f46 AP_BLHeli: move OTYPE to use RCOutput::MODE not AP_Motors::PWM_TYPE 2021-10-06 18:59:57 +11:00
Iampete1 9106835c93 AP_BLHeli: use motors is_digital_pwm_type helper 2021-10-06 18:59:57 +11:00
Iampete1 bc29735cb2 AP_Motors: make pwm_type protected and add helpers 2021-10-06 18:59:57 +11:00
Iampete1 1f163453fc Copter: don't check PWM type directly use helpers 2021-10-06 18:59:57 +11:00
Iampete1 b472300191 AP_MotorsUGV: make pwm_type private and add is_digital_pwm_type method 2021-10-06 18:59:57 +11:00
Iampete1 86e56934b6 AP_Scripting: update analog input example to check for valid pin 2021-10-06 18:42:51 +11:00
Iampete1 f50326c154 AP_WindVane: check for valid analog pins 2021-10-06 18:42:51 +11:00
Iampete1 e5ae023be2 AP_Scripting: AnalogSource set_pin returns bool 2021-10-06 18:42:51 +11:00
Iampete1 8f50eab6c2 AP_RSSI: check for valid analog pin 2021-10-06 18:42:51 +11:00
Iampete1 f667c098a2 AP_RangeFinder: analog: check for valid pin 2021-10-06 18:42:51 +11:00
Iampete1 5ea72bd371 AP_LeakDetector: check for valid analog pin 2021-10-06 18:42:51 +11:00
Iampete1 9f04cded3b AP_HAL_SITL: AnalogSource: return bool for set_pin 2021-10-06 18:42:51 +11:00
Iampete1 62474e6dc8 AP_HAL_Linux: AnalogSource: set_pin return true 2021-10-06 18:42:51 +11:00
Iampete1 f479964c5a AP_HAL_Empty: AnalogSource: return bool 2021-10-06 18:42:51 +11:00
Iampete1 f7cba024c1 AP_HAL_ChibiOS: AnalogSource: check for valid pin 2021-10-06 18:42:51 +11:00
Iampete1 bb04406496 AP_HAL: AnalogSource: set_pin returns bool 2021-10-06 18:42:51 +11:00
Iampete1 19f66803ff AP_BatteryMonitor: Analog: check valid pin 2021-10-06 18:42:51 +11:00
Iampete1 0731af751a AP_Airspeed: analog: check valid pin 2021-10-06 18:42:51 +11:00
Andrew Tridgell d4d78720ca Tools: added AK09918 devid 2021-10-06 18:16:00 +11:00
Andrew Tridgell 613f970870 AP_Compass: added AK09918 support
minor update over AK09916
2021-10-06 18:16:00 +11:00
Andrew Tridgell 32731e2cd0 AP_Scripting: fixed bug in string logging with logger.write()
this dereferenced a bad pointer, leading to crash and watchdog

thanks to Charlie for finding this!
2021-10-06 18:14:54 +11:00
Hwurzburg 4e731bf4e2 Plane: add VTOL POS1 notification to QRTL mode 2021-10-06 11:38:32 +11:00
Andrew Tridgell 33529c98a9 HAL_ChibiOS: check the ROMFS line for IOMCU is added 2021-10-06 06:45:43 +11:00
Andrew Tridgell fd634baef5 ChibiOS: submodule update 2021-10-06 06:44:36 +11:00
Andrew Tridgell 52124cf602 HAL_ChibiOS: fixed f1 bootloader build errors 2021-10-06 06:44:36 +11:00
Andrew Tridgell 8deaa1b46b HAL_ChibiOS: fixed warning for USB 2021-10-06 06:44:36 +11:00
Andrew Tridgell 4daf4ad501 HAL_ChibiOS: lock in no warnings for chibios RTOS build 2021-10-06 06:44:36 +11:00
Andrew Tridgell 1e4946cf76 Tools: added Swan-K1 bootloader 2021-10-05 11:32:13 -07:00
Andrew Tridgell ea63e8e9df git: don't ignore bootloader bin files 2021-10-05 11:32:13 -07:00
Peter Barker 402669f269 AP_HAL_SITL: add and use HAL_SITL &hal_sitl
analogous to our normal "extern hal" stuff but removes need for casting
2021-10-05 22:24:38 +11:00
Peter Barker dd49d79798 autotest: add test for Plane flying with a very slow GPS 2021-10-05 21:40:45 +11:00
Andrew Tridgell 4dbff85de7 HAL_ChibiOS: check for common hwdef.dat errors
catches missing GPIO type, mismatched timers and UARTs or bad pin types
2021-10-05 15:46:02 +11:00
Iampete1 f0a284c1e7 AP_Hal_ChibiOS: R9Pilot: add OUTPUT to GPIO 2021-10-05 15:46:02 +11:00
Iampete1 0143518954 AP_Hal_ChibiOS: mRoControlZeroF7: add OUTPUT to GPIO 2021-10-05 15:46:02 +11:00
Iampete1 a282a39866 AP_Hal_ChibiOS: F4BY: add OUTPUT to GPIO 2021-10-05 15:46:02 +11:00
Iampete1 6f1f26a72a AP_Hal_ChibiOS: CubeOrange: add OUTPUT to GPIO 2021-10-05 15:46:02 +11:00
Peter Barker 919dc26ff6 AP_Camera: use location methods to convert altitudes 2021-10-05 13:54:19 +11:00
Michel Pastor c590e1f1c5 OP_OSD_Screen: make the rangefinder distance element fixed length 2021-10-05 12:15:08 +11:00
Iampete1 5848510876 AP_HAL_ChibiOS: set flow control disabled if no RTS line 2021-10-05 12:11:47 +11:00
Iampete1 2d39836b42 AP_SerialManager: always set options 2021-10-05 12:11:47 +11:00
Michel Pastor a9fed2f9bc RCOutput: fix full throttle bug 2021-10-05 11:47:04 +11:00
Nicholas Weaver 1377c1b78f Tools: board_types.txt: reserve ID for ICSI_Kestrel
Developing a CM4-based carrier board, reserving a board ID.
2021-10-05 11:23:16 +11:00
Hwurzburg 3b543a8ceb AP_Compass: Change orientation labels to match order of rotation 2021-10-05 11:22:32 +11:00
Hwurzburg 873097c030 AP_AHRS: Change orientation labels to march order of rotation 2021-10-05 11:21:48 +11:00
Peter Barker 3e031e78e5 Plane: add comment about us sending airspeed error in wrong units 2021-10-05 11:20:55 +11:00
Peter Barker e4ebea9e26 GCS_MAVLink: use AHRS position for location
This is our canonical source of position.
2021-10-05 10:20:44 +11:00