mirror of
https://github.com/team2059/Dent
synced 2024-12-28 21:02:30 -05:00
46 lines
834 B
C++
46 lines
834 B
C++
#ifndef BINCLOSEARMS_H
|
|
#define BINCLOSEARMS_H
|
|
|
|
#include "Commands/Command.h"
|
|
#include "WPILib.h"
|
|
|
|
/**
|
|
* @brief Closes BinElevatorArms (NOT USED)
|
|
*
|
|
* Sets the solenoid to close the arms of the BinElevator
|
|
*/
|
|
class BinCloseArms: public Command{
|
|
public:
|
|
/**
|
|
* @brief Constructs BinCloseArms
|
|
*
|
|
* @param timeout The timeout
|
|
*/
|
|
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();
|
|
};
|
|
|
|
#endif
|
|
// vim: ts=2:sw=2:et
|