2
0
mirror of https://github.com/team2059/Dent synced 2024-12-28 21:02:30 -05:00
dent/Subsystems/Pneumatics.h

32 lines
598 B
C
Raw Normal View History

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 state State of the arms
2015-03-09 09:48:18 -04:00
*/
void SetOpen(bool state);
2015-02-20 11:27:39 -05:00
};
#endif
// vim: ts=2:sw=2:et