2
0
mirror of https://github.com/team2059/Dent synced 2024-12-18 20:52:29 -05:00
dent/Commands/Elevator/OpenArm.cpp

19 lines
392 B
C++
Raw Normal View History

2015-10-08 12:14:57 -04:00
#include "OpenArm.h"
#include "../../DentRobot.h"
#include "../../OI.h"
OpenArm::OpenArm(double timeout): Command("OpenArm") {
SetTimeout(timeout);
}
void OpenArm::Initialize() {}
void OpenArm::Execute() {
DentRobot::pneumatics->SetElevatorArmOpen(true);
}
bool OpenArm::IsFinished() {
return true;
}
void OpenArm::End() {}
void OpenArm::Interrupted() {
End();
}
// vim: ts=2:sw=2:et