latest update
This commit is contained in:
@ -58,18 +58,19 @@ public final class MecanumDrive {
|
|||||||
// TODO: fill in these values based on
|
// TODO: fill in these values based on
|
||||||
// see https://ftc-docs.firstinspires.org/en/latest/programming_resources/imu/imu.html?highlight=imu#physical-hub-mounting
|
// see https://ftc-docs.firstinspires.org/en/latest/programming_resources/imu/imu.html?highlight=imu#physical-hub-mounting
|
||||||
public RevHubOrientationOnRobot.LogoFacingDirection logoFacingDirection =
|
public RevHubOrientationOnRobot.LogoFacingDirection logoFacingDirection =
|
||||||
RevHubOrientationOnRobot.LogoFacingDirection.UP;
|
RevHubOrientationOnRobot.LogoFacingDirection.DOWN;
|
||||||
public RevHubOrientationOnRobot.UsbFacingDirection usbFacingDirection =
|
public RevHubOrientationOnRobot.UsbFacingDirection usbFacingDirection =
|
||||||
RevHubOrientationOnRobot.UsbFacingDirection.FORWARD;
|
RevHubOrientationOnRobot.UsbFacingDirection.LEFT;
|
||||||
|
|
||||||
// drive model parameters
|
// drive model parameters
|
||||||
public double inPerTick = 1;
|
//public double inPerTick = 37619.0/112;
|
||||||
public double lateralInPerTick = inPerTick;
|
public double inPerTick = 18760.5/56;
|
||||||
public double trackWidthTicks = 0;
|
public double lateralInPerTick = 293.2046574609792;
|
||||||
|
public double trackWidthTicks = 3968.437903995162;
|
||||||
|
|
||||||
// feedforward parameters (in tick units)
|
// feedforward parameters (in tick units)
|
||||||
public double kS = 0;
|
public double kS = 0.7748584778215575;
|
||||||
public double kV = 0;
|
public double kV = 0.0005849868585467051;
|
||||||
public double kA = 0;
|
public double kA = 0;
|
||||||
|
|
||||||
// path profile parameters (in inches)
|
// path profile parameters (in inches)
|
||||||
|
Reference in New Issue
Block a user