Commit Graph

190 Commits

Author SHA1 Message Date
Mohammad Hefny
61a7387dd9 AP_Notify: link to notify module 2021-09-10 08:17:37 +10:00
Andrew Tridgell
31a31963c9 AP_Notify: disable DShot buzzer by default 2021-07-05 07:36:28 +10:00
Siddharth Purohit
e22ca19640 AP_Notify: add support for ProfiLED over SPI 2021-07-02 08:50:16 +10:00
Siddharth Purohit
895039cdce AP_Notify: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-06-24 09:02:42 +10:00
Andy Piper
144bbd6acd AP_Notify: allow display and oreo leds to be disabled 2021-06-16 20:25:58 +10:00
Andrew Tridgell
14dca255a4 AP_Notify: fixed probe on all internal NCP5623 LEDs 2021-06-01 09:19:51 +10:00
bugobliterator
b7de9feb56 AP_Notify: ensure ToneAlarm is not disabled when UAVCAN is available 2021-05-31 07:34:02 +10:00
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
2021-05-05 17:41:24 +10:00
Peter Barker
4a9ee19599 AP_Notify: correct parameter documentation 2021-04-30 13:50:47 +10:00
Jacob Walser
d91fd8b006 AP_Notify: add driver for LED on Blue Robotics Navigator board 2021-04-06 09:11:53 +10: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
Tatsuya Yamaguchi
83417c1df7 AP_Notify: modify NTF_BUZZ_VOLUME description 2021-02-04 17:27:00 +09:00
Tom Pittenger
7dde981de6 AP_Notify: add public accessor and param defaults 2021-01-03 16:24:12 -08:00
Iampete1
2e4b61d96e AP_Notify: add scripting LED type 2020-11-02 17:40:21 -07:00
Siddharth Purohit
81c7099848 AP_Notify: move to using CANManager library 2020-08-19 17:31:09 +10:00
Peter Hall
e1c2977adc AP_Notify: support ProfiLEDs 2020-03-10 10:37:26 +11:00
Michael Dornisch
455bd86f1a AP_Notify: Created NTF_NEO_LEN to change length of Neopixel strings 2020-02-04 11:48:52 +11:00
Patrick José Pereira
d806081d40 AP_Notify: Add navigator board
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-01-16 08:01:54 +11:00
Peter Hall
a45041ce5d AP_Notify: add handle rgb 2019-12-12 21:35:23 -07:00
Peter Barker
d6f10a12eb AP_Notify: add a simulated buzzer for SITL 2019-10-16 16:00:35 +11:00
Andrew Tridgell
82a98ef95d AP_Notify: added NTZ_BUZZ_VOLUME parameter
it is fairly non-linear, but does work
2019-09-10 16:22:33 +10:00
Tom Pittenger
aa602b5e1b AP_Notify: add NeoPixel driver 2019-09-10 13:03:28 +10:00
Michael du Breuil
8adc6ba3ad AP_Notify: Add an alternate LED scheme 2019-09-03 11:50:52 +10:00
Pierre Kancir
ad4563df2d AP_Notify: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Peter Barker
b123abbe90 AP_Notify: add SITL Notify display 2019-07-08 10:56:54 +10:00
Peter Barker
2fa1f041e3 AP_Notify: add SITL RGBLed 2019-05-21 09:21:56 +10:00
Michael du Breuil
200870e7a0 AP_Notify: Add singleton, expose string message player 2019-04-11 23:03:20 -07:00
Peter Barker
22bf7817e1 AP_Notify: include AP_ToneAlarm for SITL 2019-03-23 07:10:50 +11:00
Peter Barker
2006ecf109 AP_Notify: add OBC colour scheme 2019-03-05 13:44:16 +11:00
Peter Barker
f8ac5a5419 AP_Notify: add parameter for logic level buzzer sounds at 2019-03-05 13:27:01 +11:00
Peter Barker
a97c9bdd5b AP_Notify: enable buzzer under ChibiOS regardless of HAL_BUZZER_PIN
We have a parameter which can supply a pin number
2019-03-05 13:27:01 +11:00
Tom Pittenger
4ece7fd4f0 AP_Notify: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
LukeMike
e15d2c0f89 HAL_ChibiOS: added ChibiOS configuration of VR Brain 5.4 2019-01-24 18:41:38 +11:00
LukeMike
33f7f5b7b6 HAL_ChibiOS: added ChibiOS configuration for VR Core 1.0 2019-01-24 18:41:38 +11:00
LukeMike
f615ab9a0a HAL_ChibiOS: added ChibiOS configuration for VR Brain 5.1 2019-01-24 18:41:38 +11:00
Andrew Tridgell
696d7a0218 AP_Notify: removed F4Light 2019-01-21 21:57:21 +11:00
Peter Barker
002070ae9e AP_Notify: remove HAL-VRBRAIN-specific code 2019-01-20 08:52:51 +11:00
LukeMike
0bbcbc8624 AP_Notify: added ExternalLED and VRBoard_LED for ChibiOS VR Brain boards 2019-01-18 11:49:19 +11:00
Peter Barker
1dde70007a AC_Notify: remove use of never-set AP_HAL_PX4 and AP_HAL_VRBRAIN 2019-01-18 09:53:44 +11:00
Peter Barker
91a082c29f AP_Notify: remove px4 oreloed driver 2019-01-17 12:30:56 +11:00
Andrew Tridgell
1755f5b6c7 AP_Notify: fixed NTF_BUZZ_ENABLE default
it shouldn't be based on the polarity of the buzzer
2019-01-05 12:08:29 +09:00
Andrew Tridgell
78dc575258 AP_Notify: added OreoLED_I2C driver
this is for Solo on ChibiOS, but is usable with any board
2018-11-26 13:29:40 +11:00
Andrew Tridgell
36aa666786 AP_Notify: fixed px4-v4 to use pixracer LED driver 2018-10-09 20:25:49 +09:00
Andrew Tridgell
c9a830bf3f AP_Notify: support both NCP5623 addresses 2018-08-08 07:11:50 +10:00
caijie
a98d892dec AP_Notify: Add RGB LED driver for NCP5623 2018-08-08 07:11:50 +10:00
Michael du Breuil
a5e974c227 AP_Notify: Reduce flash consumption, fix some drivers, always allow
buzzer
2018-08-01 09:22:09 +10:00
Jonathan Challinger
0dd151c0f3 AP_Notify: changes needed for PX4 tonealarm 2018-07-30 14:02:12 +10:00
Jonathan Challinger
b31ddedfef AP_Notify: merge ToneAlarm files, use new AP_HAL tonealarm interface 2018-07-30 14:02:12 +10:00
Michael du Breuil
c5a69d8ec2 AP_Notify: Fix bad loop count on notify LED's 2018-07-23 10:11:29 +09:00
Michael du Breuil
961e16dca9 AP_Notify: Use a bitfield to load LED drivers 2018-07-20 14:53:23 +10:00
Michael du Breuil
72439a053b AP_Notify: Handle LED pins being undefined, select appropriate drivers 2018-06-27 15:25:44 +10:00
Michael du Breuil
565a84efcb AP_Notify: Remove unreachable ChibiOS defines, enable BoardLed 2018-06-27 15:25:44 +10:00
Michael du Breuil
abda44e886 AP_Notify: Move driver deletion to backend creation macro
Creates a dense array of drivers we want to update, reduces runtime
overhead, allows us to try detecting more backends then are present
2018-06-27 15:25:44 +10:00
Michael du Breuil
8e8e9a5a58 AP_Notify: Delete drivers that are not present 2018-06-27 15:25:44 +10:00
Michael du Breuil
d0cd37fabb AP_Notify: Reduce flash consumption, remove unneeded middleware classes 2018-06-27 15:25:44 +10:00
Lucas De Marchi
49d08ba72a Global: remove minlure
Minlure is a port of ArduPilot to Minnow Board connected to daughter
board. Very few of those were produced and nobody is flying with it.

