mirror of
https://github.com/Team4388/2023WayOfTheRobot.git
synced 2026-06-09 00:37:59 -06:00
target alignment basically completed
This commit is contained in:
@@ -156,15 +156,7 @@ public class Arm extends SubsystemBase {
|
||||
// double x = Math.cos(Math.toRadians(degrees));
|
||||
}
|
||||
|
||||
boolean soft_limits = true;
|
||||
public void killSoftLimits() {
|
||||
resetTeleSoftLimit();
|
||||
var pivot_soft = m_pivot.getSelectedSensorPosition();
|
||||
var tele_soft = m_tele.getSelectedSensorPosition();
|
||||
|
||||
m_pivot.configForwardSoftLimitEnable(!soft_limits);
|
||||
m_pivot.configReverseSoftLimitEnable(!soft_limits);
|
||||
|
||||
soft_limits = !soft_limits;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user