Go to Post FIRST has the power to change lives, inspire, and make dreams come true. - Jaine Perotti [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-02-2011, 11:18
Geek 2.0 Geek 2.0 is offline
Registered User
FRC #0107
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2008
Location: Holland, MI
Posts: 120
Geek 2.0 will become famous soon enough
Photoswitches vs. Camera

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?
Reply With Quote
  #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
Reply


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


All times are GMT -5. The time now is 02:33.

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