ligerbots / ligerbots/InfiniteRecharge2021
Switch inch conversion to use WPILib
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
WPILib supplies Units.inchesToMeters(), the reverse conversion, and a few others.
Get rid of Constants.inchToMetersConversionFactor and replace all uses to use the Units methods. Mostly this is FieldMap.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search for Constants.inchToMetersConversionFactor and all of its uses, especially in FieldMap. Read WPILib's Units methods for inches-to-meters and reverse conversion, then replace the constant-based conversions throughout the project. Done means the constant and its uses are gone and the corresponding Units methods are used instead.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- robotics
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100