View Single Post
  #1   Spotlight this post!  
Unread 08-02-2009, 12:20
vb_master's Avatar
vb_master vb_master is offline
Registered User
FRC #2428
 
Join Date: Feb 2009
Location: Pittsburgh
Posts: 1
vb_master is an unknown quantity at this point
TwoColorTrackDemo Vertical Sweep

Hey everyone. I am the only programmer on my team and I am having problems with the TwoColorTrackDemo project. The camera will lock onto our colors and track them, but it will not move the camera up or down vertically when the colors are moved up and down. It only stays in the normalized positions, with seemingly random shifts up and down. Uncommenting
Code:
incrementV = verticalPosition - verticalDestination;
and commenting out the other one seemed to have no effects on the vertical sweep.

Horizontal sweeping works fine, however.

Any suggestions of how to fix this would be greatly appreciated.

The servos are in their correct ports and are recieving power. The camera is of course set up correctly.

Last edited by vb_master : 08-02-2009 at 12:45.
Reply With Quote