Go to Post One thing that always strikes me at FRC competitions is seeing the little nerds reveling in the same kind of self-celebrating bravado the high school jocks have always indulged in. - gvarndell [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 27-01-2013, 18:15
Gmercer Gmercer is offline
Registered User
None #1631
 
Join Date: Jan 2013
Location: Las Vegas
Posts: 15
Gmercer is an unknown quantity at this point
Limiting the amount of air sent to a solenoid

I need to limit the amount of air sent into a solenoid to 'lightly' push a frisbee into the shooter. At the moment the solenoid fires the frisbee out and gets it stuck in the middle of the two wheels. I would like to have it slowly move foreword, here is the current solenoid code i have:

inside my extend solenoid function

Code:
if (joy1.getRawButton(11)) {
	Arm3.extend();
}
else if (joy1.getRawButton(12) {
	Arm3.retract();
}
extend and recract functions:
Code:
public void extend()
{
	sol1.set(false);
	sol2.set(true);
}

public void retract()
{
	sol1.set(true);
	sol2.set(false);
}

Last edited by Gmercer : 27-01-2013 at 18:20.
 


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 10:11.

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