commit fixed arm bugs
This commit is contained in:
@ -21,6 +21,7 @@ public class HangMotorSubsystem {
|
|||||||
return Return;
|
return Return;
|
||||||
}
|
}
|
||||||
public void init(){
|
public void init(){
|
||||||
|
//init hook, set runmodes
|
||||||
hang.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);
|
hang.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);
|
||||||
hang.setDirection(DcMotorSimple.Direction.FORWARD);
|
hang.setDirection(DcMotorSimple.Direction.FORWARD);
|
||||||
hang.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);
|
hang.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);
|
||||||
|
Reference in New Issue
Block a user