Closed Mysterium422 closed 1 week ago
^ April Tag Map (from the FRC Game Manul).
This should be an enum, names such as SPEAKER_CENTER, SPEAKER_OFFSET, STAGE_CENTER, etc. Each of the enum values will need to take 2 ids, a red id and a blue id.
The enum should have 3 methods. getRedId and getBlueId which returns that color's id, and getId which returns the id based on the Robot's alliance.
Write a helper enum to easily get April Tag IDs from a more human readable form such as
AprilTag.SPEAKER_CENTER.getId(), getBlueId(), getRedId()