View Single Post
  #1   Spotlight this post!  
Unread 03-26-2016, 03:16 PM
SPQLrobotics SPQLrobotics is offline
Registered User
FRC #5941
 
Join Date: Oct 2015
Location: Everett
Posts: 4
SPQLrobotics is an unknown quantity at this point
Re: Need Help With Encoders

To answer all questions at once, the code compiles and runs, the arm will lower (the motor called pneumatic lowers our pneumatic arm, as it has to start at an angle to be within the bumpers). The robot will then not move at all. We are attempting to have it move forward through the low bar and back, which is about 4 wheel rotations for the encoders - the time was an estimate and just a test for movement. We are going to move the default to the end of the code. The only time we actually got movement was using a while loop with encoders, but the robot continuously drove forward and the loop delayed driver control in teleop.
Reply With Quote