View Single Post
  #1   Spotlight this post!  
Unread 09-01-2009, 20:32
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
PID robot heading--comments?

Okay, this is an idea that I've been thinking of over the past few days. Basically the problem is that obviously steering is going to be quite hard this year, specificlly in regard to the fact that to steer the robot effectivley one will likely have to make a lot of course corrections due to oversteering and the effect of the trailer behind the robot

My idea:Implement the steering control as a PID loop, where the ideal robot heading was determined by a joystick, and the actual heading was determined by a gyro mounted on the robot. Then use this to determine the offsets sent to the motors in order to turn the robot. Each time the PID calculation was run, the gyro would be zeroed.

The thing is, I'm not sure if this would actually hold water. Has anyone used a similar system, or does anyone have any advice about it?
__________________
Get yer robot source code here!