Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Team #3677 Control "teaser" (http://www.chiefdelphi.com/forums/showthread.php?t=100840)

SenorZ 21-01-2012 19:31

Team #3677 Control "teaser"
 
1 Attachment(s)
Can you guess what it's for?

PS: if it appears a little sloppy, its OK. This was written by one of my freshmen with very little LabVIEW experience... and it is not robot-ready.

kinganu123 21-01-2012 20:08

Re: Team #3677 Control "teaser"
 
loading the basketballs and possibly shooting them

DominickC 21-01-2012 20:12

Re: Team #3677 Control "teaser"
 
Well, it appears to be your ball collection control. You have three analog switches. Switch 3 detects the first ball to enter your chamber/holding apparatus, switch 2 detects the second, and switch 1 detects the third. Once switch 1 is tripped by the third ball, you stop your ball collection motors.

SenorZ 21-01-2012 21:48

Re: Team #3677 Control "teaser"
 
Not exactly, but that is the idea: two-stage collector. We decided on a collection method, and needed some logic put into LabVIEW. I'm sure my student will be happy to know his program is readable.

Joe Ross 21-01-2012 23:47

Re: Team #3677 Control "teaser"
 
This seems like a great place to use a state machine.

SenorZ 23-01-2012 19:30

Re: Team #3677 Control "teaser"
 
1 Attachment(s)
I'll do some research into the application of the state machine to our setup. Meanwhile, I did a little messing around and came up with this. Still a little sloppy, but I'm learning while the kids learn, too.

The grey circles represent ball positions, that trigger switches.


All times are GMT -5. The time now is 11:45.

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