Took out straight from methods

This commit is contained in:
Aarav Shah
2020-02-13 17:51:54 -07:00
parent 110f18f569
commit 572dd7c730
4 changed files with 8 additions and 8 deletions
@@ -37,7 +37,7 @@ public class DriveStraightAtVelocityPID extends CommandBase {
@Override
public void execute() {
//System.err.println(m_drive.m_rightFrontMotor.getClosedLoopError(DriveConstants.PID_TURN));
m_drive.runDriveStraightVelocityPID(-m_targetVel, m_targetGyro);
m_drive.runDriveVelocityPID(-m_targetVel, m_targetGyro);
}
// Called once the command ends or is interrupted.