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++

#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