Go to Post FRANK, YOU'RE THE MAN. - Libby K [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
  #16   Spotlight this post!  
Unread 10-01-2013, 14:27
jwakeman jwakeman is offline
Registered User
FRC #0063 (Red Barons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: 16510
Posts: 182
jwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nice
Re: Shooter Aiming Methods

Quote:
Originally Posted by Kusha View Post
The people that are auto aiming:
Do you guys off put vision processing onto something else?
We had the camera streaming directly to the driver's station/class mate last year. We would do the vision processing there and send relevant coordinate info to the robot to make the position adjustments. Lots of teams did this last year, they gave an example last year that was setup for this.
Reply With Quote
  #17   Spotlight this post!  
Unread 10-01-2013, 14:33
Lil' Lavery Lil' Lavery is offline
TSIMFD
AKA: Sean Lavery
FRC #1712 (DAWGMA)
Team Role: Mentor
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Philadelphia, PA
Posts: 6,656
Lil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond repute
Send a message via AIM to Lil' Lavery
Re: Shooter Aiming Methods

Quote:
Originally Posted by z_beeblebrox View Post
I'm thinking of putting vision processing into the operator's brain and combine the best of automatic and manual aiming. Instead of having the computer struggle to identify a target 50' away with different lighting, I want to have the operator look at the camera feed and click the center of the goal. Then, the computer uses that to figure out how much the robot needs to turn and how high to aim the shooter to hit the goal. The output from this will be fed to PID controllers for robot and shooter angles. When the robot has slewed to position and the shooter has spun up to speed, the operator fires a disc and makes corrections if it misses. Then, the operator rapidly fires their remaining 3 discs.
Certainly an interesting aiming concept. How will your computer know the range of an object based solely on the click of the operator? Are you assuming you're always firing from approximately the same distance from the goal? Are you going to have the operator click&drag a box that can be used to size the goal (and thus determine range)?

Additionally, you're then forcing one of your operators to either move his hands between two input devices (his typical input device and the computer), or be entirely dedicated to the computer (thus leaving both the driving and firing to the other driver). Forcing your operators to have to look at the controls rather than the robot* and move their hands between multiple devices are some of the cardinal sins of OI design for FRC.


*the obvious exception to this is when focusing on a camera feed on the OI.
Reply With Quote
  #18   Spotlight this post!  
Unread 10-01-2013, 14:41
ctccromer's Avatar
ctccromer ctccromer is offline
Animus
AKA: Tucker Campbell
FRC #3753 (Bulah Bots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Baton Rouge, Louisiana
Posts: 190
ctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to all
Re: Shooter Aiming Methods

Here's my PLANS for this year (final results may vary):

1) Auto-aiming system with a shooting system that does NOT move on a turret or anything. It can aim up/down slightly, but that's the only axis it moves on and only to an extent

2) I'm switching to a controller this year and my very first idea for coding the robot was to not only make the joysticks turn and move the robot, but also code it so that while I have the left trigger held down, make the joysticks turn and move the robot at 0.25 normal speed. This way you don't have to JUUUUUST BARELY NUDGE the turning joystick a bunch of times to line up the shot -- you can manually aim the whole ROBOT (not the shooter on a turret) at the goal, then use an algorithm to aim the shooter's motor speed and vertical height, NOT horizontal angle
__________________
Team 3753 BulahBots
Reply With Quote
  #19   Spotlight this post!  
Unread 10-01-2013, 17:08
fb39ca4 fb39ca4 is offline
Registered User
FRC #1899
 
Join Date: Jan 2012
Location: Bellevue, WA
Posts: 195
fb39ca4 is a name known to allfb39ca4 is a name known to allfb39ca4 is a name known to allfb39ca4 is a name known to allfb39ca4 is a name known to allfb39ca4 is a name known to all
Re: Shooter Aiming Methods

Last year, we had a slow mode button on our controller as well.
Reply With Quote
  #20   Spotlight this post!  
Unread 10-01-2013, 18:00
falconmaster's Avatar
falconmaster falconmaster is offline
Registered User
AKA: Ledge
FRC #0842 (Falcon Robotics)
Team Role: Teacher
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Phoenix, Arizona
Posts: 1,406
falconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond repute
Send a message via MSN to falconmaster
Re: Shooter Aiming Methods

We had a great deal of success last year by locating landmarks on the field and then lining up with them and then launching the balls. We think we can do the same this year. To assist us though we are going to use a "photon cannon" aka flashlight http://www.amazon.com/8066-T6-Rechar...ts+1000+lumens
Like the three days robot builders guys. From our experience this is much faster and more reliable than computer vision processing. There are too many variables to account for that a human can adapt to that a computer without an extensive vision processing program can do as well or fast. Just my two cents...
__________________
Faridodin "Fredi" Lajvardi KD7WKD
Reply With Quote
  #21   Spotlight this post!  
Unread 10-01-2013, 18:28
Anupam Goli's Avatar
Anupam Goli Anupam Goli is offline
PCH Q&A co-founder/Scouting Mentor
AKA: noops
FRC #1648 (G3 Robotics)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2008
Location: Atlanta, Georgia
Posts: 1,242
Anupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond repute
Re: Shooter Aiming Methods

Quote:
Originally Posted by falconmaster View Post
... There are too many variables to account for that a human can adapt to that a computer without an extensive vision processing program can do as well or fast.
This. Playing 20 minutes of Catalyst made me realize that within one hour of practice, a driver could find a sweet spot, sweet angle, and fire consistently. Granted, a very extensive vision processing system could do the same, but if your driver is confident enough, it'll most likely be faster for a human to line up to that sweet spot that is ingrained into the driver's mind.
__________________
Team 1002: 2008-2012
Team 1648: 2012-2016
Georgia Tech Class of 2016
Reply With Quote
  #22   Spotlight this post!  
Unread 10-01-2013, 21:51
z_beeblebrox's Avatar
z_beeblebrox z_beeblebrox is offline
Custom User Title
AKA: Cal
FRC #4183 (Bit Buckets)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Cambridge MA
Posts: 811
z_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond repute
Re: Shooter Aiming Methods

Quote:
Originally Posted by Lil' Lavery View Post
Certainly an interesting aiming concept. How will your computer know the range of an object based solely on the click of the operator? Are you assuming you're always firing from approximately the same distance from the goal? Are you going to have the operator click&drag a box that can be used to size the goal (and thus determine range)?

Additionally, you're then forcing one of your operators to either move his hands between two input devices (his typical input device and the computer), or be entirely dedicated to the computer (thus leaving both the driving and firing to the other driver). Forcing your operators to have to look at the controls rather than the robot* and move their hands between multiple devices are some of the cardinal sins of OI design for FRC.


*the obvious exception to this is when focusing on a camera feed on the OI.
Since you know the height of the goal and the angle from your shooter to its center, you can use simple trig to find the distance. I would give the operator a USB mouse for their right hand and a joystick (maybe a custom controls box) for their left.
__________________
2012 Utah Regional Rookie All-Star
2013 Phoenix Regional Judge's Award for "design process and prototyping"
2014 Hub City Regional Quality Award, Arizona Regional Excellence in Engineering Award
2015 Arizona East Regional Creativity Award, Winner
2016 Arizona North Regional Finalist, Arizona West Excellence in Engineering Award, Finalist
Reply With Quote
  #23   Spotlight this post!  
Unread 10-01-2013, 22:16
Dan Richardson's Avatar
Dan Richardson Dan Richardson is offline
iR3 Creative
AKA: Dan Richardson
no team
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2001
Location: Ft. Lauderdale FL
Posts: 1,121
Dan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond repute
Re: Shooter Aiming Methods

Quote:
Originally Posted by Wing View Post
This. Playing 20 minutes of Catalyst made me realize that within one hour of practice, a driver could find a sweet spot, sweet angle, and fire consistently. Granted, a very extensive vision processing system could do the same, but if your driver is confident enough, it'll most likely be faster for a human to line up to that sweet spot that is ingrained into the driver's mind.
I think this is a great observation that is often overlooked. Having a good drive team is the keystone to a competitive robot. Great drivers need practice. Even good drivers get better with time at the sticks. Most teams seem not to make practice time a priority. Put this priority at top of the list and rethink resource strategies and your bot will instantly be more competitive.

Back on topic, I believe the photon cannon to be one of the most elegant targeting methods to date. I only wish we'd thought of it first.
__________________
CO-Founder of Robot in 3 Days and the Robot in 3 Day Challenge.


Reply With Quote
  #24   Spotlight this post!  
Unread 10-01-2013, 23:50
KrazyCarl92's Avatar
KrazyCarl92 KrazyCarl92 is offline
Registered User
AKA: Carl Springli
FRC #0020 (The Rocketeers)(EWCP)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Clifton Park, NY
Posts: 523
KrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond repute
Re: Shooter Aiming Methods

