Peter Barker
db590f65f1
AP_Notify: tidy includes
3 years ago
Andrew Tridgell
12f348398a
Revert "AP_Notify: fixed DroneCAN LEDs on AP_Periph"
...
This reverts commit 1858969697
.
This was an incorrect change that actually broke LEDs on CAN GPS modules
3 years ago
Henry Wurzburg
a8ff5ca2b9
AP_Notify: add note to desc's on how to determine GPIO pin numbers
3 years ago
Andrew Tridgell
1858969697
AP_Notify: fixed DroneCAN LEDs on AP_Periph
...
override needs to be 0 for LEDs to work on peripherals from DroneCAN
notification packets
3 years ago
Andrew Tridgell
8723ec3b2a
AP_Notify: fixed builds
...
broken by combination of alarm changes and header changes
3 years ago
Andy Piper
9cec88818e
AP_Notify: add support for alternate alarm function
...
enable alarm based on pwm
3 years ago
Hwurzburg
7ec7a9c444
AP_Notify: change UAVCAN to DroneCAN in param metadata
3 years ago
Andrew Tridgell
bee44b03b0
AP_Notify: make the buzzer pin configurable on all boards
...
this allows any board to setup a buzzer pin on any available
GPIO. Previously the pin if set in hwdef.dat was not configurable
3 years ago
Peter Barker
65b335ae0c
AP_Notify: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
3 years ago
Peter Barker
4eaba21e15
AP_Notify: ensure ENABLE_SCRIPTING is always defined
3 years ago
Mohammad Hefny
61a7387dd9
AP_Notify: link to notify module
3 years ago
Willian Galvani
b9452c83be
AP_Notify: update to use capacity_remaining_pct() as a bool
3 years ago
bugobliterator
a3c301f689
AP_Notify: change class name from SITL::SITL to SITL::SIM
4 years ago
Andrew Tridgell
31a31963c9
AP_Notify: disable DShot buzzer by default
4 years ago
Andy Piper
a6eaa77ff8
AP_Notify: re-enable display on 1Mb boards
4 years ago
Siddharth Purohit
e22ca19640
AP_Notify: add support for ProfiLED over SPI
4 years ago
Siddharth Purohit
895039cdce
AP_Notify: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
4 years ago
Andy Piper
144bbd6acd
AP_Notify: allow display and oreo leds to be disabled
4 years ago
Andrew Tridgell
14dca255a4
AP_Notify: fixed probe on all internal NCP5623 LEDs
4 years ago
bugobliterator
b7de9feb56
AP_Notify: ensure ToneAlarm is not disabled when UAVCAN is available
4 years ago
Andrew Tridgell
5a7e870cfb
AP_Notify: scale NCP5623 for for data range
...
we were overflowing the RGB max of 0x1f, leading to LED being off at
high power
4 years ago
Andy Piper
e710799b12
AP_Notify: add support for dshot command beeps
...
add support for ESC LEDs triggered by dshot commands
don't send DShot LED commands when armed
make enablement of dshot buzzer and LEDs configurable
4 years ago
Peter Barker
4a9ee19599
AP_Notify: correct parameter documentation
4 years ago
Michael du Breuil
bde695d11f
AP_Notify: UAVCAN_RGB_LED: don't init if no UAVCAN backends
...
This allows us to consider enabling UAVCAN_RGB_LED as a more general
default, as it won't consume one of our limited backend slots if UAVCAN
is not enabled.
4 years ago
Jacob Walser
d91fd8b006
AP_Notify: add driver for LED on Blue Robotics Navigator board
4 years ago
Michael du Breuil
c0017abb63
AP_Notify: Remove indirection on RGBLed of init()->hw_init()
...
Saves a bit of flash, and just makes the code a bit more obvious
4 years ago
Tatsuya Yamaguchi
e134d12e32
AP_Notify: add EKF failsafe notify tones
4 years ago
Hwurzburg
e1bab7374b
AP_Notify: Add calibration indications for EKF temp and compass cal to RGB LED
4 years ago
murata
dee040b14a
AP_Notify: Change division to multiplication
4 years ago
Andy Piper
3371c272fb
AP_Notify: make LED_NTF_LEN changes require a reboot
...
don't dynamically update LED length
4 years ago
Tatsuya Yamaguchi
83417c1df7
AP_Notify: modify NTF_BUZZ_VOLUME description
4 years ago
Patrick José Pereira
3df3d002ff
AP_Notify: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Andrew Tridgell
73e53369e8
AP_Notify: added notify events for temperature calibration
4 years ago
Andrew Tridgell
8728148db6
AP_Notify: don't do startup tone on AP_Periph devices
4 years ago
Tom Pittenger
7dde981de6
AP_Notify: add public accessor and param defaults
4 years ago
Iampete1
0f2c06d798
AP_Notify: RGBLed: rename OFF define
4 years ago
Iampete1
2e4b61d96e
AP_Notify: add scripting LED type
4 years ago
Iampete1
cf599952f5
AP_Notify: RGB LED remove unused varables
4 years ago
Peter Barker
b024ff8ea4
AP_Notify: remove unused variables
4 years ago
Siddharth Purohit
81c7099848
AP_Notify: move to using CANManager library
5 years ago
Alexey Bulatov
7baafcd63d
AP_Notify: set led_off instead 0
...
Led off value can be differ from 0 if indication is
inverted.
5 years ago
Peter Barker
46a014b399
AP_Notify: remove recursive call to play in next_action
...
Infinite recursion is bad.
See https://github.com/ArduPilot/ardupilot/issues/13868
5 years ago
Peter Hall
e1c2977adc
AP_Notify: support ProfiLEDs
5 years ago
Peter Barker
d1f74faed7
AP_Notify: remove bad HIGH/LOW defines
...
These are just terrible defines to have in a header which can be
included into random files. These symbols can confuse construction of
enumerations, for example.
5 years ago
Peter Barker
c917cd4dbb
AP_HAL_Linux: make a static-const hal references references to external symbol
5 years ago
Andrew Tridgell
fbbba887e5
AP_Notify: implement SIM_LED_LAYOUT
...
added support for luminousbee layout
5 years ago
Andrew Tridgell
dbba89a024
AP_Notify: allow up to 64 LEDs on a pin
5 years ago
Henry Wurzburg
bf1b48b940
AP_Notify: add mah consumed to BAT line in OLED displays
5 years ago
Michael Dornisch
455bd86f1a
AP_Notify: Created NTF_NEO_LEN to change length of Neopixel strings
5 years ago
Matt Lawrence
5d3ed74a37
AP_Notify: Remove pixhawk from Oreo LED comments
...
Removes specific reference to pixhawk from comments since not all flight controllers are pixhawks.
5 years ago