Go to Post But if we just re-play "Triple Play" then what in the world will the Game Design Committee do with all that new-found free time? Since they wouldn't have to come up with a new game, they would have to concentrate on other things - like how to enforce the proposed "no metal on robots" rule. - dlavery [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 03-02-2012, 20:52
DSager3 DSager3 is offline
Registered User
FRC #1546
 
Join Date: Feb 2012
Location: United States
Posts: 3
DSager3 is an unknown quantity at this point
Help Programming Our Shooter In LabView

Hi all, hope you can help.

Tonight my team finished construction of our elevator system and shooter. Our elevator is the popular poly cord run on pulleys design and our shooter (pictures attached) has one wheel powered by a BaneBot motor(not in the picture) and a controllable hood powered by a window motor. We are satisfied with its performance right now, but we think that if we were to mount the shooter on a lazy susan and use the camera to track the backboards and it automatically adjust the lazy susan and shooter hood accordingly, it would take our robot to the next level. Only problem is that our programmers are relatively inexperienced. We are programming in LabView and any help of how to code this function, or even where to being is greatly appreciated.

Thank you and best of luck to all teams.
-1546
Attached Thumbnails
Click image for larger version

Name:	IMAG0527.jpg
Views:	182
Size:	667.0 KB
ID:	11692  Click image for larger version

Name:	IMAG0526.jpg
Views:	145
Size:	676.7 KB
ID:	11693  

Last edited by DSager3 : 03-02-2012 at 20:57.
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2012, 21:36
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help Programming Our Shooter In LabView

I suggest you start with the Rectangular Target Processing example in LabVIEW. Once you have the camera detecting and tracking the target, you can try to use the measured position of the target to decide which way and how far to move your shooter's turntable.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2012, 23:58
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,296
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: Help Programming Our Shooter In LabView

I just learned that a good number of the features in the Vision Assistant are not supported if you have an 8-slot CRio, though... Which, judging by your team number, you have.

I have no idea what to do about it, unfortunately.
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
Reply With Quote
  #4   Spotlight this post!  
Unread 04-02-2012, 03:17
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Help Programming Our Shooter In LabView

I have a couple questions for you to think about.

I don't see any feedback from your shooter (yet). Consider: how will you insure your shooter is running the speed you want?

Next, that window motor runs at around 80 rpm. That means it wants to rotate once a second. You have it direct driving your hood. Are you planning on having two hood positions, each using a positive stop? If not, you may be in trouble. It will be difficult for your human player to try to manipulate that hood to a precise angle while your robot is on the field without some type of automatic feedback.

The included rectangular vision example is a good start, though it is complex. You will also find an NI whitepaper on it's use here on Chiefdelphi.
Reply With Quote
  #5   Spotlight this post!  
Unread 04-02-2012, 07:29
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,752
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: Help Programming Our Shooter In LabView

The example that was mentioned works fine on the 8-slot, but as mentioned, some of the more advanced features were stripped out for space savings.

More Details:
Between the LV8.6 and LV2011 releases, the vision module grew by over 5MB. Many of those new features, and some of the existing ones were more for machine inspection than for robotics. The imaging tool installs the smaller, more stripped down, version of IMAQ on the 8-slot, and the complete edition on the 4-slot. There are some additional differences besides vision as well.

I don't have a complete list of what was removed, but we did our best to leave in a rich set for robotics applications. We received no negative feedback during beta, but if we discover that a feature is badly needed, we'll do our best to recompose it again.

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 04-02-2012, 14:01
Larry Lewis's Avatar
Larry Lewis Larry Lewis is offline
The Spiky Hair Guy
FRC #1511 (Rolling Thunder)
Team Role: Leadership
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Rochester, New York
Posts: 109
Larry Lewis is a name known to allLarry Lewis is a name known to allLarry Lewis is a name known to allLarry Lewis is a name known to allLarry Lewis is a name known to allLarry Lewis is a name known to all
Re: Help Programming Our Shooter In LabView

Quote:
Originally Posted by Greg McKaskle View Post
The example that was mentioned works fine on the 8-slot, but as mentioned, some of the more advanced features were stripped out for space savings.

More Details:
Between the LV8.6 and LV2011 releases, the vision module grew by over 5MB. Many of those new features, and some of the existing ones were more for machine inspection than for robotics. The imaging tool installs the smaller, more stripped down, version of IMAQ on the 8-slot, and the complete edition on the 4-slot. There are some additional differences besides vision as well.

I don't have a complete list of what was removed, but we did our best to leave in a rich set for robotics applications. We received no negative feedback during beta, but if we discover that a feature is badly needed, we'll do our best to recompose it again.

Greg McKaskle
Greg,
Would you be able to help to provide a list of what the differences between the 8 slot and 4 slot installation or is there a way for teams to determine this? This would be useful to document for the teams that are using LabVIEW this year.
__________________
Larry Lewis
FIRST Team 1511 - Rolling Thunder
Team Leader
2013 - Present: Systems Engineer - Viewpoint Systems
2004 - 2013: Lead Test Engineer - Harris RF Communications
www.penfieldrobotics.com
Certified LabVIEW Architect
"I haven't failed, I've found 10,000 ways that don't work" ~Thomas Alva Edison
Reply With Quote
  #7   Spotlight this post!  
