intake coded
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
package org.firstinspires.ftc.teamcode.constants;
|
||||||
|
|
||||||
|
import com.acmerobotics.dashboard.config.Config;
|
||||||
|
|
||||||
|
@Config
|
||||||
|
public class ServoVars {
|
||||||
|
|
||||||
|
|
||||||
|
//Standard Naming Convention: servoName_VarInSentenceCase
|
||||||
|
|
||||||
|
public static double turret_Range = 355; //In Degrees
|
||||||
|
public static double turret_GearRatio = 0.9974;
|
||||||
|
|
||||||
|
public static double rejecter_Out = 1.0;
|
||||||
|
public static double rejecter_In = 0.0;
|
||||||
|
}
|
||||||
@@ -13,17 +13,17 @@ import java.util.Objects;
|
|||||||
|
|
||||||
public class Drivetrain implements Subsystem {
|
public class Drivetrain implements Subsystem {
|
||||||
|
|
||||||
private GamepadEx gamepad;
|
private final GamepadEx gamepad;
|
||||||
|
|
||||||
public MultipleTelemetry TELE;
|
public MultipleTelemetry TELE;
|
||||||
|
|
||||||
private String Mode = "Default";
|
private String Mode = "Default";
|
||||||
|
|
||||||
private DcMotorEx fl;
|
private final DcMotorEx fl;
|
||||||
|
|
||||||
private DcMotorEx fr;
|
private final DcMotorEx fr;
|
||||||
private DcMotorEx bl;
|
private final DcMotorEx bl;
|
||||||
private DcMotorEx br;
|
private final DcMotorEx br;
|
||||||
|
|
||||||
private double defaultSpeed = 0.7;
|
private double defaultSpeed = 0.7;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user