2015-02-20 15:54:41 -05:00
|
|
|
#include "BinCloseArms.h"
|
|
|
|
#include "../../DentRobot.h"
|
|
|
|
#include "../../OI.h"
|
2015-03-09 07:25:11 -04:00
|
|
|
BinCloseArms::BinCloseArms(double timeout): Command("BinCloseArms"){
|
2015-03-07 13:27:11 -05:00
|
|
|
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
|