Without seeing more of the code, it will be difficult to determine what the issue is. Are you having problems both on and off the field? Is there any way the power values to the motors could be different between Autonomous and Teleop modes?
Also, if you wrap your code in [code][/code] tags, it will format nicely, like this:
Code:
public void autonomous() {
myDrive.setSafetyEnabled(false);
myDrive.drive(-.5, 0.0);
Timer.delay(3.5);
myDrive.stopMotor();
Timer.delay(1.5);
startRaisingLauncher();
Timer.delay(3.5);
stopMovingLauncher();
stopAll();
}
// Raising launcher method:
private void startRaisingLauncher() {
setLiftPower(-1);
}
// set power method:
private void setLiftPower(double power) {
M1.set(-power);
M2.set(power);
}