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

21 lines
424 B
C++

#include "BinCloseArms.h"
#include "../../DentRobot.h"
#include "../../OI.h"
BinCloseArms::BinCloseArms(double timeout) : Command("BinCloseArms"){
SetTimeout(timeout);
}
void BinCloseArms::Initialize(){
}
void BinCloseArms::Execute(){
DentRobot::pneumatics->SetOpen(false);
}
bool BinCloseArms::IsFinished(){
return true;
}
void BinCloseArms::End(){
}
void BinCloseArms::Interrupted(){
End();
}
// vim: ts=2:sw=2:et