|
Re: Problem with Shooter Code for FRC
It looks like you are only checking the buttons and setting the speed in the constructor, you probably want to put that into a loop. I would move all of the button and speed control stuff into a public method and call it from either a command or teleopPeriodic, depending on if you use command based robot or iterative robot. (If you use simple robot, just call it in a loop)
|