View Single Post
  #7   Spotlight this post!  
Unread 09-02-2008, 23:28
1jbinder 1jbinder is offline
Registered User
FRC #0852
 
Join Date: Jan 2008
Location: Athenian School
Posts: 35
1jbinder is an unknown quantity at this point
Re: intermdiate programmer requests your help!!!

In autonomous mode you will need encoders to measure distance. We are currently controlling our motors with a PD loop and not direct PWM control but if you want to set your to drive motors(plugged into outputs 1 and 2) forward this would be the command:
pwm01=255;
pwm02=255;
Use Kevin's default code at kevin.org for you robot. In the autonomous.c file in the project open up the autonomous function and write the code there. In future posts you should probably call yourself a beginner FRC C programmer because it will make it easier for people to fix your posts. Anyways i hope this works for you.
Julian

Last edited by 1jbinder : 09-02-2008 at 23:31. Reason: Making it correct and understandable