ardupilot/libraries/AP_Notify
Peter Barker 2425023331 AP_Notify: flash green lights based off location not GPS
Your Copter in stabilize mode can flash rapid-green indicating a good DGPS lock or better, and yet your vehicle still doesn't have a good idea of where it is.

That means that your vehicle may end up RTL'ing onto a point somewhere along your flight path, when you were given an all-green indication by teh vehicle before you armed in stabilize.

Past this PR, we require the same GPS as before, but in addition we must have been happy enough with our location to set the navigation origin, *and* currently be able to get a location.

A user will receive slow-flashing blue lights if they can't currently get a location, or the navigation origin isn't set, even if they've got a "good" fix.

We also require a good location to get a solid green light - you will get a solid blue light if you can't get a location or don't have a navigation origin, even if you have a good GPS lock
2024-06-26 18:39:43 +10:00
..
examples
AP_BoardLED2.cpp
AP_BoardLED2.h AP_Notify: tidy includes 2022-05-03 09:14:58 +10:00
AP_BoardLED.cpp AP_Notify: Catch bad board LED combos 2018-09-19 22:58:46 +01:00
AP_BoardLED.h AP_Notify: tidy includes 2022-05-03 09:14:58 +10:00
AP_Notify_config.h AP_Notify: remove VRBrain board sub-types 2024-03-26 11:06:13 +11:00
AP_Notify.cpp AP_Notify: rename Notify buzzertype enumeration 2024-06-20 14:47:20 +10:00
AP_Notify.h AP_Notify: rename Notify buzzertype enumeration 2024-06-20 14:47:20 +10:00
Buzzer.cpp AP_Notify: fix incorrect buzzer pin type to stop always instantiating 2023-04-25 10:29:10 +10:00
Buzzer.h AP_Notify: fix incorrect buzzer pin type to stop always instantiating 2023-04-25 10:29:10 +10:00
DiscoLED.cpp
DiscoLED.h AP_Notify: tidy includes 2022-05-03 09:14:58 +10:00
DiscreteRGBLed.cpp AP_Notify: tidy use of DiscreteRGB 2023-09-16 08:47:37 +09:00
DiscreteRGBLed.h AP_Notify: tidy use of DiscreteRGB 2023-09-16 08:47:37 +09:00
Display_Backend.h
Display_SH1106_I2C.cpp AP_Notify: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Display_SH1106_I2C.h
Display_SITL.cpp AP_Notify: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Display_SITL.h
Display_SSD1306_I2C.cpp AP_Notify: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Display_SSD1306_I2C.h
Display.cpp AP_Notify: Add send_text for scripting use 2024-02-07 23:52:30 +00:00
Display.h AP_Notify: Add send_text for scripting use 2024-02-07 23:52:30 +00:00
DroneCAN_RGB_LED.cpp AP_Notify: fixed DroneCAN LEDs 2023-06-24 20:48:08 +10:00
DroneCAN_RGB_LED.h AP_Notify: fixed DroneCAN LEDs 2023-06-24 20:48:08 +10:00
DShotLED.cpp AP_Notify: ensure dshot LEDs work with EDT ESCs 2023-12-18 19:02:52 +11:00
DShotLED.h AP_Notify: add support for dshot command beeps 2021-05-05 17:41:24 +10:00
ExternalLED.cpp AP_Notify: remove VRBrain board sub-types 2024-03-26 11:06:13 +11:00
ExternalLED.h AP_Notify: remove VRBrain board sub-types 2024-03-26 11:06:13 +11:00
IS31FL3195.cpp AP_Notify: add driver for IS31FL3195 LED 2023-06-15 12:14:26 +10:00
IS31FL3195.h AP_Notify: add driver for IS31FL3195 LED 2023-06-15 12:14:26 +10:00
Led_Sysfs.cpp AP_Notify: Remove indirection on RGBLed of init()->hw_init() 2021-03-30 11:18:45 +11:00
Led_Sysfs.h AP_Notify: tidy includes 2022-05-03 09:14:58 +10:00
LP5562.cpp AP_Notify: add driver for LP5562 LED 2023-05-11 11:08:50 +10:00
LP5562.h AP_Notify: add driver for LP5562 LED 2023-05-11 11:08:50 +10:00
MMLPlayer.cpp AP_Notify: rename Notify buzzertype enumeration 2024-06-20 14:47:20 +10:00
MMLPlayer.h
NavigatorLED.cpp AP_Notify: add driver for LED on Blue Robotics Navigator board 2021-04-06 09:11:53 +10:00
NavigatorLED.h
NCP5623.cpp
NCP5623.h AP_Notify: Remove indirection on RGBLed of init()->hw_init() 2021-03-30 11:18:45 +11:00
NeoPixel.cpp AP_Notify: add support for NeoPixelRGB via set_num_neopixel_rgb() 2023-10-04 18:06:17 +11:00
NeoPixel.h AP_Notify: add defines for some AP_Notify LED libraries 2023-03-07 10:30:13 +11:00
NotifyDevice.h AP_Notify: Add send_text for scripting use 2024-02-07 23:52:30 +00:00
OreoLED_I2C.cpp AP_Notify: rename HAL_OREO_LED_ENABLED to AP_NOTIFY_OREOLED_ENABLED 2022-11-22 10:23:35 +11:00
OreoLED_I2C.h AP_Notify: remove unused enumeration 2023-09-13 17:34:30 +10:00
PCA9685LED_I2C.cpp AP_Notify: allow pca9685 to be compiled out of code 2022-11-09 18:45:25 +11:00
PCA9685LED_I2C.h AP_Notify: allow pca9685 to be compiled out of code 2022-11-09 18:45:25 +11:00
PixRacerLED.cpp AP_Notify: tidy includes 2022-05-03 09:14:58 +10:00
PixRacerLED.h AP_Notify: tidy includes 2022-05-03 09:14:58 +10:00
ProfiLED.cpp AP_Notify: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
ProfiLED.h AP_Notify: add defines for some AP_Notify LED libraries 2023-03-07 10:30:13 +11:00
RCOutputRGBLed.cpp
RCOutputRGBLed.h
RGBLed.cpp AP_Notify: flash green lights based off location not GPS 2024-06-26 18:39:43 +10:00
RGBLed.h AP_Notify: flash green lights based off location not GPS 2024-06-26 18:39:43 +10:00
ScriptingLED.cpp
ScriptingLED.h all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
SerialLED.cpp AP_Notify: add defines for some AP_Notify LED libraries 2023-03-07 10:30:13 +11:00
SerialLED.h AP_Notify: add defines for some AP_Notify LED libraries 2023-03-07 10:30:13 +11:00
SITL_SFML_LED.cpp AP_Notify: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
SITL_SFML_LED.h AP_Notify: use simulated toshiba LED for display rather than directly 2023-02-28 10:24:43 +11:00
ToneAlarm.cpp AP_Notify: replace HAVE_FILESYSTEM_SUPPORT with backend defines 2023-05-17 09:40:39 +10:00
ToneAlarm.h AP_Notify: process mavlink play_tune in frontend 2022-10-26 21:22:39 +11:00
ToshibaLED_I2C.cpp AP_Notify: add and use AP_NOTIFY_TOSHIBALED_ENABLED 2022-11-15 11:03:51 +11:00
ToshibaLED_I2C.h AP_Notify: add and use AP_NOTIFY_TOSHIBALED_ENABLED 2022-11-15 11:03:51 +11:00
VRBoard_LED.cpp AP_Notify: remove VRBrain board sub-types 2024-03-26 11:06:13 +11:00
VRBoard_LED.h AP_Notify: remove VRBrain board sub-types 2024-03-26 11:06:13 +11:00