Go to Post Glue it, screw it, bolt it, rivet it, weld it. If the design is flawed it will fail. - Gdeaver [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 08-01-2012, 00:33
Garten Haeska's Avatar
Garten Haeska Garten Haeska is offline
Registered User
AKA: Garty
FRC #2861 (Infinity's End)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Lake City, MN
Posts: 219
Garten Haeska has a spectacular aura aboutGarten Haeska has a spectacular aura about
Turret

Is there a way that you could program a turret to aways be looking at the basketball hoops. So no matter where you are on the court you could always have a shot on target without having to worry about moving the turret also, we would impliment the ultrasonic sensor in the KOP to sense how far we are away to get the right amount of power to get the ball to the hoop? Could anyone possibly tell me how to go about doing this in Labview or in any general way including what sensors to use? Other than the sonar detector(ultrasonic) and the vision tracking of a reflective square.
__________________
"Sometimes the questions are

complicated but the answers are simple."

- Dr. Seuss
Reply With Quote
  #2   Spotlight this post!  
Unread 08-01-2012, 00:34
Sean Raia's Avatar
Sean Raia Sean Raia is offline
Curious spectator & alumn
no team
 
Join Date: Oct 2008
Rookie Year: 2008
Location: PA
Posts: 436
Sean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond repute
Re: Turret

Yes, i worked on this my freshman year (Lunacy). And as long as you set your camera up to recognize those vision targets, getting it to stay on it is not a giant task.

Its late and i dont feel like explaining just how you would do this but its pretty much a loop that rotates the turret until it finds the target, if the target is in view it will center the turret to aim directly at it using smaller rotation increments. You could use your sonar to factor the distance into these segments, but thats your job to figure out :-)

Last edited by Sean Raia : 08-01-2012 at 00:39.
Reply With Quote
  #3   Spotlight this post!  
Unread 08-01-2012, 00:37
Garten Haeska's Avatar
Garten Haeska Garten Haeska is offline
Registered User
AKA: Garty
FRC #2861 (Infinity's End)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Lake City, MN
Posts: 219
Garten Haeska has a spectacular aura aboutGarten Haeska has a spectacular aura about
Re: Turret

So all you would need to do is tell it in programming is to only look at the target and never lose track of it? What programming language did you use?
__________________
"Sometimes the questions are

complicated but the answers are simple."

- Dr. Seuss
Reply With Quote
  #4   Spotlight this post!  
Unread 08-01-2012, 00:37
DjMaddius's Avatar
DjMaddius DjMaddius is offline
Registered User
AKA: Matt Smith
FRC #2620 (Southgate Titans)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Southgate, Mi
Posts: 161
DjMaddius is an unknown quantity at this point
Re: Turret

Well, if you know how much power your balls will push thrown at, you can calculate the angle to set the launcher based on the camera tracking software. The example rectangle tracking LabVIEW software gives you distance so I personally don't believe that you don't need the ultrasonic detector.
Reply With Quote
  #5   Spotlight this post!  
Unread 08-01-2012, 00:37
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Turret

Quote:
Originally Posted by Garten Haeska View Post
Is there a way that you could program a turret to aways be looking at the basketball hoops. So no matter where you are on the court you could always have a shot on target without having to worry about moving the turret also, we would impliment the ultrasonic sensor in the KOP to sense how far we are away to get the right amount of power to get the ball to the hoop? Could anyone possibly tell me how to go about doing this in Labview or in any general way including what sensors to use? Other than the sonar detector(ultrasonic) and the vision tracking of a reflective square.
What I am going to do is use a gyro. Have the robot face the baskets at the beginning of the match and keep tracking it.
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
Reply With Quote
  #6   Spotlight this post!  
Unread 08-01-2012, 00:41
Sean Raia's Avatar
Sean Raia Sean Raia is offline
Curious spectator & alumn
no team
 
Join Date: Oct 2008
Rookie Year: 2008
Location: PA
Posts: 436
Sean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond repute
Re: Turret

I did this in LABview, but havent touched it since. Weve since moved on to Java and never looked back.
Reply With Quote
  #7   Spotlight this post!  
Unread 08-01-2012, 00:43
Garten Haeska's Avatar
Garten Haeska Garten Haeska is offline
Registered User
AKA: Garty
FRC #2861 (Infinity's End)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Lake City, MN
Posts: 219
Garten Haeska has a spectacular aura aboutGarten Haeska has a spectacular aura about
Re: Turret

Quote:
Originally Posted by Sean Raia View Post
I did this in LABview, but havent touched it since. Weve since moved on to Java and never looked back.
Do you still have the file, if so would you mind letting me have a look at it, im still fairly new to Labview, i had two years of Java, so its all very strange, but yet very visual.
__________________
"Sometimes the questions are

complicated but the answers are simple."

- Dr. Seuss
Reply With Quote
  #8   Spotlight this post!  
Unread 08-01-2012, 00:41
Garten Haeska's Avatar
Garten Haeska Garten Haeska is offline
Registered User
AKA: Garty
FRC #2861 (Infinity's End)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Lake City, MN
Posts: 219
Garten Haeska has a spectacular aura aboutGarten Haeska has a spectacular aura about
Re: Turret

Quote:
Originally Posted by davidthefat View Post
What I am going to do is use a gyro. Have the robot face the baskets at the beginning of the match and keep tracking it.
David, are you using Java this year again (i believe you helped me last year with it) or are you using labview?
__________________
"Sometimes the questions are

complicated but the answers are simple."

- Dr. Seuss
Reply With Quote
  #9   Spotlight this post!  
Unread 08-01-2012, 00:44
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Turret

Quote:
Originally Posted by Garten Haeska View Post
David, are you using Java this year again (i believe you helped me last year with it) or are you using labview?
Java. So essentially, it is a dead reckoning method. You keep track of the absolute angle by integrating the Angular Velocity given by the Gyro (Most Gyros give angular velocity) You will be good to go. If it drifts off, just get in the middle and "zero" it out.
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
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 18:15.

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