Fixed motor following problem

This commit is contained in:
Aarav Shah
2020-02-20 16:53:13 -07:00
parent dda41a913d
commit c40bba15ff
@@ -469,8 +469,8 @@ public class Drive extends SubsystemBase {
m_rightBackMotor.set(TalonFXControlMode.Velocity, moveVelRight); m_rightBackMotor.set(TalonFXControlMode.Velocity, moveVelRight);
m_leftBackMotor.set(TalonFXControlMode.Velocity, moveVelLeft); m_leftBackMotor.set(TalonFXControlMode.Velocity, moveVelLeft);
m_leftFrontMotor.follow(m_leftFrontMotor); m_leftFrontMotor.follow(m_leftBackMotor);
m_rightFrontMotor.follow(m_rightFrontMotor); m_rightFrontMotor.follow(m_rightBackMotor);
m_driveTrain.feedWatchdog(); m_driveTrain.feedWatchdog();
} }