Using the pyramid as an alignment device and protection from interference by the opposing alliance seems like a great aiming method. Just back into the 30" horizontal bar and have the robot square up and you are in a known, consistent position relative to the target. And with the targets being so wide, the one degree of freedom this alignment method affords (translation short-ways across the field) also happens to be the largest dimension for the target. If a robot can score reliably from this position as well as one other defense will be rather difficult and aiming is REALLY easy from one of those positions.
__________________
[2017-present] FRC 0020 - The Rocketeers
[2016] FRC 5811 - BONDS Robotics
[2010-2015] FRC 0020 - The Rocketeers
Reply With Quote
  #25   Spotlight this post!  
Unread 11-01-2013, 14:28
Lil' Lavery Lil' Lavery is offline
TSIMFD
AKA: Sean Lavery
FRC #1712 (DAWGMA)
Team Role: Mentor
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Philadelphia, PA
Posts: 6,656
Lil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond repute
Send a message via AIM to Lil' Lavery
Re: Shooter Aiming Methods

Quote:
Originally Posted by z_beeblebrox View Post
Since you know the height of the goal and the angle from your shooter to its center, you can use simple trig to find the distance. I would give the operator a USB mouse for their right hand and a joystick (maybe a custom controls box) for their left.
So you're assuming that as your distance from the target changes, so will its height in your camera's field of vision at a predictable rate? I'd recheck that assumption if I were you. If you're only moving in the axis orthogonal to the goal, this would be true. But does it hold true once you introduce the second (or third) axes of motion?

Last edited by Lil' Lavery : 11-01-2013 at 14:35.
Reply With Quote
  #26   Spotlight this post!  
Unread 11-01-2013, 14:48
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Shooter Aiming Methods

Quote:
Originally Posted by Lil' Lavery View Post
So you're assuming that as your distance from the target changes, so will its height in your camera's field of vision at a predictable rate? I'd recheck that assumption if I were you. If you're only moving in the axis orthogonal to the goal, this would be true. But does it hold true once you introduce the second (or third) axes of motion?
This is true, and we did it last year with EdgeWalker.

If the camera is kept at a fixed height, and a fixed angle, and you are directly in front of the goal, you've essentially limited your movement to the axis orthogonal to the goal. If you move left and right (perpendicular axis) the shape of the goal becomes trapezoidal, but if you use the centre of the bounding box of the trapezoid as your reference, you can compensate for the additional axis of movement.

The trick is finding a camera height and angle where there is enough change in the goal's height to give you meaningful information - AND where you can keep the goal in the field of view at every spot on the field you want to shoot from.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
Reply With Quote
  #27   Spotlight this post!  
Unread 27-01-2013, 16:25
jasp's Avatar
jasp jasp is offline
Registered User
AKA: jade
FRC #2537 (RAID)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Maryland
Posts: 15
jasp is an unknown quantity at this point
Re: Shooter Aiming Methods

Last year our team tries vision processing with an non-axis camera and we never used it because it was not as accurate as we wanted and was very slow. If you do try vision processing I suggest using a raspberry pi or something similar.
__________________
software is not magic
Reply With Quote
  #28   Spotlight this post!  
Unread 27-01-2013, 22:06
stingray27's Avatar
stingray27 stingray27 is offline
Registered User
AKA: Michael Ray
FRC #0027 (Team RUSH)
Team Role: Alumni
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Clarkston, MI
Posts: 209
stingray27 is a name known to allstingray27 is a name known to allstingray27 is a name known to allstingray27 is a name known to allstingray27 is a name known to allstingray27 is a name known to all
Re: Shooter Aiming Methods

For anyone wanting a explanation of what the example code for vision processing is doing, I put up a youtube video here: https://www.youtube.com/watch?v=m2Pwdq30eSI last year where I explained to my mentor what it was doing. Please bear with it as it is toned down, slow and probably all not incorrect (and long). But I have gotten some good feedback in that my explanation made a lot of sense to even non-programmers. Check it out if your interested.
__________________
Michael Ray
Team RUSH 27

Driving Record: 93-64-0 Best Finish: Finalist (x4 FiM Districts)
Coaching Record: 16-7-0 Best Finish: Winner (Kettering Invitationa)l

Reply With Quote
  #29   Spotlight this post!  
Unread 28-01-2013, 04:05
jesusrambo jesusrambo is offline
Self-Proclaimed Programmer Messiah
AKA: JD Russo
FRC #2035 (Robo Rockin' Bots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Carmel, CA
Posts: 114
jesusrambo is an unknown quantity at this point
Re: Shooter Aiming Methods

Our plan for this year is to have extensive auto-targeting to align the turret on the fly as we move, but with only movable elevation. Azimuth will be handled by actual driving, though we're planning on having that automatically align too. The image processing will be offloaded to the driver station, though we're looking into using an onboard computer.
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 15:50.

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