mirror of
https://github.com/trc492/FtcTemplate.git
synced 2025-07-02 13:31:24 -07:00
Updated ftclib.
Added OdWheel mappings to RobotInfo.
This commit is contained in:
Submodule TeamCode/src/main/java/ftclib updated: 67a299f9b5...a461f69cf0
@ -297,12 +297,12 @@ public class RobotParams
|
|||||||
driveMotorInverted = new boolean[] {true, false};
|
driveMotorInverted = new boolean[] {true, false};
|
||||||
// Odometry Wheels
|
// Odometry Wheels
|
||||||
odWheelScale = Math.PI * ODWHEEL_DIAMETER / ODWHEEL_CPR; // 0.00105687652708656383937269814237 in/count
|
odWheelScale = Math.PI * ODWHEEL_DIAMETER / ODWHEEL_CPR; // 0.00105687652708656383937269814237 in/count
|
||||||
xOdWheelOffsetX = 0.0;
|
xOdWheelIndices = new int[] {FtcRobotDrive.INDEX_RIGHT_BACK};
|
||||||
xOdWheelOffsetY = -168.0 * TrcUtil.INCHES_PER_MM;
|
xOdWheelXOffsets = new double[] {0.0};
|
||||||
yLeftOdWheelOffsetX = -144.0 * TrcUtil.INCHES_PER_MM;
|
xOdWheelYOffsets = new double[] {-168.0 * TrcUtil.INCHES_PER_MM};
|
||||||
yLeftOdWheelOffsetY = -12.0 * TrcUtil.INCHES_PER_MM;
|
yOdWheelIndices = new int[] {FtcRobotDrive.INDEX_LEFT_FRONT, FtcRobotDrive.INDEX_RIGHT_FRONT};
|
||||||
yRightOdWheelOffsetX = 144.0 * TrcUtil.INCHES_PER_MM;
|
yOdWheelXOffsets = new double[] {-144.0 * TrcUtil.INCHES_PER_MM, -12.0 * TrcUtil.INCHES_PER_MM};
|
||||||
yRightOdWheelOffsetY = -12.0 * TrcUtil.INCHES_PER_MM;
|
yOdWheelYOffsets = new double[] {144.0 * TrcUtil.INCHES_PER_MM, -12.0 * TrcUtil.INCHES_PER_MM};
|
||||||
// Drive Motor Odometry
|
// Drive Motor Odometry
|
||||||
yDrivePosScale = 0.02166184604662450653409090909091; // in/count
|
yDrivePosScale = 0.02166184604662450653409090909091; // in/count
|
||||||
// Robot Drive Characteristics
|
// Robot Drive Characteristics
|
||||||
@ -362,12 +362,12 @@ public class RobotParams
|
|||||||
driveMotorInverted = new boolean[] {true, false, true, false};
|
driveMotorInverted = new boolean[] {true, false, true, false};
|
||||||
// Odometry Wheels
|
// Odometry Wheels
|
||||||
odWheelScale = Math.PI * ODWHEEL_DIAMETER / ODWHEEL_CPR; // 0.00105687652708656383937269814237 in/count
|
odWheelScale = Math.PI * ODWHEEL_DIAMETER / ODWHEEL_CPR; // 0.00105687652708656383937269814237 in/count
|
||||||
xOdWheelOffsetX = 0.0;
|
xOdWheelIndices = new int[] {FtcRobotDrive.INDEX_RIGHT_BACK};
|
||||||
xOdWheelOffsetY = -168.0 * TrcUtil.INCHES_PER_MM;
|
xOdWheelXOffsets = new double[] {0.0};
|
||||||
yLeftOdWheelOffsetX = -144.0 * TrcUtil.INCHES_PER_MM;
|
xOdWheelYOffsets = new double[] {-168.0 * TrcUtil.INCHES_PER_MM};
|
||||||
yLeftOdWheelOffsetY = -12.0 * TrcUtil.INCHES_PER_MM;
|
yOdWheelIndices = new int[] {FtcRobotDrive.INDEX_LEFT_FRONT, FtcRobotDrive.INDEX_RIGHT_FRONT};
|
||||||
yRightOdWheelOffsetX = 144.0 * TrcUtil.INCHES_PER_MM;
|
yOdWheelXOffsets = new double[] {-144.0 * TrcUtil.INCHES_PER_MM, -12.0 * TrcUtil.INCHES_PER_MM};
|
||||||
yRightOdWheelOffsetY = -12.0 * TrcUtil.INCHES_PER_MM;
|
yOdWheelYOffsets = new double[] {144.0 * TrcUtil.INCHES_PER_MM, -12.0 * TrcUtil.INCHES_PER_MM};
|
||||||
// Drive Motor Odometry
|
// Drive Motor Odometry
|
||||||
xDrivePosScale = 0.01924724265461924299065420560748; // in/count
|
xDrivePosScale = 0.01924724265461924299065420560748; // in/count
|
||||||
yDrivePosScale = 0.02166184604662450653409090909091; // in/count
|
yDrivePosScale = 0.02166184604662450653409090909091; // in/count
|
||||||
@ -431,12 +431,12 @@ public class RobotParams
|
|||||||
driveMotorInverted = new boolean[] {true, false, true, false};
|
driveMotorInverted = new boolean[] {true, false, true, false};
|
||||||
// Odometry Wheels
|
// Odometry Wheels
|
||||||
odWheelScale = Math.PI * ODWHEEL_DIAMETER / ODWHEEL_CPR; // 0.00105687652708656383937269814237 in/count
|
odWheelScale = Math.PI * ODWHEEL_DIAMETER / ODWHEEL_CPR; // 0.00105687652708656383937269814237 in/count
|
||||||
xOdWheelOffsetX = 0.0;
|
xOdWheelIndices = new int[] {FtcRobotDrive.INDEX_RIGHT_BACK};
|
||||||
xOdWheelOffsetY = -168.0 * TrcUtil.INCHES_PER_MM;
|
xOdWheelXOffsets = new double[] {0.0};
|
||||||
yLeftOdWheelOffsetX = -144.0 * TrcUtil.INCHES_PER_MM;
|
xOdWheelYOffsets = new double[] {-168.0 * TrcUtil.INCHES_PER_MM};
|
||||||
yLeftOdWheelOffsetY = -12.0 * TrcUtil.INCHES_PER_MM;
|
yOdWheelIndices = new int[] {FtcRobotDrive.INDEX_LEFT_FRONT, FtcRobotDrive.INDEX_RIGHT_FRONT};
|
||||||
yRightOdWheelOffsetX = 144.0 * TrcUtil.INCHES_PER_MM;
|
yOdWheelXOffsets = new double[] {-144.0 * TrcUtil.INCHES_PER_MM, -12.0 * TrcUtil.INCHES_PER_MM};
|
||||||
yRightOdWheelOffsetY = -12.0 * TrcUtil.INCHES_PER_MM;
|
yOdWheelYOffsets = new double[] {144.0 * TrcUtil.INCHES_PER_MM, -12.0 * TrcUtil.INCHES_PER_MM};
|
||||||
// Drive Motor Odometry
|
// Drive Motor Odometry
|
||||||
xDrivePosScale = 0.01924724265461924299065420560748; // in/count
|
xDrivePosScale = 0.01924724265461924299065420560748; // in/count
|
||||||
yDrivePosScale = 0.01924724265461924299065420560748; // in/count
|
yDrivePosScale = 0.01924724265461924299065420560748; // in/count
|
||||||
|
Reference in New Issue
Block a user