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

Add UnitUtils class with clampMeasurement method #67

Merged
merged 1 commit into from
Dec 8, 2024
Merged

Conversation

aidnem
Copy link
Contributor

@aidnem aidnem commented Dec 8, 2024

Changes

  • Adds a class called UnitUtils under wpilib_interface
  • Adds the clampMeasurement method to clamp a measurement between two bounds
  • Adds unit tests for the clampMeasurement method.

@aidnem aidnem linked an issue Dec 8, 2024 that may be closed by this pull request
1 task
@aidnem aidnem merged commit 1ad04a3 into main Dec 8, 2024
6 checks passed
@aidnem
Copy link
Contributor Author

aidnem commented Dec 8, 2024

Sorry for the review requests, my laptop elected to show me it was approved after I requested the reviews, even though it occurred 11 hours prior.

@aidnem aidnem deleted the 64-clamp-measures branch December 8, 2024 15: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.

Add clamping of measurements
2 participants