It served its purpose and all the the improvements to ArduPilot remain
regardless of it not being supported anymore. Now it's just adding
maintenance work with no clear benefit, so pull the plug.
2018-06-26 07:32:08 -07:00
mirkix
178b5e03c0 AP_Notify: move BUZZER_PIN into AP_HAL 2018-05-10 17:48:25 +01:00
Andrew Tridgell
6e0b5c204a AP_Notify: support buzzer backend on ChibiOS 2018-04-24 08:03:46 +10:00
Peter Barker
ca907a5078 AP_Notify: correct parameter documentation
This is causing parameter parsing to fail at the moment
2018-03-26 10:52:48 +09:00
night-ghost
64c2e691f8 full system status on 2 LEDs + buzzer pin as parameter 2018-03-23 09:36:31 +11:00
Nikita Tomilov
6ce6afa4be AP_Notify: enabling UAVCAN_RGB_LED for Linux Edge 2018-03-03 10:40:26 +12:00
night-ghost
ab413b4605 AP_Notify: added personal support for AP_HAL_F4light 2018-02-22 08:10:32 +11:00
Andrew Tridgell
0fdef97c76 AP_Notify: allow ChibiOS to use PixracerLED driver 2018-02-14 18:27:00 +11:00
Mark Whitehorn
d200f30cd7 AP_Notify: add ToneAlarm backend for ChibiOS 2018-02-11 14:55:23 +11:00
Andrew Tridgell
65b762ddfe AP_Notify: support OLED display on ChibiOS 2018-02-07 20:33:45 +11:00
mirkix
0926802013 AP_Notify: add new board PocketPilot 2017-12-27 16:01:55 +00:00
HeBin
1918b07705 AP_Notify: add Robsense PhenixPro Devkit Board support 2017-11-22 10:10:21 -08:00
Georgii Staroselskii
a18cf45798 AP_Notify: enable AP_BoardLED for Navio 2017-11-17 09:20:55 -08:00
Georgii Staroselskii
4e02637f23 AP_Notify: add Led_Sysfs and use in Navio2
Navio2 exports its leds via /sys/class/leds interface. We reuse it in
order not to conflict with GPIO_Sysfs. Otherwise we'd get a Device Busy
error in GPIO_Sysfs::_export_pin().
2017-11-17 09:20:53 -08:00
Georgii Staroselskii
8fcd30c611 AP_HAL_Linux: use GPIO_Sysfs for Navio 2 2017-11-17 09:18:35 -08:00
Georgii Staroselskii
8a28556ae1 AP_Notify: use RCOutputRGBLedInverted for Edge 2017-10-20 13:03:08 -07:00
Andrew Tridgell
f00f650f4f AP_Notify: fixed internal toshiba LED
we need to probe for both internal and external on all boards, not just
FMUv3
2017-10-07 12:34:47 +11:00
Lucas De Marchi
15bfa940a7 AP_Notify: remove raspilot 2017-09-12 15:06:19 -07:00
Andrew Tridgell
697131e94a AP_Notify: support dual I2c toshiba LEDs
This restructures AP_Notify to allow for multiple backends of the same type.
2017-09-11 10:39:39 -07:00
Peter Barker
eb1f22fc67 AP_Notify: add singleton 2017-07-09 17:17:29 -04:00
Matt
34d305083d AP_Notify: Complete rework of notify device selection
Jaime did the hard work on this one.  He reworked notify device
selection to take place on init rather than on compile like before.  The
notify decivces are mostly set on compile using preprocessor directives
based on board type.  I created NTF_OREO_THEME.  This will allow the
user to enable/disable the OreoLED driver. And it also allows you to
select between aircraft and rover lighting themes. This allows the Solo
to use the OreoLEDs, and doesn't waste the memory on vehicles not
equipped with Oreo LEDs. The OreoLED driver is restricted to Pixhawk 2
FCs by proprocessor directive due to memory constraints. So it will
never work by accident on another board.

