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

Remote id fronted: hide all indicators if RID comms is not healthy: #10704

Merged
merged 1 commit into from
Jun 3, 2023

Conversation

Davidsastresas
Copy link
Member

All this remote id feature depends on a device being detected so it makes sense to not show the rest of the flags until a healthy connection has been detected. Now it looks like this until we have healthy connection with RID device ( arm status message received ):

rid settigns
rid indicator

It addresses the issues mentioned here #10654.

@booo
Copy link
Collaborator

booo commented Jun 2, 2023

Does it make sens to communicate by text what is happening? I get that red is "danger" or "something is broken" but I don't get that a device is missing from that.

All this remote id feature depends on a device being detected
so it makes sense to not show the rest of the flags until
a healthy connection has been detected.

Also change label from RID COMMS to NOT CONNECTED when there is
no RID connection, so it is more descriptive to the user.
@Davidsastresas Davidsastresas force-pushed the master-PR/Fix_RID_Indicators branch from 0180769 to eefa2bd Compare June 3, 2023 09:51
@Davidsastresas
Copy link
Member Author

@booo It makes a lot of sense, I hadn't thought about it. I modified it so now when there is no connection, the label shows "NOT CONNECTED" instead of "RID COMMS" just with red background. It looks as follows:

rid3
rid2

I squashed and extended the commit comment. Let me know if this looks good now. Thanks for the review!

@booo booo merged commit bec246a into mavlink:master Jun 3, 2023
@booo
Copy link
Collaborator

booo commented Jun 3, 2023

Looks good now.

@BluemarkInnovations
Copy link

I tested it with both ArduPilot and PX4. Looks indeed good.

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

Successfully merging this pull request may close these issues.

3 participants