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++
Raw Normal View History

2015-02-20 20:54:41 +00:00
#include "BinOpenArms.h"
#include "../../DentRobot.h"
#include "../../OI.h"
2015-07-31 12:52:15 -04:00
BinOpenArms::BinOpenArms(double timeout): Command("BinOpenArms") {
2015-03-07 13:27:11 -05:00
SetTimeout(timeout);
2015-02-20 20:54:41 +00:00
}
2015-07-31 12:52:15 -04:00
void BinOpenArms::Initialize() {
2015-02-20 20:54:41 +00:00
}
2015-07-31 12:52:15 -04:00
void BinOpenArms::Execute() {
2015-09-18 15:39:18 +00:00
DentRobot::pneumatics->SetArmsOpen(true);
2015-02-20 20:54:41 +00:00
}
2015-07-31 12:52:15 -04:00
bool BinOpenArms::IsFinished() {
2015-02-20 20:54:41 +00:00
return true;
}
2015-07-31 12:52:15 -04:00
void BinOpenArms::End() {
2015-02-20 20:54:41 +00:00
}
2015-07-31 12:52:15 -04:00
void BinOpenArms::Interrupted() {
2015-02-20 20:54:41 +00:00
End();
}
// vim: ts=2:sw=2:et