View Single Post
  #24   Spotlight this post!  
Unread 02-01-2013, 13:55
nathan_hui nathan_hui is offline
Registered User
AKA: Nathan Hui
FRC #2473 (CHS Robotics)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2009
Location: Cupertino, CA
Posts: 228
nathan_hui will become famous soon enoughnathan_hui will become famous soon enough
Send a message via AIM to nathan_hui
Re: PID: what is it exactly?

Actually, PID for shooting is a little more than keeping wheels at a constant speed. The one problem we had was the repeatability of shots. Each time we chucked a ball out, the wheels would slow down because of the amount of energy released into the ball. One thing PID would have to do was compensate for that loss in speed fast enough to maintain a reasonable rate of fire, which I believe required some hacking (almost similar to a motion profiler). But to do distance aiming, we used a lookup table, with input from a camera or joystick. For lateral aiming, we did use PID. The thing about setting distance is that there's no immediate feedback - you need the shot to land before you get feedback, so you can't correct the flight path in the middle, thereby defeating the purpose of PID.