Randy Mackay
fd365de5f8
AP_Notify: Display structures PACKED
2017-01-23 15:07:20 -08:00
Randy Mackay
843210cac2
AP_Notify: Display bus passed into contructor
2017-01-23 15:07:20 -08:00
Randy Mackay
682fc759f1
AP_Notify: minor formatting and comment changes
...
No functional change
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
07c08c09a3
AP_Notify: small change to Display health logic
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
21a95a3b0a
AP_Notify: Display screenpage variable made part of class
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
Randy Mackay
0690315814
AP_Notify: remove unused methods and member from Display
2017-01-23 15:07:20 -08:00
Randy Mackay
f0c6fd3038
AP_Notify: resolve compiler warning in Display
2017-01-23 15:07:20 -08:00
Randy Mackay
9eb6d18d8e
AP_Notify: add override to display methods
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
murata
34e491f168
AP_Notify: Add a NULL pointer check.
2017-01-22 23:05:53 +01:00
murata
8a32d09264
AP_Notify: Change arming time count check.
2017-01-19 17:42:46 +00:00
Lucas De Marchi
fd0e4164b9
AP_Notify: DiscoLED: keep includes sorted
2017-01-19 08:59:00 -08:00
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.
2017-01-19 08:24:48 -08:00
Lucas De Marchi
5472bc4de1
Global: change Device::PeriodicCb signature
...
Remove bool return as it's never being used and not supported on PX4.
2017-01-14 10:03:54 +11:00
murata
13ad06e652
AP_Notify: Change on / off of LED to ternary operator.
2016-12-30 15:02:16 -08:00
Andrew Tridgell
dbd192971f
AP_Notify: fixed threading on toshibaled i2c
2016-11-09 17:08:02 +11:00
Andrew Tridgell
a9cb03ad74
AP_Notify: fixed threading in two notify backends
2016-11-09 17:08:02 +11: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
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.
2016-11-07 14:59:31 -02: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
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.
2016-10-11 13:03:08 +11:00
Andrew Tridgell
74182b6b3d
AP_Notify: auto-start oreoled driver if enabled
2016-08-10 19:54:00 +10:00
LukeMike
6748bdb1a4
AP_Notify/ExternalLED: added HIGH and LOW definition
2016-08-07 20:31:51 +10: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
Luiz Ywata
1f0f36d603
AP_Notify: NavioLED_I2C: use I2CDevice interface
2016-07-14 17:32:33 -03:00
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
2016-07-14 17:32:33 -03:00
Luiz Ywata
f26692de92
AP_Notify: Display_SSD1306_I2C: use I2CDevice interface
2016-07-14 17:32:33 -03:00
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".
2016-07-14 17:32:33 -03:00
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.
2016-07-14 17:32:33 -03:00
Luiz Ywata
0b69e43464
AP_Notify: ToshibaLED_I2C: use I2CDevice interface
2016-07-14 17:32:32 -03:00
Andrew Tridgell
26ef71e130
AP_Notify: added tuning error tones
2016-05-28 17:33:30 +10:00
Vinicius Juvinski
ed2718a183
AP_Notify: Buzzer: change pin 11(P8_31) to pin 12(P8_32)
...
Avoid boot conflict during power on.
2016-05-19 17:22:27 -03:00
Ricardo de Almeida Gonzaga
e31a37e7a8
AP_Notify: Fix typos
2016-05-13 19:20:05 -03:00
Vinicius Juvinski
3bae8373e6
AP_Notify: play vehicle lost tone
2016-05-11 22:49:52 -03: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
Andrew Tridgell
3e75fc4f3d
AP_Notify: improved tones for AP_Tuning
2016-05-09 17:24:38 +10:00
Andrew Tridgell
9cd4f8a856
AP_Notify: added tones for tuning stages
2016-05-07 18:34:13 +10: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
Jonathan Challinger
dba55182af
AP_Notify: add flags.powering_off
2016-04-21 10:04:37 +10:00
pepevalbe
abb667fac3
AP_Notify: enable/disable buzzer in Linux based boards
2016-04-14 08:59:11 +09:00
pepevalbe
c00cbcf076
AP_Notify: enable/disable buzzer in PX4 based boards
2016-04-14 08:59:08 +09: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