wpilibsuite / wpilibsuite/SystemcoreTesting

RobotController.getTeamNumber() returns 0

Open
#37 7 comments 0 reactions 0 assignees View on GitHub

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.