Unread 04-02-2012, 14:38
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,752
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: Help Programming Our Shooter In LabView

This isn't just a LV issue. The IMAQ library is shared by all languages. As I stated, I don't have exact symbols that were removed. I"m sure that the list of missing symbols can be built, but I don't have cRIOs with me at the moment.

Greg McKaskle
Reply With Quote
  #8   Spotlight this post!  
Unread 04-02-2012, 14:40
DSager3 DSager3 is offline
Registered User
FRC #1546
 
Join Date: Feb 2012
Location: United States
Posts: 3
DSager3 is an unknown quantity at this point
Re: Help Programming Our Shooter In LabView

Thank you all for your help! I'll relay the information to our programmers on Monday. In regards to the shooter, the hood is directly driven by the window motor and we plan on using two limit switches to limit the range of our hood. Also, our programmers drastically reduced the speed of the motor (not completely sure how they did it, I'm more of a mechanical guy) so the operator can control the hood angle more easily. If possible, we want to take out the human error of a person controlling the hood angle and have that done automatically.
Reply With Quote
  #9   Spotlight this post!  
Unread 05-02-2012, 11:22
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,580
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Help Programming Our Shooter In LabView

Quote:
Originally Posted by Greg McKaskle View Post
I don't have a complete list of what was removed, but we did our best to leave in a rich set for robotics applications. We received no negative feedback during beta, but if we discover that a feature is badly needed, we'll do our best to recompose it again.
I think part of the problem was that beta teams were mostly reconstituting old code (if they were testing vision at all). You use a lot more functions while developing and testing code then makes it into the final product. For this case, I'm not sure the beta test was a valid test.
Reply With Quote
  #10   Spotlight this post!  
Unread 05-02-2012, 14:27
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,296
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: Help Programming Our Shooter In LabView

Quote:
Originally Posted by Joe Ross View Post
I think part of the problem was that beta teams were mostly reconstituting old code (if they were testing vision at all). You use a lot more functions while developing and testing code then makes it into the final product. For this case, I'm not sure the beta test was a valid test.
That appears to be the case here. Everything we've tried thus far failed to build... We spend almost two weeks uninstalling and reinstalling LabView, checking network connections and Windows updates, etc, etc, all thinking that the problem was on our end.

To find that the problem was both known and on NI's side of things is discouraging -- one would have hoped that functionality differences between versions would have been communicated...

Was it? Did we miss it somewhere?
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
Reply With Quote
  #11   Spotlight this post!  
Unread 05-02-2012, 14:32
one4robots one4robots is offline
Registered User
AKA: Vince Wagner
FRC #2530 (Inconceivable)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Rochester, MN
Posts: 58
one4robots is on a distinguished road
Re: Help Programming Our Shooter In LabView

Quote:
Originally Posted by DSager3 View Post
Thank you all for your help! I'll relay the information to our programmers on Monday. In regards to the shooter, the hood is directly driven by the window motor and we plan on using two limit switches to limit the range of our hood. Also, our programmers drastically reduced the speed of the motor (not completely sure how they did it, I'm more of a mechanical guy) so the operator can control the hood angle more easily. If possible, we want to take out the human error of a person controlling the hood angle and have that done automatically.
Your design looks remarkably similar to ours! Great minds think alike! Our turret, angle of elevation, and speed of shooter will all be software controlled. Our programmers have been working on target recognition very hard, and I think they have it down. I'll mention this thread and have them comment.
__________________


It's Inconceivable!
2015 Wisconsin Regional Winner - Thanks 2826 and 2062!
2014 Wisconsin Regional Semi-finalist and Alliance Captain - Thanks 167 and 4296!
2014 MSHSL Finalist and Alliance Captain - Thanks 3018 and 4607!
2013 Northern Lights Gracious Professionalism Award
2012 MRI Champions - Thanks, 3883 and 3630!
2012 MSHSL State Tournament Semi-finalist
2012 10,000 Lakes Regional Finalist
2012 10,000 Lakes Regional Delphi Engineering Excellence Award
2012 Lake Superior Regional GM Industrial Design Award
2011 Minnesota Robotics Invitational (MRI) Champions - Thanks, 2052 and 2450!
2011 Inaugural Lake Superior Regional Finalist
2011 Lake Superior Regional Judges Award
Reply With Quote
  #12   Spotlight this post!  
Unread 06-02-2012, 12:42
DSager3 DSager3 is offline
Registered User
FRC #1546
 
Join Date: Feb 2012
Location: United States
Posts: 3
DSager3 is an unknown quantity at this point
Re: Help Programming Our Shooter In LabView

Quote:
Originally Posted by one4robots View Post
Your design looks remarkably similar to ours! Great minds think alike! Our turret, angle of elevation, and speed of shooter will all be software controlled. Our programmers have been working on target recognition very hard, and I think they have it down. I'll mention this thread and have them comment.
Thank you! Our programmers say that the LabView file or a screenshot of the target recognition code would be extremely helpful.
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 07:36.

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