2015-01-16 19:29:55 -05:00
|
|
|
#include "Eject.h"
|
2015-01-17 12:21:16 -05:00
|
|
|
#include "../DentRobot.h"
|
2015-01-17 12:55:51 -05:00
|
|
|
Eject::Eject() : Command("Eject"){
|
|
|
|
Requires(DentRobot::collector);
|
2015-01-16 19:29:55 -05:00
|
|
|
}
|
|
|
|
void Eject::Initialize(){
|
|
|
|
}
|
|
|
|
void Eject::Execute(){
|
2015-01-17 12:55:51 -05:00
|
|
|
DentRobot::collector->Set(DentRobot::oi->GetLeftStick()->GetThrottle());
|
2015-01-16 19:29:55 -05:00
|
|
|
}
|
|
|
|
bool Eject::IsFinished(){
|
2015-01-16 20:12:48 -05:00
|
|
|
return false;
|
2015-01-16 19:29:55 -05:00
|
|
|
}
|
|
|
|
void Eject::End(){
|
|
|
|
}
|
|
|
|
void Eject::Interrupted(){
|
|
|
|
}
|