|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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; 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. |
|
#2
|
|||
|
|||
|
Re: TwoColorTrackDemo Vertical Sweep
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with TwoColorTrackDemo-v2 | mahmosh | C/C++ | 5 | 20-01-2009 09:30 |
| Team 867 is going to sweep the competition | seanl | Robot Showcase | 10 | 10-03-2008 17:11 |
| Size of the Pan-Tilt's Sweep? | geeknerd99 | Programming | 1 | 27-01-2006 20:25 |
| Vertical bar interaction | Madison | Rules/Strategy | 5 | 10-01-2004 16:22 |
| vertical conveyor belt | ahecht | Technical Discussion | 3 | 15-02-2002 16:16 |