There is also a new notify flag for GPS Fusion.  This flag is true when
the EKF is happy with the GPS, actively using it for position
information.
2017-06-06 12:58:28 +09:00
mirkix
db7cf388f2 AP_Notify: enable display for BeagleBone Blue 2017-05-04 16:25:06 -07:00
Vinicius Juvinski
c3d5aaa21c AP_Notify: add AP_BoardLED support for BBBMini 2017-04-19 01:33:50 -07:00
Peter Barker
d170396acf Notify: Display: blank text line after 10s 2017-02-27 09:02:09 +09:00
mirkix
2f8452b8a6 AP_Notify: Add BeagleBone Blue 2017-01-26 23:15:52 -08:00
Randy Mackay
d8ae56f455 AP_Notify: pixhawk and vrbrain use in-tree ToshibaLED 2017-01-27 15:24:09 +09:00
iseries1
4467a2cd16 AP_Notify: enable PixRacer onboard LED
Enable PixRacer onboard LED to show status of flight controller
2017-01-27 11:01:17 +09:00
Randy Mackay
e085ae1ec8 AP_Notify: add set_flight_mode_str method
This allows the vehicle code to set a short string for the flight mode
2017-01-23 15:07:20 -08:00
Randy Mackay
d12e0d6a82 AP_Notify: Display send_text made not static 2017-01-23 15:07:20 -08:00
Randy Mackay
847c68bf72 AP_Notify: remove comment 2017-01-23 15:07:20 -08:00
Randy Mackay
c5ba54c3fe AP_Notify: adjust Display class structure
This makes the display architecture closer to our other frontend/backend splits
Added check that display is initialised successfully in hw_init
Renamed _update_timer to just _timer to make more consistent with other drivers
2017-01-23 15:07:20 -08:00
kozinalexey
ed4115c4e3 AP_Notify: Support for OLED display by Alexey Kozin 2017-01-23 15:07:20 -08:00
Mathieu OTHACEHE
60ba91aead Disco: add buzzer support
Use ToneAlarm class to handle Disco buzzer.
2016-11-07 18:02:21 -03:00
Mathieu OTHACEHE
5e42800b5e Disco: add LED support
Use RGBLed generic implementation to support Disco LED.
2016-10-26 11:56:11 -03:00
Mathieu OTHACEHE
152edf7189 Global: remove mode line from headers
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
LukeMike
858c22ae21 VRBRAIN /AP_Notify: enabled tone_alarm for all VirtualRobotix boards 2016-08-07 20:31:51 +10:00
Andrew Tridgell
7fe1c58575 AP_Notify: added handling of PLAY_TUNE message 2016-07-22 15:00:17 +10:00
Andrew Tridgell
c471b635b3 AP_Notify: added NTF_LED_OVERRIDE parameter
when this is set the board RGB LED will be controlled by MAVLink
instead of internally. This is useful for cases where the LED patterns
and colours needed are specified by an external authority (such as the
OBC organisers)
2016-07-19 13:37:13 +10:00
Vinicius Juvinski
c1dd3cb921 AP_Notify: add support for for Buzzer on BBBMini
Use GPIO P8_31 for buzzer in BBBMini
2016-05-11 22:49:52 -03:00
Jonathan Challinger
a7f959e6f9 AP_Notify: add ToneAlarm_PX4_Solo 2016-04-21 10:05:36 +10:00
Jonathan Challinger
d2ca2d2e0e AP_Notify: change OREOLED config to ifdef 2016-04-21 10:04:37 +10:00
pepevalbe
c9862b1502 AP_Notify: New parameter to enable/disable buzzer 2016-04-14 08:59:06 +09:00
Lucas De Marchi
4467929692 AP_Notify: add class to turn LED off
On early versions of minlure an RGB LED was wrongly placed next to the
barometer, causing trouble on it.

Additionally depending on the LED intensity it may be a pain to leave it
turned on for boards supposed to be used for bench testing. This allows
to disable the LED by software so we don't have to remove it.
2016-03-09 20:46:06 -03:00
Staroselskii Georgii
5b3627f83e AP_Notify: made DiscreteRGBLed more generic
- made pins and polarity configurable
- got rid of all Navio specific code
2016-02-27 03:06:50 -03:00
Staroselskii Georgii
ef4e3aa333 AP_Notify: renamed Navio2Led to DiscreteRGBLed 2016-02-27 03:06:50 -03:00