mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
21 lines
423 B
C++
21 lines
423 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
|