Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   How to make the camera search the light instead of only follow when targeted? (http://www.chiefdelphi.com/forums/showthread.php?t=54468)

jesusescobar 18-02-2007 16:32

How to make the camera search the light instead of only follow when targeted?
 
Who Has Finished Thier Programming Code or has a good idea on what to do?


Will it really take you like a whole day to do an autonomous code to work to search the light


I only need help on the camera so it can actually search for the light not just follow it

I am a rookie in frc so i dont know much about that but i understand the tutorials though?? Anyone have any recommendations of what i can do or pm me to help me or reply :]

Coz 18-02-2007 16:39

Re: How to make the camera search the light instead of only follow when targeted?
 
I think it is too late for that.

jesusescobar 18-02-2007 16:40

Re: How to make the camera search the light instead of only follow when targeted?
 
what do you mean?late?

Uberbots 18-02-2007 16:52

Re: How to make the camera search the light instead of only follow when targeted?
 
well... considering that you are a rookie team and have 5 weeks (max) until your competition, you should either go for a dead-reckoning system, or work your tails off to get that code to work.

just the fact that there are two lights this year makes it all the more complex... if you want to know, though, the average width of a light is the square root of the amount of pixels returned. if you know the width and the position of the light you want to track, you can easily make the camera center on that target, and given the angle of your servo, you can tell your robot to correct for that angle (with a gyro perhaps). once this is done, drive away and place the keeper.

^overly simplistic.

jesusescobar 18-02-2007 16:56

Re: How to make the camera search the light instead of only follow when targeted?
 
ok......but i have made a program that will go forward and if the target line is not found go right or left and so forth until it finds the target light then to go forward to the light after 15ft then place the donut but wouldnt it be easier for me to make the camera search the light like to scan it instead of making it just follow it when found???


All times are GMT -5. The time now is 12:45.

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