Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rover: LED becomes green before EKF origin has been set #7374

Closed
rmackay9 opened this issue Dec 7, 2017 · 8 comments
Closed

Rover: LED becomes green before EKF origin has been set #7374

rmackay9 opened this issue Dec 7, 2017 · 8 comments

Comments

@rmackay9
Copy link
Contributor

rmackay9 commented Dec 7, 2017

The RGB LED should only turn green once the GPS is good and the EKF origin has been set. So really the LED is telling the user whether we have a good position estimate and thus whether they can use the autonomous modes.

Of course we risk users complaining that GPS lock takes longer than it use to but it's still more useful because a GPS lock alone is not enough.

@rmackay9 rmackay9 added the Rover label Dec 7, 2017
@WickedShell
Copy link
Contributor

I'm not a fan of the implication that the LED indicators are dependent upon platform/use case versus a standard meaning. If this is really important to flag to the user could this be an alternate flash mode (say blue/green alternating?)

@rmackay9
Copy link
Contributor Author

rmackay9 commented Dec 7, 2017

@WickedShell, I agree we should be consistent across the vehicles. For Copter and Rover I think we'd be happy with the LEDs only going green after the EKF's position estimate is good... but if that's not acceptable for Plane then a new pattern sounds fine to me.

@lvale lvale added this to the AC 3.6.0 milestone Feb 11, 2018
@kd0aij
Copy link
Contributor

kd0aij commented Dec 21, 2021

What's the status of this issue? I have a use case (plane with no GCS and ARMING_REQUIRE=0) in which it is important to know whether the EKF is ready, and currently that is not possible.
My current workaround is a custom build of a branch which delays the solid green state until the EKF is using GPS (and also adds a new tone alarm to indicate when the EKF starts using GPS while already armed): #19553

@rmackay9
Copy link
Contributor Author

I'm surprised to find that this is still an issue. I just tested it on my CubeOrange and while the vehicle is in Manual mode the LEDs turn green even before the EKF origin is set.

Since this issue was raised we've improved Rover's arming checks so vehicles can only be armed once the position estimate is ready if the mode requires a position estimate.. so it isn't a safety issue, just a display issue (for Rover).

@kd0aij
Copy link
Contributor

kd0aij commented Dec 22, 2021

Same for plane, if you require arming. if you don't, as with my black-box loggers (and arming is apparently necessary for the EKF to stop moving the NED origin around) then there's no audible or visible indication that the EKF is ready to fly.

It also means that even with arming required, if you don't have a GCS handy, the only signal that you have that the plane is ready to arm, is the ready-to-arm tonealarm. So it seems to me that we should change solid green to mean ready-to-fly instead of 3D fix.

@kd0aij
Copy link
Contributor

kd0aij commented Dec 22, 2021

BTW, what is the use case for the "traffic-light" color sequence?
And perhaps this issue is best addressed by adding yet another for my black-box logger use case.

@rmackay9
Copy link
Contributor Author

@kd0aij, if I understand correctly, I think the "traffic light" colour sequence is for calibration. So when the gyro calibration is being done soon after startup we see the LEDs going through some sequence of colours (red+blue+green(?))

@kd0aij kd0aij added the Plane label Dec 22, 2021
@peterbarker
Copy link
Contributor

Well, it's 2024 and we accidentally closed this issue with #27385

Yay :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants