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