|
| | pneumatic (int32_t index, bool bPumpEnable=true) |
| | Creates a new pneumatic object on the port specified by the parameter.
|
| |
| bool | installed () |
| |
| void | extend (cylinderType id) |
| | extend a pneumatic cylinder
|
| |
| void | retract (cylinderType id) |
| | retract a pneumatic cylinder
|
| |
|
void | pumpOn () |
| | Turn on the pneumatic air pump.
|
| |
|
void | pumpOff () |
| | Turn off the pneumatic air pump.
|
| |
| void | pump (bool state) |
| | Set the pneumatic air pump to on or off.
|
| |
|
| device (int32_t index) |
| |
|
IQ_DeviceType | type () |
| |
|
int32_t | index () |
| |
|
void | init (int32_t index) |
| |
| virtual int32_t | value () |
| |
|
int32_t | readDigitalPin () |
| |
|
int32_t | readAnalogPin () |
| |
|
|
uint32_t | status () |
| |
|
void | setPollInterval (int32_t value) |
| |
|
bool | pollValid (bool bSave) |
| |
Definition at line 26 of file vex_pneumatic.h.
◆ pneumatic()
| vex::pneumatic::pneumatic |
( |
int32_t | index, |
|
|
bool | bPumpEnable = true ) |
Creates a new pneumatic object on the port specified by the parameter.
- Parameters
-
| port | index to the brain port. |
| bPumpEnable | optional parameter to enable or disable the air pump |
◆ extend()
extend a pneumatic cylinder
- Parameters
-
◆ installed()
| bool vex::pneumatic::installed |
( |
| ) |
|
|
virtual |
◆ pump()
| void vex::pneumatic::pump |
( |
bool | state | ) |
|
Set the pneumatic air pump to on or off.
- Parameters
-
| state | true to turn on the air pump, false to turn it off |
◆ retract()
retract a pneumatic cylinder
- Parameters
-
| id | The cylinder to retract |
The documentation for this class was generated from the following file: