mirror of
https://github.com/team2059/Dent
synced 2024-12-28 21:02:30 -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
|