Go to Post It keeps your minibot from being destroyed by Dean's chainsaw, which is a big competitive advantage in future matches. - Joe Ross [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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
  #4   Spotlight this post!  
Unread 08-02-2009, 13:23
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Rookie Team Prgramming [autonomous]

Quote:
Originally Posted by Garii View Post
what i need to know is as follows:
-is there a way to use camera code to track not only colors but objects [ie other robots and barriers] and use that code so we can avoid those obejects
A fairly robust way of doing this that I can think of is to make use of the fact that a majority of the playing field is white this year, and that almost all teams that I have seen use-non white bumpers. Try taking a picture of your robot sitting on a white surface and import it into Vision Assistant, then play around with the Color Threshold filter.

To get a sense of where these obstacles might be, mount your camera at the bottom of your robot, and point it slightly downward. The y-position of the obstacles you identify will be roughly proportional to the distance they are away from you. A related algorithm is the Polly algorithm, more info here with some good pictures for visualization; you'll just be using white/non-white pixels instead of doing edge detection to find obstacles.

EDIT: Note, that this method will mean that you can't track trailers at the same time, as your camera has to be pointed at the floor. If you want to track trailers, I'd advise that you use the camera only for that, in which case you could consider using something like an ultrasonic range sensor to detect obstacles, although this is a much coarser way of doing it.

If you have any more questions, feel free to post back in this forum, and I'll try to help you out.

--Ryan
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor

Last edited by RyanCahoon : 08-02-2009 at 13:44.
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
solenoid prgramming Skyman7 Pneumatics 4 09-02-2009 08:53
Rookie Team - Autonomous Mode Question EE_I_B Programming 8 06-02-2008 16:17
Rookie autonomous modes StephLee General Forum 6 30-04-2005 13:16
Autonomous opinions for a rookie JamesBrown Programming 13 07-01-2005 21:48
TEAM 121 and a rookie team on CBS SAT MORNING! Joe Menassa General Forum 7 21-03-2002 00:47


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

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