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

19 lines
402 B
C++

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