Andrew Tridgell
3dfe15443d
HAL_ChibiOS: fixed orientation of CUAV_GPS compass
6 years ago
Andrew Tridgell
21cce1385a
AP_UAVCAN: support safety buttons on UAVCAN
...
the button works in parallel with any button attached by IOMCU or by a
pin, and obeys all the same BRD_SAFETY* options
6 years ago
Andrew Tridgell
03c1a8bfd9
HAL_ChibiOS: use safety button logic from AP_BoardConfig
6 years ago
Andrew Tridgell
5a96e374ba
AP_BoardConfig: moved logic for safety button press to AP_BoardConfig
...
this allows for common code between CAN and pin safety switches, as
well as making the code neater as most of the logic is related to
AP_BoardConfig options
6 years ago
Andrew Tridgell
82a98ef95d
AP_Notify: added NTZ_BUZZ_VOLUME parameter
...
it is fairly non-linear, but does work
6 years ago
Andrew Tridgell
39f4f7c208
AP_UAVCAN: added safety LED and button messages
6 years ago
Andrew Tridgell
0ea67943b9
HAL_ChibiOS: enable safety button on CUAV_GPS
6 years ago
Andrew Tridgell
c6c1c4bc31
AP_UAVCAN: support safety LEDs on UAVCAN
6 years ago
Andrew Tridgell
186eedf838
HAL_ChibiOS: enable safety LED
6 years ago
Andrew Tridgell
75696997cc
HAL_ChibiOS: added buzzer support to CUAV_GPS
6 years ago
Andrew Tridgell
7c57546eb1
AP_Notify: support UAVCAN buzzers
6 years ago
Andrew Tridgell
d55f76c88e
AP_UAVCAN: added buzzer support
6 years ago
Peter Barker
8fc55b9678
GCS_MAVLink: remove comm_get_available
...
available returns an unsigned integer, so this was just weird
6 years ago
Andrew Tridgell
cbe0af2463
HAL_ChibiOS: setup for LEDs on KakuteF4
...
this makes Kopis1 display LEDs properly
6 years ago
Andrew Tridgell
a4924e1c0b
AP_Notify: allow setting of LED count in hwdef.dat
6 years ago
Andrew Tridgell
28b5f2b021
AP_Notify: simplify NeoPixel driver
...
use new API to avoid complexities
6 years ago
Andrew Tridgell
f441223b55
HAL_ChibiOS: implement updated NeoPixel API
...
allow for N leds per chain, and setting separate colours per led in
each chain
6 years ago
Andrew Tridgell
1cb608a9f4
AP_HAL: allow neopixel LEDs to be set more flexibly
...
allow for N leds per chain, with RGB control of each
6 years ago
Tom Pittenger
aa602b5e1b
AP_Notify: add NeoPixel driver
6 years ago
Tom Pittenger
e3416b66dc
AP_HAL_ChibiOS: add Neopixel output type, similar to dshot
6 years ago
Tom Pittenger
52be3903c0
SRV_Channel: add neopixel as an output type
6 years ago
Randy Mackay
aba4a1fdc8
AC_Avoidance: remove OADatabase check that can never be true
6 years ago
Randy Mackay
0dd8525c99
AP_HAL_SITL: resolve compiler warning in sitl_airspeed by using fabsf
6 years ago
Randy Mackay
2d128e0079
AP_Proximity: remove unused var from AriSimSITL
6 years ago
Randy Mackay
d4b047fc1f
SITL: Gripper_EPM compiler warning resolved by using float and fabsf
6 years ago
Randy Mackay
1fd7618238
SITL: remove unused time_diff member
6 years ago
Michael du Breuil
9a7d64e8fc
AP_NavEKF3: Allow the GPS to be responsible for logging
6 years ago
Michael du Breuil
a4d10b2e86
AP_NavEKF2: Allow the GPS to be responsible for logging
6 years ago
Michael du Breuil
f857eb4640
AP_GPS: Take responsibility for logging the GPS if the EKF wants logging
6 years ago
Willian Galvani
b92473111c
AP_LeakDetector: Mark Leak pins RebootRequired
6 years ago
Andy Piper
6f3334b460
AP_Filesystem: build fixes for SITL on macOS
6 years ago
Andrew Tridgell
91e8752c17
HAL_ChibiOS: wrap more libc functions
...
this saves a few k of flash as it avoids linking libc versions of some
functions
6 years ago
Andrew Tridgell
3166f84954
HAL_ChibiOS: added vsnprintf wrapper
...
this allows us to use a common snprintf implementation
6 years ago
Michael du Breuil
ba3cfbfb54
AP_RTC: Don't allow RTC times before 2019
6 years ago
Andrew Tridgell
aa20be4270
AP_RCProtocol: fixed SUMD with 16 channels
...
with 16 channels it is more than 3ms per frame
6 years ago
Andrew Tridgell
df387dc396
AP_Compass: allow rotation of BMM150 compass
6 years ago
Andrew Tridgell
1cb775e2c2
AP_Compass: probe more addresses for IST8310
...
IST8310 can be on 4 possible i2c addresses
6 years ago
Andrew Tridgell
5e5c30efe8
HAL_SITL: allow SITL to use SERIALn_PROTOCOL=23
...
this allows for testing of RC input protocol parsing in SITL
6 years ago
Andrew Tridgell
c8de2ec9c7
AP_RCProtocol: added update() method for use by SITL
6 years ago
Andrew Tridgell
4b48e80c26
AP_SerialManager: fixed AP_Periph build
6 years ago
Andrew Tridgell
83872c23e5
HAL_ChibiOS: fixed AP_Periph build
6 years ago
Andrew Tridgell
fd80220d3e
HAL_ChibiOS: setup PH4-mini RCIN port by default
6 years ago
Andrew Tridgell
54649a0e4f
HAL_ChibiOS: fixed KakuteF4 define for SERIAL2
6 years ago
Andrew Tridgell
06b272705e
HAL_ChibiOS: run RCIN thread at 1kHz
...
this gives fast enough response for SBUS parsing on a UART
6 years ago
Andrew Tridgell
6983186210
AP_HAL: added get_options() method on UARTs
6 years ago
Andrew Tridgell
c841b39ea2
HAL_ChibiOS: switch to AP::RC() for AP_RCProtocol
6 years ago
Andrew Tridgell
bf2cf7834d
HAL_ChibiOS: fixed a bug in parity/stop-bit setting on STM32F7 and H7
...
and add get_options() method
6 years ago
Andrew Tridgell
312018898f
HAL_Linux: use AP::RC()
6 years ago
Andrew Tridgell
672d09c965
AP_IOMCU: use AP::RC() for AP_RCProtocol
6 years ago
Andrew Tridgell
cbdb23afb5
AP_SerialManager: support SERIALn_PROTOCOL=23 for RC input
...
sets up an extra RC input port
6 years ago