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-09-19 21:57:42 +00:00
|
|
|
void BinOpenArms::Initialize() {}
|
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-09-19 21:57:42 +00:00
|
|
|
void BinOpenArms::End() {}
|
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
|