View Single Post
  #1   Spotlight this post!  
Unread 21-01-2009, 10:23
whswrestler189 whswrestler189 is offline
Registered User
FRC #1742
 
Join Date: Dec 2008
Location: Oklahoma City
Posts: 4
whswrestler189 is an unknown quantity at this point
Trouble With Autonomous Camera Tracking

For the past few days our programming team has tried to have the robot follow a target. We took the two color servo example from NI.com and instead of using the Panning servo we use that value output to run our Drive motors. We succeeded in having the robot turn left and right but it did not stop when the VT was in the center of vision again. It continues to turn left until it breaches the threshold set to turn right. In other words it keeps turning until it goes too far then turns the opposite direction until it goes too far. We are trying to set a "zero point" were if the values given are between 70-100 both drive motors are stopped. Unfortunately no attempts have been successful. Any ideas or help would be greatly appreciated.

Programming of Team 1742 - Shockwave
Reply With Quote