#include "Drive.h"
#include "../../OI.h"
#include "../../Subsystems/DriveTrain.h"

Drive::Drive() 
{
	// Use requires() here to declare subsystem dependencies
	Requires(driveTrain);
}

// Called just before this Command runs the first time
void Drive::Initialize() 
{
	
}

// Called repeatedly when this Command is scheduled to run
void Drive::Execute() {
//	driveTrain->DriveArcade(oi->getStick());
	driveTrain->DriveXbox(oi->getXbox());
//  driveTrain->XboxTankDrive(oi->getXbox());
//  driveTrain->XboxPaulDrive(oi->getXbox());

} 

// Make this return true when this Command no longer needs to run execute()
bool Drive::IsFinished() 
{
	//This command should never end.
	return false;
}

// Called once after isFinished returns true
void Drive::End()
{
	
}

// Called when another command which requires one or more of the same
// subsystems is scheduled to run
void Drive::Interrupted()
{
	
}
