Go to Post week 7: check to see if the pets are still alive, ask significant others to take us back, do 6 weeks worth of make-up homework, and ask my boss for another extension. - Tim Baird [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 13-02-2014, 17:02
Alpharex Alpharex is offline
Registered User
FRC #3293 (Otterbots)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Fergus Falls
Posts: 15
Alpharex will become famous soon enough
Hot Goal Targeting Help

I am part of Frc team 3293(the otterbots) and we are trying to program our robot to detect the hot goal. I have followed several online tutorials and I have been getting nowhere. I am wondering if anyone knows the best way to go about vision targeting for the hot goal.
  #2   Spotlight this post!  
Unread 13-02-2014, 17:10
brennonbrimhall brennonbrimhall is offline
Free Agent
AKA: Brennon Brimhall
no team
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Clifton Park, NY
Posts: 222
brennonbrimhall is a name known to allbrennonbrimhall is a name known to allbrennonbrimhall is a name known to allbrennonbrimhall is a name known to allbrennonbrimhall is a name known to allbrennonbrimhall is a name known to all
Re: Hot Goal Targeting Help

Quote:
Originally Posted by Alpharex View Post
I am part of Frc team 3293(the otterbots) and we are trying to program our robot to detect the hot goal. I have followed several online tutorials and I have been getting nowhere. I am wondering if anyone knows the best way to go about vision targeting for the hot goal.
Without a specific question, I can't give you an answer with the degree of specificity I think you're looking for. Would you mind elaborating?

I've found the WPI documentation to be useful (though lackluster in more advanced/custom stuff). They have a section on Vision for 2014, if you haven't looked at it already.

As far as the best way to go about hot goal targeting, I can say that our team is not looking at the LEDs on the goals. We found it much easier to segment the dynamic horizontal target. See here (and scroll down about halfway) for how a horizontal target behaves during autonomous.
__________________
Team 20, 2012-2014: 4 blue banners, 5 medals, and 9 team awards.
Church of Jesus Christ of Latter-day Saints, 2014-2016: Missionary, Colorado Denver South Mission.
  #3   Spotlight this post!  
Unread 13-02-2014, 17:21
Alpharex Alpharex is offline
Registered User
FRC #3293 (Otterbots)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Fergus Falls
Posts: 15
Alpharex will become famous soon enough
Re: Hot Goal Targeting Help

I have looked at those sites.

We are targeting the retroreflective tape. I have used the 2014 target detection example vi in the labview tutorials i have managed to get that code to identify hot and not hot targets. my problem has been that i can't figure out how to integrate the target detection code into our robot code.
  #4   Spotlight this post!  
Unread 13-02-2014, 17:27
brennonbrimhall brennonbrimhall is offline
Free Agent
AKA: Brennon Brimhall
no team
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Clifton Park, NY
Posts: 222
brennonbrimhall is a name known to allbrennonbrimhall is a name known to allbrennonbrimhall is a name known to allbrennonbrimhall is a name known to allbrennonbrimhall is a name known to allbrennonbrimhall is a name known to all
Re: Hot Goal Targeting Help

Quote:
Originally Posted by Alpharex View Post
my problem has been that i can't figure out how to integrate the target detection code into our robot code.
Thanks for being more specific. I'm not familiar with LabView, but I assume it has the ability to abstract certain code fragments into subroutines.

I would implement it as some sort of subroutine/function that returns targeting information. Based on the information returned from this function, you can feed that into an if statement in your autonomous routine.
__________________
Team 20, 2012-2014: 4 blue banners, 5 medals, and 9 team awards.
Church of Jesus Christ of Latter-day Saints, 2014-2016: Missionary, Colorado Denver South Mission.
  #5   Spotlight this post!  
Unread 13-02-2014, 17:30
Alpharex Alpharex is offline
Registered User
FRC #3293 (Otterbots)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Fergus Falls
Posts: 15
Alpharex will become famous soon enough
Re: Hot Goal Targeting Help

i haven't figured out how to do that. I know that it goes into the vision processing section of the code but I haven't been able to figure out which code to place in it. I have tried several different strings from the target detection vi but i have been unsuccessful so far.
  #6   Spotlight this post!  
Unread 13-02-2014, 18:04
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Hot Goal Targeting Help

Have you looked at tutorial number 8?

Greg McKaskle
  #7   Spotlight this post!  
Unread 13-02-2014, 18:26
Alpharex Alpharex is offline
Registered User
FRC #3293 (Otterbots)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Fergus Falls
Posts: 15
Alpharex will become famous soon enough
Re: Hot Goal Targeting Help

I have tried that. It did not work. I didn't get any hot/ not hot data on the dashboard.
  #8   Spotlight this post!  
Unread 13-02-2014, 18:34
Sparkyshires Sparkyshires is offline
Registered User
AKA: Michael Shires
FRC #0384 (Sparky)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2006
Location: Virginia
Posts: 226
Sparkyshires is an unknown quantity at this point
Re: Hot Goal Targeting Help

I'm not familiar with labview, but try diagnostic information. Sounds cool and can be very helpful! Put descriptive print outs all over the code, so you can find out what's hanging it up. Also, look for something called an aspect ratio. Should be very helpful.
__________________
"Measure with a micrometer, mark with chalk, cut with an axe."
  #9   Spotlight this post!  
Unread 13-02-2014, 19:21
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Hot Goal Targeting Help

Tutorial 8 has directions for doing the processing on robot or dashboard and has many steps and screenshots. Which didn't work? Do you need more help with step 13 and 14?

Please let me know which steps you didn't understand and I'll go into more detail.

Greg McKaskle
  #10   Spotlight this post!  
Unread 13-02-2014, 20:39
Alpharex Alpharex is offline
Registered User
FRC #3293 (Otterbots)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Fergus Falls
Posts: 15
Alpharex will become famous soon enough
Re: Hot Goal Targeting Help

I went through all the steps and i thought i was successful. However, when i ran the code, no information on distance and whether or not the target was hot displayed on the dashboard.
  #11   Spotlight this post!  
Unread 14-02-2014, 07:20
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Hot Goal Targeting Help

The steps I'd recommend are to get the vision portion working. Then send the information using SD, receive the info, and make use of it to control your robot.

Do you still have the working vision code? Was it on the dashboard or robot? Did you probe or verify that the data was being flattened and sent to an SD variable with no errors? Where did you place the SD read on the robot?

Break it down into smaller elements that you can verify. It is useful now to work your way towards a solution, and it will be later in the future when things stop working and you are supposed to fix it.

Greg McKaskle
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


All times are GMT -5. The time now is 02:43.

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