Go to Post The events are not just a competition, but a celebration of 6 weeks of hard work. - ChristinaR [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 01-03-2009, 20:15
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
Predictive tracking strategies

Looking at some of the videos of autonomous modes, I got to wondering about this.

If you're using the camera to track a target, how are you dealing with loss-of-target? Lemon Squeeze has a fairly simplistic system that just extrapolates based on trajectory and rate of acceleration-deceleration, but I was wondering if anyone has used some other strategy(i.e.rangefinders to relocate a target or markov models or something)
__________________
Get yer robot source code here!
  #2   Spotlight this post!  
Unread 03-03-2009, 20:53
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Predictive tracking strategies

Last year we had a robot chasing the big trackballs around with the cmucam. All we did was say: if the robot is tracking and moving left, and it loses it keeps turning left in hopes to find it again and vica versa for the going right. You could probably, like you said, use the rate of turn in predicting how fast you should turn to find it. I would say its a safe bet to say that if your tracking to the left and you loose it that the target is to the left of you..
  #3   Spotlight this post!  
Unread 03-03-2009, 21:11
programMORT11
 
Posts: n/a
Re: Predictive tracking strategies

the only thing is that with the axis cam it's confidence settings fluctuate a lot more, and your target area is smaller, so if it jumps out of the field fast enough, you lose the direction, and the values change too much for finding the rate of the pivot. we are still doing it with the direction settings though ...
  #4   Spotlight this post!  
Unread 06-03-2009, 20:50
Salik Syed Salik Syed is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Stanford CA.
Posts: 514
Salik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud of
Send a message via AIM to Salik Syed
Re: Predictive tracking strategies

Well i'm assuming that most people aren't using two cameras so your acceleration/velocity estimates are based on the projection of the object onto the image plane -- using this to predict trajectory is noisy at best.

Given that you have the object centroid in an image plane you can localize the object to a single "ray" in space (look up how perspective projection works http://en.wikipedia.org/wiki/Perspec...ive_projection)

If are interested in AI (you mentioned markov models) perhaps you could build a theoretical model for ball behavior once projected to the image plane-- would be an interesting project involving math (mostly geometry and maybe statistics if you model noisy measurements probabilistically)

The bounding box size of the "ball" in the image plane gives you a pretty good estimate on depth along that ray. This gives you an estimate of 3d position. Perhaps you can fit a curve through the 3-4 estimated previous 3d positions of the ball and use that curve to project the balls motion forward.

The next part is extracting 3d velocity/acceleration measurements from a 2d projection -- this will involve doing the inverse perspective transform on the 2d measurements (which is possible given your depth estimate for the ball). Alternatively a much easier way is just to work in 3d ... i.e use the 3d estimates to find 3d velocities -- I think this is maybe slightly less error prone



Note that this idea is probably not practical in terms of time/ performance benefit but is a great project from a theoretical /research perspective
__________________
Team 701

Last edited by Salik Syed : 06-03-2009 at 20:58.
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
Change two color tracking vi from tracking pink AND green to orange OR grape balls star_lancer Programming 5 14-02-2009 20:58
Autonomous Strategies ExarKun666 Programming 73 11-02-2009 19:01
Recruitment Strategies jmarsh24 General Forum 11 13-01-2009 13:42
Camera locked in "tracking", but not tracking geeknerd99 Programming 1 18-02-2007 22:47
Defensive Strategies Goldeye Rules/Strategy 48 31-01-2006 19:16


All times are GMT -5. The time now is 01:06.

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