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

17 lines
406 B
C++
Raw Normal View History

2015-01-17 12:55:51 -05:00
#include "Drive.h"
#include "../DentRobot.h"
Drive::Drive() : Command("Drive"){
}
void Drive::Initialize(){
}
void Drive::Execute(){
DentRobot::drivetrain->DriveMecanum(DentRobot::oi->GetLeftStick()->GetRawAxis(2), DentRobot::oi->GetLeftStick()->GetRawAxis(1), DentRobot::oi->GetLeftStick()->GetRawAxis(0));
}
bool Drive::IsFinished(){
return false;
}
void Drive::End(){
}
void Drive::Interrupted(){
}