2
0
mirror of https://github.com/team2059/Dent synced 2024-12-18 20:52:29 -05:00
dent/Commands/BinElevator/BinOpenArms.h

47 lines
829 B
C
Raw Normal View History

2015-02-20 15:54:41 -05:00
#ifndef BINOPENARMS_H
#define BINOPENARMS_H
#include "Commands/Command.h"
#include "WPILib.h"
2015-03-09 09:48:18 -04:00
/**
* @brief Opens bin arms (unused)
*/
2015-02-20 15:54:41 -05:00
class BinOpenArms: public Command{
public:
2015-03-09 09:48:18 -04:00
/**
* @brief Constructs BinOpenArms
*
2015-03-23 10:52:02 -04:00
* @param timeout Timeout in seconds
2015-03-09 09:48:18 -04:00
*/
2015-03-09 10:07:54 -04:00
BinOpenArms(double timeout);
2015-03-01 17:19:00 -05:00
/**
* @brief Constructs BinOpenArms
*/
2015-02-20 15:54:41 -05:00
BinOpenArms();
2015-03-01 17:19:00 -05:00
/**
* @brief Initializes the class
*/
2015-02-20 15:54:41 -05:00
void Initialize();
2015-03-01 17:19:00 -05:00
/**
* @brief Sets the solenoid to open the arms
*/
2015-02-20 15:54:41 -05:00
void Execute();
2015-03-01 17:19:00 -05:00
/**
* @brief Returns true to prevent solenoid damage
*
* @return True
*/
2015-02-20 15:54:41 -05:00
bool IsFinished();
2015-03-01 17:19:00 -05:00
/**
* @brief Ends the command
*/
2015-02-20 15:54:41 -05:00
void End();
2015-03-01 17:19:00 -05:00
/**
* @brief Calls End()
*/
2015-02-20 15:54:41 -05:00
void Interrupted();
};
#endif
// vim: ts=2:sw=2:et