Quasics2015Code/src/DriveTrain/DriveTrain.cpp
//Functions
//Teleop Power Setting
/*Tank Drive
 * Set the power to both sides manually
 */
Functions
Teleop Power Setting
Tank Drive
Set the power to both sides manually
Functions Teleop Power Setting Tank Drive Set the power to both sides manually
void DriveTrain::SetDrivePower(float leftDrivePower, float rightDrivePower) {
	leftFront.Set(leftDrivePower);
	leftRear.Set(leftDrivePower);
	rightFront.Set(-rightDrivePower);
	rightRear.Set(-rightDrivePower);
}
void DriveTrain :: SetDrivePower ( float leftDrivePower , float rightDrivePower ) { leftFront . Set ( leftDrivePower ) ; leftRear . Set ( leftDrivePower ) ; rightFront . Set ( - rightDrivePower ) ; rightRear . Set ( - rightDrivePower ) ; }
Functions
Teleop Power Setting
Tank Drive
 Set the power to both sides manually
Functions Teleop Power Setting Tank Drive Set the power to both sides manually