mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
32 lines
598 B
C++
32 lines
598 B
C++
#ifndef PNEUMATICS_H
|
|
#define PNEUMATICS_H
|
|
|
|
#include "WPILib.h"
|
|
/**
|
|
* @brief Pneumatics on the robot (unused)
|
|
*
|
|
* For opening or closing the bin arms
|
|
*/
|
|
class Pneumatics: public Subsystem{
|
|
private:
|
|
Solenoid *solenoid1, //<! Solenoid 1
|
|
*solenoid2; //<! Solenoid 3
|
|
public:
|
|
/**
|
|
* @brief Constructs Pneumatics
|
|
*/
|
|
Pneumatics();
|
|
/**
|
|
* @brief No action
|
|
*/
|
|
void InitDefaultCommand();
|
|
/**
|
|
* @brief Sets the state of the arms
|
|
*
|
|
* @param state State of the arms
|
|
*/
|
|
void SetOpen(bool state);
|
|
};
|
|
#endif
|
|
// vim: ts=2:sw=2:et
|