Go to Post I've always thought that what makes an average person exceptional is not their inability to make mistakes, but rather their ability to recognise, rectify, and learn from them. - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 13:16.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi