2015-02-20 15:54:41 -05:00
|
|
|
#ifndef PNEUMATICS_H
|
|
|
|
#define PNEUMATICS_H
|
2015-02-20 11:27:39 -05:00
|
|
|
|
|
|
|
#include "WPILib.h"
|
2015-03-09 09:48:18 -04:00
|
|
|
/**
|
|
|
|
* @brief Pneumatics on the robot (unused)
|
|
|
|
*
|
|
|
|
* For opening or closing the bin arms
|
|
|
|
*/
|
|
|
|
class Pneumatics: public Subsystem{
|
2015-02-20 11:27:39 -05:00
|
|
|
private:
|
2015-03-09 09:48:18 -04:00
|
|
|
Solenoid *solenoid1, //<! Solenoid 1
|
|
|
|
*solenoid2; //<! Solenoid 3
|
2015-02-20 11:27:39 -05:00
|
|
|
public:
|
2015-03-09 09:48:18 -04:00
|
|
|
/**
|
|
|
|
* @brief Constructs Pneumatics
|
|
|
|
*/
|
2015-02-20 15:54:41 -05:00
|
|
|
Pneumatics();
|
2015-03-09 09:48:18 -04:00
|
|
|
/**
|
|
|
|
* @brief No action
|
|
|
|
*/
|
2015-02-20 11:27:39 -05:00
|
|
|
void InitDefaultCommand();
|
2015-03-09 09:48:18 -04:00
|
|
|
/**
|
|
|
|
* @brief Sets the state of the arms
|
|
|
|
*
|
|
|
|
* @param bool State of the arms
|
|
|
|
*/
|
2015-02-20 11:27:39 -05:00
|
|
|
void SetOpen(bool);
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
// vim: ts=2:sw=2:et
|