ALL POST-MERGE ERRORS FIXED

This commit is contained in:
aarav18
2022-02-28 19:47:47 -07:00
parent add365dfc1
commit b249f8f690
2 changed files with 2 additions and 1 deletions
@@ -38,7 +38,7 @@ public class AimToCenter extends CommandBase {
// Called every time the scheduler runs while the command is scheduled.
@Override
public void execute() {
m_targetAngle = angleToCenter(x, y, m_drive.gyro.getAngle());
m_targetAngle = angleToCenter(x, y, m_drive.getRegGyro().getDegrees());
m_turret.runshooterRotatePID(m_targetAngle);
}
@@ -6,6 +6,7 @@ package frc4388.robot.subsystems;
import static org.junit.Assert.assertEquals;
// import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.mock;
import org.junit.Test;