Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Program Pnuematics (http://www.chiefdelphi.com/forums/showthread.php?t=81162)

Taxi Quinn 26-01-2010 09:48

Program Pnuematics
 
I have a Team Member who is needing help in Programming. One of his MAJOR problems is he does not know how to program Pnuematics. If you have any links that will help, or advice, please comment. I will have more post soon probably. All help is appreciated. Thank You.

Mark McLeod 26-01-2010 10:11

Re: Program Pnuematics
 
What language?

There are examples of each we can direct you to.

Taxi Quinn 26-01-2010 10:13

Re: Program Pnuematics
 
English

ehochstein 26-01-2010 10:13

Re: Program Pnuematics
 
It is in the c/java manual on the WPI website!

thatoneguy23 26-01-2010 10:14

Re: Program Pnuematics
 
our programmer is using labview, by the way....

Taxi Quinn 26-01-2010 10:15

Re: Program Pnuematics
 
And Where Can i find that. Do you have a link

Mark McLeod 26-01-2010 10:15

Re: Program Pnuematics
 
1 Attachment(s)
Quote:

Originally Posted by Taxi Quinn (Post 907112)
English

Sorry, solenoids don't speak English.
You can talk at them, but they won't answer except maybe to sigh...

There is a compressor example on the LabVIEW startup screen you can click on to see how it's done.

Jordan2389Diaz 26-01-2010 10:16

Re: Program Pnuematics
 
:cool: What tools make the pneumatics change is pressure?:cool:

Taxi Quinn 26-01-2010 10:16

Re: Program Pnuematics
 
WE USE LABVIEW

thatoneguy23 26-01-2010 10:21

Re: Program Pnuematics
 
Thanks, Mark. We got it.

Mark McLeod 26-01-2010 10:26

Re: Program Pnuematics
 
Quote:

Originally Posted by thatoneguy23 (Post 907122)
Thanks, Mark. We got it.

The trouble with the example is that it is setup as a stand-alone program.
It will need to be translated somewhat to fit it into this year's default framework.

For instance, the compressor open and enabled should probably go in Begin.vi

The solenoid stuff belongs in Teleop.vi or Autonomous Independent.vi

Let me know if your programmer needs more and I can knock out a few screenshots.

jamie_1930 26-01-2010 16:46

Re: Program Pnuematics
 
Quote:

Originally Posted by Jordan2389Diaz (Post 907119)
:cool: What tools make the pneumatics change is pressure?:cool:

I'm pretty sure that you can only do so physically through the regulator, I hope someone can prove me wrong though. So in this case you would need to change in between matches, although you could hook up a servo to it, but you would have to gear it to allow multiple rotations.

One other way you could do this is use multiple regulators all being tied to the same piston with solenoids regulating each and fire different solenoids in order to send different pressures to the cylinder.

Another way you could do so would be to only turn the compressor on for a specified amount of time, but the problem with this would be the fact of how unreliable it would be in competition.

Sean1038 26-01-2010 22:50

Re: Program Pnuematics
 
Our team is also using Labview to program.

We had trouble in programming the pneumatics in the beginning too, because we were using the compressor start.vi and Compressor stop.vi for the compressor and the solenoid vis for the solenoid actuator. we weren't able to get those vis to work properly, so we just replaced the Compressor vis and the Solenoid vis with Digital Output vis- that way we were able to set them true or false using a constant.

P.S.- we also used the Digital Input vis for the Pressure switch so the compressor turns off at ~115psi.

sparks-1784 27-01-2010 07:22

Re: Program Pnuematics
 
Quote:

Originally Posted by Mark McLeod (Post 907123)
The trouble with the example is that it is setup as a stand-alone program.
It will need to be translated somewhat to fit it into this year's default framework.

For instance, the compressor open and enabled should probably go in Begin.vi

The solenoid stuff belongs in Teleop.vi or Autonomous Independent.vi

Let me know if your programmer needs more and I can knock out a few screenshots.

Mark,

We will be programming in labview for the compressor control. If you could include some screen shots for guidance, that would be helpful.

Lance

Mark McLeod 27-01-2010 10:12

Re: Program Pnuematics
 
4 Attachment(s)
Here are those screenshot examples. The autonomous certainly isn't complete. In Auto the robot will turn to face the target, then kick. Of course there won't be a ball there unless you do some more Auto work.

We have a page of screenshot examples from last year that might help some, but they haven't been updated to the 2010 style yet. We'll probably get to that this Sunday.


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

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