|
Page 1 of 1
|
[ 8 posts ] |
|
Author |
Message |
easwaar
Rookie
Joined: Thu Nov 14, 2013 8:26 am Posts: 5
|
 Pneumatics
How to code the VEX pneumatics system? Single Function?
|
Thu Nov 14, 2013 8:29 am |
|
 |
JohnWatson
Site Admin
Joined: Thu May 24, 2012 12:15 pm Posts: 722
|
 Re: Pneumatics
Using the pnuematic system with ROBOTC is a fairly simple process; all you need to do is set up the port that the pnuematic system is attached to as a 'Digital Out' (which can be done through the 'Robot -> Motors and Sensors Setup -> Digital Sensors' tab in ROBOTC) and set the pnuematic to either a value of 1 (energized) or 0 (de-energized):
_________________Check out our Blog! And our Facebook page! Need help? Take a look at our updated help documentation and the ROBOTC Forums.
|
Thu Nov 14, 2013 2:02 pm |
|
 |
easwaar
Rookie
Joined: Thu Nov 14, 2013 8:26 am Posts: 5
|
 Re: Pneumatics
Thank you very much!!
|
Mon Nov 18, 2013 7:31 am |
|
 |
easwaar
Rookie
Joined: Thu Nov 14, 2013 8:26 am Posts: 5
|
 Re: Codes
As for I'm a new student in a VEX based engineering class, I'd like to know how to code for the ultrasonic range finders, line followers, shaft encoders, servos, and the color camera. Can you guys help me on these? 
|
Mon Nov 18, 2013 9:49 am |
|
 |
Ford Prefect
Guru
Joined: Sat Mar 01, 2008 12:52 pm Posts: 1030
|
 Re: Pneumatics
just out of interest: there surely exists a VEX pneumatic compressor although I can't find it anywhere - can someone show me a link to it? - what's the maximum pressure you can achieve by it?
_________________ regards, HaWe aka Ford #define S sqrt(t+2*i*i)<2 #define F(a,b) for(a=0;a<b;++a) float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}
|
Fri Nov 22, 2013 11:00 am |
|
 |
easwaar
Rookie
Joined: Thu Nov 14, 2013 8:26 am Posts: 5
|
 Re: Pneumatics
|
Tue Nov 26, 2013 11:30 pm |
|
 |
Ford Prefect
Guru
Joined: Sat Mar 01, 2008 12:52 pm Posts: 1030
|
 Re: Pneumatics
thank you! but where's the pressure pump (the compressor)?
_________________ regards, HaWe aka Ford #define S sqrt(t+2*i*i)<2 #define F(a,b) for(a=0;a<b;++a) float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}
|
Wed Nov 27, 2013 3:32 am |
|
 |
easwaar
Rookie
Joined: Thu Nov 14, 2013 8:26 am Posts: 5
|
 Re: Pneumatics
Actually, there is no compressor...it sucks i know....we are having the same problem for the toss up competition in Taipei
|
Thu Nov 28, 2013 4:47 am |
|
|
|
Page 1 of 1
|
[ 8 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|