issues
search
LakotaRobotics1038
/
2024RobotProject
Code for FRC Crescendo 2024
Other
0
stars
0
forks
source link
Scoring Position Command Skeleton
#14
Closed
matunkar
closed
8 months ago
matunkar
commented
8 months ago
sets the position of the scoring mechanism.
[x] create a command called scoringPositionCommand that extends Command, imports scoring + Command, and adds scoring as a requirement
[x] edit the scoring subsystem so that it has an enum that says the states (ground, amp and trap)
[x] the constructor for this class should also pass in one of those states
[x] in execute, create a case switch statement that, depending on the state, runs the scoring position to one of those setpoints.
[x] in isFinished, return the onTarget method.
[x] in end, run the stop method.
sets the position of the scoring mechanism.