ligerbots / ligerbots/InfiniteRecharge2021

Switch inch conversion to use WPILib

Open
#2 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.