View Single Post
  #1   Spotlight this post!  
Unread 17-02-2012, 09:36
guoruiwu1994 guoruiwu1994 is offline
Registered User
FRC #1815
 
Join Date: Feb 2010
Location: Toronto
Posts: 15
guoruiwu1994 is an unknown quantity at this point
Using PID controls to center robot on target with camera

Using the camera, we can get how many pixels we are off target. Is there a way to feed that into the PID controls and then have the PID controls output into the robotdrive?

As far as I know, in the provided PID function you have to give it a source (such as an encoder), you cannot give it a number. Also, I'm not sure if the PID output works with robotdrive (arcade mode).
Reply With Quote