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

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.

If you mounted your camera upside down or made your gimbal the opposite of the way the code expected, you wouldn’t see random movements, but opposite movements. This would quickly cause the camera to lose the target.

I think it is pretty easy to swap the movements in the C code.

Greg McKaskle