Go to Post Any team that started with a random word generator can't be bad. - Sperkowsky [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 30-01-2010, 23:34
sloteera's Avatar
sloteera sloteera is offline
Registered User
AKA: Rafa
FRC #1860 (Cephatron)
Team Role: Coach
 
Join Date: Mar 2007
Rookie Year: 2004
Location: Brazil
Posts: 190
sloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud of
Re: ball tracking w/ camera

Could you make an combination between Color Location and Find Geometric Shapes to prevent any confusion of the camera between ball and target?

If you consider that the floor is green and ball is white, you'll have a good enviroment to use these two functions.

I tryed it... but I think that I hadn't success because we are use our camera with mirrors associated!!!
  #2   Spotlight this post!  
Unread 17-02-2010, 01:46
joxphoto joxphoto is offline
Registered User
FRC #0369
 
Join Date: Mar 2009
Location: Brooklyn, NY
Posts: 9
joxphoto is an unknown quantity at this point
Re: ball tracking w/ camera

Quote:
Originally Posted by sloteera View Post
Could you make an combination between Color Location and Find Geometric Shapes to prevent any confusion of the camera between ball and target?

If you consider that the floor is green and ball is white, you'll have a good enviroment to use these two functions.

I tryed it... but I think that I hadn't success because we are use our camera with mirrors associated!!!
--------------

Our team has been successful in identifying a white ball against a green background. I recommend a two-level test (meaning you will have to create 2 scripts in VA): 1- Identify a round object using appropriate steps in VA, 2- another script to identify the appropriate range of color that would be the official ball color for the competition. This methodology would at least increase your chance of finding THE ball, instead of just another round object in the playing field.
  #3   Spotlight this post!  
Unread 20-02-2010, 17:49
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: ball tracking w/ camera

We have written a ball tracker in VA, but can't seem to get it to work on the robot (C++) It worked once (we were seeing numbers come out) but hasen't since then. also writing an image to file does not work, Is there a way to stream the binary image after particle analysis?
attached is the scr, some sample images, and the C++ code (adapted from 2010VisionDemo, added in exported VA C code)
Attached Files
File Type: zip images and scr.zip (507.7 KB, 65 views)
File Type: zip code.zip (15.2 KB, 58 views)
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Closed Thread


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
Camera Tracking Tanner NI LabVIEW 5 01-02-2009 11:28
Camera locked in "tracking", but not tracking geeknerd99 Programming 1 18-02-2007 22:47
camera tracking geekofband007 Programming 15 15-02-2007 23:50
Camera Tracking Problem cprogrammer Programming 1 18-02-2005 15:00
CMU Camera Tracking auditt241 Programming 0 03-02-2005 16:33


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

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