View Single Post
  #7   Spotlight this post!  
Unread 13-03-2013, 10:41
DallonF DallonF is offline
Registered User
FRC #2403 (Plasma Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Mesa, AZ
Posts: 11
DallonF is a jewel in the roughDallonF is a jewel in the roughDallonF is a jewel in the roughDallonF is a jewel in the rough
Re: Turning autonomously

At Plasma Robotics, we use a sort of "ghetto-PID" with a gyro - basically, we have a loop that turns the robot, slows it down once it's close, and stops once it's within an acceptable range. It then waits for a few milliseconds to make sure it doesn't overshoot - if it does, we start the process again.

It's not quite as accurate as a PID, but it's easier to understand and debug. That is, unless you do it in LabVIEW like we did and have wire-spaghetti all over the place