Go to Post There are no guarentees in life. Cherish what you have while you have it. None of us knows what tomorrow will bring. - KenWittlief [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
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-12-2017, 04:21 PM
ArtemusMaximus's Avatar
ArtemusMaximus ArtemusMaximus is offline
Enginerd
FTC #11722
Team Role: Coach
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Canada
Posts: 262
ArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to behold
[FTC]: Cryptobox Detection

Any thoughts on how to detect Cryptobox for putting Glyph in correct column in Autonomous?
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
2017 FTC 11722 (Coach) Canadian Championship Finalist
2016 FTC 10544 (Coach) Canadian Championship Finalist, Rockwell Collins Innovate Award.
2014 FRC 5064 (Mentor)
Reply With Quote
  #2   Spotlight this post!  
Unread 09-12-2017, 04:38 PM
marshall's Avatar
marshall marshall is offline
Discerning and exacting individual
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 2,219
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: [FTC]: Cryptobox Detection

I know very little about the FTC control system but if it were me, I'd probably recommend storing the patterns of all 3 pictographs and do a compare against the one on the field and then run my auto routine based on the pattern found. You can likely improve this by figuring out the differences between them and only concentrating on identifying those differences rather than the complete image.

Before I ever did that though, I'd examine all the possible points and scoring options and I'd figure out if scoring those pictograph based auto points is actual worth the time. It might make more mathematical sense to go after another challenge.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Clarke's Laws
Reply With Quote
  #3   Spotlight this post!  
Unread 09-12-2017, 04:56 PM
ArtemusMaximus's Avatar
ArtemusMaximus ArtemusMaximus is offline
Enginerd
FTC #11722
Team Role: Coach
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Canada
Posts: 262
ArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to behold
Re: [FTC]: Cryptobox Detection

Quote:
Originally Posted by marshall View Post
I know very little about the FTC control system but if it were me, I'd probably recommend storing the patterns of all 3 pictographs and do a compare against the one on the field and then run my auto routine based on the pattern found. You can likely improve this by figuring out the differences between them and only concentrating on identifying those differences rather than the complete image.

Before I ever did that though, I'd examine all the possible points and scoring options and I'd figure out if scoring those pictograph based auto points is actual worth the time. It might make more mathematical sense to go after another challenge.
Detecting Pictograph is not an issue. FTC SDK already pre-loaded with Pictographs for detection by PTC Vuforia. SDK also has the sample code for that.
My question was about detecting location of Cryptobox itself for placing the Glyph in correct place.
It doesn't appear like it too difficult, but I am not sure how to do it.
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
2017 FTC 11722 (Coach) Canadian Championship Finalist
2016 FTC 10544 (Coach) Canadian Championship Finalist, Rockwell Collins Innovate Award.
2014 FRC 5064 (Mentor)
Reply With Quote
  #4   Spotlight this post!  
Unread 09-12-2017, 06:08 PM
Billfred's Avatar
Billfred Billfred is offline
Eat, Sleep, Break The Streak
AKA: Less Curt Hawkins, More a Paul Heyman Guy
FRC #1293 (Pandamaniacs); FTC #11444 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: West Columbia, SC
Posts: 9,077
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: [FTC]: Cryptobox Detection

I am 2000% spitballing here. Haven't tried it, probably won't work, but the advice was free and worth every penny.

Thought 1) A whisker kind of switch would let you bump into each extrusion as you drive or strafe past.
Thought 2) Design in some kind of alignment widget (maybe thick scrap lexan, maybe euroboard, maybe 3D printed, maybe on a servo to pivot away) that lets you nestle up against a known part of the Cryptobox. Get close from encoders, drive in slowly to locate yourself using the widget, then run your left/center/right routine off of that location.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Taking on some tall orders.

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017: FRC 5402 (Iron Kings) - Mentor, Coach
2018-: FRC 1293 (Pandamaniacs) - Mentor

106 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 70,000 miles, and still on a mission from Bob.
Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
Reply With Quote
  #5   Spotlight this post!  
Unread 09-12-2017, 06:49 PM
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,424
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: [FTC]: Cryptobox Detection

Teams will already be using Vuforia for pictograph reading. Seams it should be able to detect the glyph box with location info. Add in gyro and ranging off of side walls. Something for programmers to chew on.
Reply With Quote
  #6   Spotlight this post!  
Unread 09-12-2017, 07:43 PM
ArtemusMaximus's Avatar
ArtemusMaximus ArtemusMaximus is offline
Enginerd
FTC #11722
Team Role: Coach
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Canada
Posts: 262
ArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to beholdArtemusMaximus is a splendid one to behold
Re: [FTC]: Cryptobox Detection

Quote:
Originally Posted by Gdeaver View Post
Teams will already be using Vuforia for pictograph reading. Seams it should be able to detect the glyph box with location info. Add in gyro and ranging off of side walls. Something for programmers to chew on.
Thank you for the ideas.
After typing last reply, I thought of same thing, using Vuforia to calculate robots location and go from there.

Last year distance from starting point to the picture was problematic for Vuforia. this year starting point is right in front of the picture
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
2017 FTC 11722 (Coach) Canadian Championship Finalist
2016 FTC 10544 (Coach) Canadian Championship Finalist, Rockwell Collins Innovate Award.
2014 FRC 5064 (Mentor)
Reply With Quote
  #7   Spotlight this post!  
Unread 01-08-2018, 04:09 PM
VanJoel VanJoel is offline
Registered User
FRC #4910 (East Cobb Robotics)
Team Role: Programmer
 
Join Date: Jul 2017
Rookie Year: 2011
Location: Georgia
Posts: 1
VanJoel is an unknown quantity at this point
Re: [FTC]: Cryptobox Detection

A vision solution could be something along the following: (I'm not super familiar with Vuforia so this is just computer vision methods that might work)

1a)Use HSV color filtering to find the side post of the box.

1b) Could also probly use edege finding and find the 4 long box shaped edges

1c) Or a combination of both (if you got these working well together it would provied a more robust system. Always a good thing)

2) Check that the contores are roughly square shaped and that there are four long ones.

3) Find the center of each column (find the midpoint of beteen each coloum), and order the coloums 1-3.

4) From the infromation found in the picture figuer out which coloum (1-3) you want to place the glyph in.

5) Clacuate the angle to targeted colum

6) Use a combination of gyro, distances sensor, and encoder to drive to said coloum.

This system plobly would be more complecated than most but with proper devopment and impliementaion it should be abel to find the gliphbox location and drive to the right column form a wider range of posisions.

Hope this helps.
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 04:33 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi