2
0
mirror of https://github.com/team2059/Dent synced 2025-01-07 22:14:14 -05:00
dent/Commands/BinElevator/BinCloseArms.h

45 lines
797 B
C
Raw Normal View History

2015-02-20 20:54:41 +00:00
#ifndef BINCLOSEARMS_H
#define BINCLOSEARMS_H
#include "Commands/Command.h"
#include "WPILib.h"
2015-03-01 17:19:00 -05:00
/**
2015-03-22 14:29:07 -04:00
* @brief Closes BinElevatorArms (unused)
2015-03-01 17:19:00 -05:00
*
* Sets the solenoid to close the arms of the BinElevator
*/
2015-07-31 12:52:15 -04:00
class BinCloseArms: public Command {
public:
/**
* @brief Constructs BinCloseArms
*
* @param timeout Timeout in seconds (default: 0.5)
*/
BinCloseArms(double timeout = 0.5);
/**
* @brief Initializes the class
*/
void Initialize();
/**
* @brief Sets the solenoid to close the arms
*/
void Execute();
/**
* @brief Returns true to prevent solenoid damage
*
* @return True
*/
bool IsFinished();
/**
* @brief Ends the command
*/
void End();
/**
* @brief Calls End()
*/
void Interrupted();
2015-02-20 20:54:41 +00:00
};
#endif
// vim: ts=2:sw=2:et