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

Fixed steering wheel range #24

Merged
merged 7 commits into from
Dec 27, 2023
Merged

Conversation

ahcorde
Copy link
Collaborator

@ahcorde ahcorde commented Dec 26, 2023

  • Removed the min and max range (it was unabled)
  • Added Range to have a simetric steering wheel
  • Enable new range value

Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
@ahcorde ahcorde self-assigned this Dec 26, 2023
@ahcorde ahcorde changed the title Fixed sterring wheel range Fixed steering wheel range Dec 26, 2023
# max: Value to update the maximum value of the gauge.
if self.value > max_value:
self.value = max_value
if max_value <= self.minValue:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checking, min_value and max_value cannot be the same?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, then we can create a symmetric steering wheel

@ahcorde ahcorde requested a review from caguero December 26, 2023 17:51
@ahcorde ahcorde changed the base branch from ahcorde/fix_crashes to main December 27, 2023 07:36
@ahcorde ahcorde merged commit f6d2055 into main Dec 27, 2023
2 checks passed
@ahcorde ahcorde deleted the ahcorde/steering_wheel/fix_range branch December 27, 2023 07:53
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