I would like to make a plea to the GPS protocol developers of ArduPilot and ArduPilot Mega. Please make the blue light mean something.

Since the beginning of the AP project, the blue light has had exactly two states. On = GPS Lock, Off = No GPS Lock. Any other blinking is purely fictional....aside from telling you the AP hasn't crashed or has no power.

Would you please, please, please, please, please make the light toggle on and off every time the AP gets a valid message without GPS lock? We all know it can take 5 minutes sometimes to get lock and if we're sitting there either looking at nothing or looking at a blinking light assuming it's actually talking... we may be wasting our time for GPS lock that is never coming.

It's very simply code and would go a long way towards helping troubleshooting, development and even debugging the code. The blink rate will indicate the Hz / 2 if you're toggling. It will also show you when you're not calling the GPS update routine fast enough. It will give instant feedback to the user and the developer that the AP understands the language being spoken by the GPS (protocol selection and baud rate selection).

There are so many pros and no cons.

Who do I need to beg for this?

Here, I even wrote ALL of the require source code changes. This goes on about line #410 of arduimu.pde and you'll have to add int toggleMode=0; somewhere above.


Download text file: BlinkyNoFix.txt

E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • Developer
    We had this behavior earlier in the APM code, but dropped it in favor of something simpler to see. One problem was that there was an anticipated change to the colors of the LED's. Jordi was going to change the order to A, B, C = red, green, blue. I don't know if that ever happened, but we always considered "blue" to be a moving target.

    We could easily go back to that implementation. It was basically LED off means no messages being received from gps, blink on each received message when we don't have lock, and go on solid when we do.....
  • Got it, thanks Jason.
  • Developer
    Happy, If it's not on the issue tracker it's not going to be implemented. Please post it there instead of the blogs. This is one of a hundred+ bugs, issues, nice to haves, must haves, etc. If we cant track it we can't assign it to a developer, etc, etc.
  • Jani Hirvinen, check out the attached text file. It's working fine... I just need it added to the code repository.

    I would like it to stay solid on GPS lock. That is fine. My point is when you're waiting for it to lock, you currently get no indication that the GPS is even talking to the AP/APM or IMU.
  • Developer
    Hmm I think it's doable. I will post this to ArduPilot issue tickets. Best way to get feedback in properly is to use issue tracker.

    Issue tracker for ArduPilot Mega
    Issue tracker for ArduCopter

    And from those trackers it will go for proper people and won't be lost.

    We already had similar feature on earlier ArduCopter code and it will be included there again. Maybe we cannot have toggle on every GPS update but sure we can figure something else that would be more useful than just solid status.
This reply was deleted.