View Single Post
  #2   Spotlight this post!  
Unread 16-02-2011, 14:33
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Photoswitches vs. Camera

Quote:
Originally Posted by Geek 2.0 View Post
Here's an interesting idea: if you aren't going to use your camera for anything else, you could use it as a line tracker. In my opinion, it would seem easier to use for a two-axis drivetrain (such as mecanum or crab or whatnot) because it would give you direction to a line, so that you can strafe along it as opposed to trying to follow it. What do you think?
We had originally looked at doing this. There are advantages and disadvantages of using a camera for line-tracking.
Advantages:
-More accurate (assuming a good vision processing algorithm)
-Identify path options easier: branch, end, etc.
-History: You can look at the angle of the line along with your position to determine the appropriate heading.
Disadvantages:
-Development time: Develop a vision processing algorithm that works reliably, efficiently and handles the different path options will take longer than using the KOP line sensors
-Lag: The line sensors are read faster than the camera. With very basic image processing we were at about 12 fps with the camera, compared to the line sensors running as fast as the periodic tasks while loop they are in are called.

I personally thought the disadvantages outweighed the advantages, and compared to the relative ease we had with the line sensors (we were line tracking within about 2 hours once we started installing them) and the lack of being able to use the camera for anything else (we weren't planning on putting it on a pan/tilt mount) it was an easy choice.
__________________
Reply With Quote