Forks subsystem
Closed this issue · 0 comments
prateekma commented
Create a subsystem called Forks
which represents the buddy climb system on the robot. The only thing in the subsystem should be one solenoid with the correct IDs (see robot info spreadsheet). Create a command called DropForksCommand
which sets the solenoid to true (make sure you create a method in the Forks
subsystem instead of accessing the solenoid directly). This command should also return immediately. See ExtendClimberCommand
for how to do this.
Furthermore, make the kA
button drop the forks in Controls.kt
. This should only happen in the climbing state, so make sure you add it under state(Robot::isClimbMode)
.