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

47 lines
765 B
C
Raw Permalink Normal View History

2015-02-20 20:54:41 +00: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-07-31 12:52:15 -04:00
class BinOpenArms: public Command {
public:
/**
* @brief Constructs BinOpenArms
*
* @param timeout Timeout in seconds
*/
BinOpenArms(double timeout);
/**
* @brief Constructs BinOpenArms
*/
BinOpenArms();
/**
* @brief Initializes the class
*/
void Initialize();
/**
* @brief Sets the solenoid to open 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