View Single Post
  #7   Spotlight this post!  
Unread 24-07-2012, 09:23
badtkee badtkee is offline
Registered User
no team
 
Join Date: Jun 2012
Location: Green Bay
Posts: 20
badtkee is an unknown quantity at this point
Re: Help with Speed control using Cortex and US Digital Encoders

another question.

does PID() keep the robot going straight? both are making the wheels spin so the robot travels the desired speed. So I think that this has both the right and left wheels spinning the same rate making the robot go straight. right?

and then for the in your while loop "while(1)" does that mean its always true? it'll keep running this code?
__________________
--Eric