mirror of
https://github.com/Team4388/2019-Hit-or-Miss.git
synced 2026-06-09 00:28:05 -06:00
enable disabled reset encoder functionality for safety
This commit is contained in:
@@ -260,8 +260,8 @@ public class Arm extends Subsystem implements ControlLoopable
|
||||
public void resetEncoder(){
|
||||
motorEncoder.setPosition(0);
|
||||
//motor1.setEncPosition(0);
|
||||
//targetPositionInchesMM = 0;
|
||||
//targetPositionInchesPID = 0;
|
||||
targetPositionInchesSM = 0;
|
||||
targetPositionInchesPID = 0;
|
||||
}
|
||||
|
||||
private synchronized void setArmControlMode(ArmControlMode controlMode) {
|
||||
|
||||
Reference in New Issue
Block a user