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

21 lines
429 B
C++

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