mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
22 lines
439 B
C++
22 lines
439 B
C++
|
#include "BinCloseArms.h"
|
||
|
#include "../../DentRobot.h"
|
||
|
#include "../../OI.h"
|
||
|
BinCloseArms::BinCloseArms() : Command("BinCloseArms"){
|
||
|
}
|
||
|
void BinCloseArms::Initialize(){
|
||
|
//Should never need to use this
|
||
|
SetTimeout(0.5);
|
||
|
}
|
||
|
void BinCloseArms::Execute(){
|
||
|
DentRobot::pneumatics->SetOpen(true);
|
||
|
}
|
||
|
bool BinCloseArms::IsFinished(){
|
||
|
return true;
|
||
|
}
|
||
|
void BinCloseArms::End(){
|
||
|
}
|
||
|
void BinCloseArms::Interrupted(){
|
||
|
End();
|
||
|
}
|
||
|
// vim: ts=2:sw=2:et
|