wpilibsuite / wpilibsuite/SystemcoreTesting
RobotController.getTeamNumber() returns 0
Open
Nobody has claimed this yet.
Not Implemented Yet
WPILib
- Dominant language
- Java
- Stars
- 186
- Forks
- 24
- Avg merge
- 8h 27m
- Merged PRs (30d)
- 9
Description
This is because the current implementation depends on the hostname, which appears to always be robot on SystemCore. Instead, the team number can be read from /etc/team_number.txt, assuming that's the source of truth.
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
Start at RobotController.getTeamNumber() and inspect the current hostname-based lookup. Verify how /etc/team_number.txt is read on SystemCore, then confirm the method returns the team number from that file instead of 0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100