2
0
mirror of https://github.com/team2059/Dent synced 2025-01-07 22:14:14 -05:00
dent/Commands/BinElevator/BinOpenArms.cpp

21 lines
423 B
C++

#include "BinOpenArms.h"
#include "../../DentRobot.h"
#include "../../OI.h"
BinOpenArms::BinOpenArms(double timeout): Command("BinOpenArms") {
SetTimeout(timeout);
}
void BinOpenArms::Initialize() {
}
void BinOpenArms::Execute() {
DentRobot::pneumatics->SetArmsOpen(true);
}
bool BinOpenArms::IsFinished() {
return true;
}
void BinOpenArms::End() {
}
void BinOpenArms::Interrupted() {
End();
}
// vim: ts=2:sw=2:et