|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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 ![]() |
|
#2
|
||||
|
||||
|
Re: How to make the camera search the light instead of only follow when targeted?
I think it is too late for that.
|
|
#3
|
||||
|
||||
|
Re: How to make the camera search the light instead of only follow when targeted?
what do you mean?late?
|
|
#4
|
||||
|
||||
|
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. |
|
#5
|
||||
|
||||
|
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???
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| camera goes to corner when finds light | iiiii | Programming | 5 | 13-02-2007 13:20 |
| Moving bot once targeted on the light | bronxbomber92 | Programming | 10 | 30-01-2007 12:33 |
| camera trouble,cant tell the green-light from regular white light | Nimmy | Programming | 26 | 14-01-2007 14:53 |
| Search for ideas on how to make belts ... | Jake M | Inventor | 10 | 04-07-2006 20:14 |
| How do u get your robot to follow the white line?????????????????? | HuskieRobotics | Programming | 26 | 04-03-2004 19:59 |