Randy Mackay
847c68bf72
AP_Notify: remove comment
8 years ago
Randy Mackay
21a95a3b0a
AP_Notify: Display screenpage variable made part of class
8 years ago
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
8 years ago
Randy Mackay
0690315814
AP_Notify: remove unused methods and member from Display
8 years ago
Randy Mackay
f0c6fd3038
AP_Notify: resolve compiler warning in Display
8 years ago
Randy Mackay
9eb6d18d8e
AP_Notify: add override to display methods
8 years ago
kozinalexey
ed4115c4e3
AP_Notify: Support for OLED display by Alexey Kozin
8 years ago
murata
34e491f168
AP_Notify: Add a NULL pointer check.
8 years ago
murata
8a32d09264
AP_Notify: Change arming time count check.
8 years ago
Lucas De Marchi
fd0e4164b9
AP_Notify: DiscoLED: keep includes sorted
8 years ago
Mathieu OTHACEHE
701d91f20c
AP_Notify: Disco: use new led sysfs backend or, if not available, legacy
...
pwm backend to drive leds.
In new Disco releases, the led sysfs api will replace the pwm sysfs
api to drive the tricolor led.
Keep pwm sysfs api for compatibility reasons.
8 years ago
Lucas De Marchi
5472bc4de1
Global: change Device::PeriodicCb signature
...
Remove bool return as it's never being used and not supported on PX4.
8 years ago
murata
13ad06e652
AP_Notify: Change on / off of LED to ternary operator.
8 years ago
Andrew Tridgell
dbd192971f
AP_Notify: fixed threading on toshibaled i2c
8 years ago
Andrew Tridgell
a9cb03ad74
AP_Notify: fixed threading in two notify backends
8 years ago
Mathieu OTHACEHE
60ba91aead
Disco: add buzzer support
...
Use ToneAlarm class to handle Disco buzzer.
8 years ago
Mathieu OTHACEHE
37237a5735
Disco_LED: Do not alloc PWM_Sysfs_Bebop objects
...
Using PWM_Sysfs_Base::init method, we don't need anymore to alloc memory
for PWM_Sysfs_Bebop objects.
8 years ago
Mathieu OTHACEHE
5e42800b5e
Disco: add LED support
...
Use RGBLed generic implementation to support Disco LED.
8 years ago
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.
8 years ago
Lucas De Marchi
ae53920e5b
build: don't build examples with old build system
...
We currently check examples are buildable with waf which doesn't need
the libraries to be specified in a make.inc file. Having the makefiles
there is misleading since people try to build and realize the build is
broken.
8 years ago
Andrew Tridgell
74182b6b3d
AP_Notify: auto-start oreoled driver if enabled
9 years ago
LukeMike
6748bdb1a4
AP_Notify/ExternalLED: added HIGH and LOW definition
9 years ago
LukeMike
858c22ae21
VRBRAIN /AP_Notify: enabled tone_alarm for all VirtualRobotix boards
9 years ago
Andrew Tridgell
7fe1c58575
AP_Notify: added handling of PLAY_TUNE message
9 years ago
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)
9 years ago
Luiz Ywata
1f0f36d603
AP_Notify: NavioLED_I2C: use I2CDevice interface
9 years ago
Lucas De Marchi
a34a5c1aa3
AP_Notify: Display_SSD1306_I2C: Fix after conversion to I2CDevice
...
- Initialize device on hw_init() method, allowing it not to be
present
- Add missing lock
- Add packed attribute to structs
- Move defines to source file
9 years ago
Luiz Ywata
f26692de92
AP_Notify: Display_SSD1306_I2C: use I2CDevice interface
9 years ago
Lucas De Marchi
213c38afaf
AP_Notify: ToshibaLED_I2C: add part number comment
...
It's easier to find the datasheet for this driver with the part number
rather than a generic "toshiba led".
9 years ago
Lucas De Marchi
5618008935
AP_Notify: ToshibaLED_I2C: Fix driver after I2CDevice conversion
...
- Add missing semaphore take on bus
- Initialize device on init function rather than constructor: the
constructor may run before I2CDeviceManager is initialized since our
AP_Notify objects are static so it can't be used.
9 years ago
Luiz Ywata
0b69e43464
AP_Notify: ToshibaLED_I2C: use I2CDevice interface
9 years ago
Andrew Tridgell
26ef71e130
AP_Notify: added tuning error tones
9 years ago
Vinicius Juvinski
ed2718a183
AP_Notify: Buzzer: change pin 11(P8_31) to pin 12(P8_32)
...
Avoid boot conflict during power on.
9 years ago
Ricardo de Almeida Gonzaga
e31a37e7a8
AP_Notify: Fix typos
9 years ago
Vinicius Juvinski
3bae8373e6
AP_Notify: play vehicle lost tone
9 years ago
Vinicius Juvinski
c1dd3cb921
AP_Notify: add support for for Buzzer on BBBMini
...
Use GPIO P8_31 for buzzer in BBBMini
9 years ago
Andrew Tridgell
3e75fc4f3d
AP_Notify: improved tones for AP_Tuning
9 years ago
Andrew Tridgell
9cd4f8a856
AP_Notify: added tones for tuning stages
9 years ago
Jonathan Challinger
a7f959e6f9
AP_Notify: add ToneAlarm_PX4_Solo
9 years ago
Jonathan Challinger
d2ca2d2e0e
AP_Notify: change OREOLED config to ifdef
9 years ago
Jonathan Challinger
dba55182af
AP_Notify: add flags.powering_off
9 years ago
pepevalbe
abb667fac3
AP_Notify: enable/disable buzzer in Linux based boards
9 years ago
pepevalbe
c00cbcf076
AP_Notify: enable/disable buzzer in PX4 based boards
9 years ago
pepevalbe
c9862b1502
AP_Notify: New parameter to enable/disable buzzer
9 years ago
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.
9 years ago
Paul Riseborough
1e8af3dea4
AP_Notify: Add tone sequence to alert user when throw detector is armed
...
Use a medium tempo ascending three tone sequence with sufficient gap to allow the throwing action to be completed without distraction.
9 years ago
Staroselskii Georgii
5b3627f83e
AP_Notify: made DiscreteRGBLed more generic
...
- made pins and polarity configurable
- got rid of all Navio specific code
9 years ago
Staroselskii Georgii
ef4e3aa333
AP_Notify: renamed Navio2Led to DiscreteRGBLed
9 years ago
Staroselskii Georgii
0bd7839b9f
AP_Notify: made Navio2LED a little easier to configure
...
- got rid of a lot of not needed defines
- allocated channels on init instead of accessing them every time
through the HAL reference
- simpliefied hw_set_rgb()
9 years ago
Staroselskii Georgii
2ea69571ef
AP_Notify: disabled boardled for Navio
9 years ago