View Single Post
  #4   Spotlight this post!  
Unread 28-01-2013, 11:38
Bryce Paputa's Avatar
Bryce Paputa Bryce Paputa is offline
FF TSL: Frog Farce
FRC #0503 (Frog Force)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Novi Michigan
Posts: 454
Bryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond repute
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)
Reply With Quote