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

widgets[DepthHUD]: Don't allow indicator to pass above 0 meters #367

Merged

Conversation

rafaellehmkuhl
Copy link
Member

@rafaellehmkuhl rafaellehmkuhl commented Jun 29, 2023

This path is a visual improvement. With it, any depth value above 0 (out of water) is shown in the 0 level. Previously, it looked broken.

Before and after:

image

image

@Williangalvani
Copy link
Member

can we check if the vehicle is a submarine?

@rafaellehmkuhl
Copy link
Member Author

can we check if the vehicle is a submarine?

You mean because for other vehicles altitude above water is important, right?

This widget (DepthHUD) does not support altitude measurements yet, so I don't think it's the case.

We should improve it to actually handle Depth versus Altitude or have a dedicated one to Altitude.

@Williangalvani
Copy link
Member

fair enough

@rafaellehmkuhl rafaellehmkuhl merged commit f18d8ca into bluerobotics:master Jun 29, 2023
@rafaellehmkuhl rafaellehmkuhl deleted the limit-depth-indicator branch June 29, 2023 17:47
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.

2 participants