Thread: Camera Tracking
View Single Post
  #2   Spotlight this post!  
Unread 05-02-2011, 22:52
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Camera Tracking

(I've never done vision programming)

But I think what you should do is divide the camera into three sections: left, right, and center. If you see the color in the left one, send a small value to the joystick x value in arcade drive (or whatever you have there). If it's the right one, send a negative value, and if it's in the middle zone send a 0.

Is that helpful?
Reply With Quote