mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
17 lines
406 B
C++
17 lines
406 B
C++
|
#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(){
|
||
|
}
|