Copter: External Led indication for GPS Lock and HDOP <= GPS_HDOP_Good
I would like to propose a change to the operation of the GPS external led (A6)
Instead of "will flash with no GPS lock, solid with GPS lock" as currently defined in the Wiki, I propose the following: Led Off for no lock, Flash for lock and Solid for lock and HDOP <= GPS_HDOP_GOOD.
What if there were an actual hardware problem in GPS and it failed to start/or failed mid-flight ?
@hpcre, This would trigger a GPS failsafe and the copter would try to LAND. the blue light would go off or start blinking. http://copter.ardupilot.com/wiki/battery-gps-and-gcs-failsafes/#GPS_Failsafe
@rmackay9,
Gps failsafe depends on your settings and your current flight mode. For example, I might be flying in stab, and thinking of switching to loiter our RTL, I'd have a look at the GPS led from the ground to make sure it's locked in before I switch. With your proposed change, with GPS led off, I wouldn't know if the gps is actually functional but no lock or has a complete failure. Would be confusing.
@hpcre
I am not sure that this would create confusion as led off indicates no lock or failure either way you cant use an auto mode when in thus state. A flashing led is telling you that the GPS is okay and has lock, but you should not use auto modes until the HDOP drops to acceptable levels which will be indicated by a solid led.
@rmackay9
I see that you have been working on the led code, what are your thoughts on this proposed change?
I'd like to reserve 'led off' for the case when no GPS is present. Using solid for the case where we have lock and a good hdop seems reasonable.
The only thing i'd say is a ground station is a better way to get good information from the flight controller.
@RogerHill
Ok, i really didn't pay attention that HDOP is important b4 i use any auto modes.
Could we possibly make the flashing in different frequencies, fast and slow, to indicate total failure or a temporary "no fix". along with making sure that the minimum nsat is satisfied as well..
@hpcre I believe that HDOP <= GPS_HDOP_GOOD is also indicating adequate nsats's for auto modes.
@rmackay9
Sounds good. So we would have:
Led off: No GPS or faulty GPS Led flash: GPS Installed and Good Led Solid: GPS Good, Locked and HDOP <= GPS_HDOP_GOOD
I look forward to you being able to find the time to implement some of these nice to have features!
Many thanks, Roger...
another suggestion:
- Led flash on failsafe.
- Solid Led light on ARM.
- Sequence of Led flashes for battery failsafe.
thanks jay
I fully agree that a new LED flashing sequence would be great to inform user of a more detail status of the GPS. There is nothing worse than moving to another location and waiting for the GPS HDOP to get below 2 with no indication of when this happens. I just stand there and continually try to ARM not knowing the real GPS status. If suggested below was implemented, then the user would know when it was possible to ARM.
Blue Led off or flashing very slow: No GPS or faulty GPS Blue Led fast flash: GPS Installed and Good Blue Led Solid: GPS Good, Locked and HDOP <= GPS_HDOP_GOOD
It would be a great if this sort of change could be implemented soon. Thanks
Done