Go to Post So, if you feel your team is at a disadvantage, or the playing field isn't level.... Do something about it. - AdamHeard [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-03-2010, 06:08
Triapod Triapod is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2005
Location: NJ
Posts: 28
Triapod is an unknown quantity at this point
Vision Tracking and Movement

Autonomous -
Our programming team has not yet programmed using vision, but have taken a look at the default code given to track circular objects. We think that this system works great and are wondering how to move forward to program movement towards the ball. We wish to move towards the ball but not hit it (stop right before it) then activate the pneumatic kicking system.

We are wondering if we would be able to be able to determine distance to drive, or have to use a sensor.

Thank you
Reply With Quote
  #2   Spotlight this post!  
Unread 09-03-2010, 08:55
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: Vision Tracking and Movement

We experimented with using the camera to detect distance to the target/ball, but it just isn't accurate enough (can someone correct me?). You can use dead reckoning, i.e. drive for a certain period of time and then stop since you can place the ball where you want, or you can use a sensor. Some teams are using ultrasonic sensors or IR sensors. The control system documentation goes into how to use an ultrasonic sensor for this purpose.
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 09-03-2010, 15:41
Triapod Triapod is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2005
Location: NJ
Posts: 28
Triapod is an unknown quantity at this point
Re: Vision Tracking and Movement

Won't this system (timing/distance) be highly inaccurate because the distance we place the balls apart may vary? Using a sensor places near the kicking system may work but being near the high power area may cause damage to the delicate machinery like the limit switches.
Reply With Quote
  #4   Spotlight this post!  
Unread 15-03-2010, 12:19
Triapod Triapod is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2005
Location: NJ
Posts: 28
Triapod is an unknown quantity at this point
Re: Vision Tracking and Movement

Have you tried using the ultrasonic sensor. How accurate was it in determining the distance of the ball. Dead reckoning seems to be too inaccurate in that the distance between the balls could vary making the effectiveness of the kicker less. The ball could also roll.
Reply With Quote
  #5   Spotlight this post!  
Unread 15-03-2010, 12:45
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Vision Tracking and Movement

If you're really worried about accuracy, a three-stage hybrid system might be useful

1.The robot tracks the ball using the camera
2.When the ball becomes too close to track, or if the camera loses it, the robot moves into dead-reckoning mode
3.When a broken-beam sensor is tripped, the robot stops, kicks, and can start the cycle over again if neccesary.

That said, the balls don't move that much after they're placed. Dead reckoning is very susceptible to random variations in hardware, but a good encoder or inertial nav system can fix this.
__________________
Get yer robot source code here!
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
2010 FRC camera vision tracking delay, image processing lag pspeer C/C++ 18 18-02-2010 07:24
Vision tracking: Did they get it right? dbell FRC Control System 35 15-02-2010 02:23
Vision Tracking Camera picking up too much... taoistconvert Programming 8 24-01-2010 22:19
71's Vision Tracking Problems Bill Beatty Rumor Mill 7 19-04-2005 17:41


All times are GMT -5. The time now is 21:59.

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