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++
Raw Normal View History

2015-02-20 15:54:41 -05:00
#include "BinCloseArms.h"
#include "../../DentRobot.h"
#include "../../OI.h"
2015-03-07 13:27:11 -05:00
BinCloseArms::BinCloseArms(double timeout) : Command("BinCloseArms"){
SetTimeout(timeout);
2015-02-20 15:54:41 -05:00
}
void BinCloseArms::Initialize(){
}
void BinCloseArms::Execute(){
2015-03-01 16:48:37 -05:00
DentRobot::pneumatics->SetOpen(false);
2015-02-20 15:54:41 -05:00
}
bool BinCloseArms::IsFinished(){
return true;
}
void BinCloseArms::End(){
}
void BinCloseArms::Interrupted(){
End();
}
// vim: ts=2:sw=2:et