mirror of
https://github.com/trc492/FtcTemplate.git
synced 2025-07-02 21:41:24 -07:00
Updated ftclib.
Separated out the odo wheel scale to per axis.
This commit is contained in:
Submodule TeamCode/src/main/java/ftclib updated: a461f69cf0...82c7841751
@ -296,7 +296,7 @@ public class RobotParams
|
|||||||
driveMotorNames = new String[] {"lfDriveMotor", "rfDriveMotor"};
|
driveMotorNames = new String[] {"lfDriveMotor", "rfDriveMotor"};
|
||||||
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
|
odWheelXScale = odWheelYScale = Math.PI * ODWHEEL_DIAMETER / ODWHEEL_CPR;
|
||||||
xOdWheelIndices = new int[] {FtcRobotDrive.INDEX_RIGHT_BACK};
|
xOdWheelIndices = new int[] {FtcRobotDrive.INDEX_RIGHT_BACK};
|
||||||
xOdWheelXOffsets = new double[] {0.0};
|
xOdWheelXOffsets = new double[] {0.0};
|
||||||
xOdWheelYOffsets = new double[] {-168.0 * TrcUtil.INCHES_PER_MM};
|
xOdWheelYOffsets = new double[] {-168.0 * TrcUtil.INCHES_PER_MM};
|
||||||
@ -361,7 +361,7 @@ public class RobotParams
|
|||||||
driveMotorNames = new String[] {"lfDriveMotor", "rfDriveMotor", "lbDriveMotor", "rbDriveMotor"};
|
driveMotorNames = new String[] {"lfDriveMotor", "rfDriveMotor", "lbDriveMotor", "rbDriveMotor"};
|
||||||
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
|
odWheelXScale = odWheelYScale = Math.PI * ODWHEEL_DIAMETER / ODWHEEL_CPR;
|
||||||
xOdWheelIndices = new int[] {FtcRobotDrive.INDEX_RIGHT_BACK};
|
xOdWheelIndices = new int[] {FtcRobotDrive.INDEX_RIGHT_BACK};
|
||||||
xOdWheelXOffsets = new double[] {0.0};
|
xOdWheelXOffsets = new double[] {0.0};
|
||||||
xOdWheelYOffsets = new double[] {-168.0 * TrcUtil.INCHES_PER_MM};
|
xOdWheelYOffsets = new double[] {-168.0 * TrcUtil.INCHES_PER_MM};
|
||||||
@ -430,7 +430,7 @@ public class RobotParams
|
|||||||
driveMotorNames = new String[] {"lfDriveMotor", "rfDriveMotor", "lbDriveMotor", "rbDriveMotor"};
|
driveMotorNames = new String[] {"lfDriveMotor", "rfDriveMotor", "lbDriveMotor", "rbDriveMotor"};
|
||||||
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
|
odWheelXScale = odWheelYScale = Math.PI * ODWHEEL_DIAMETER / ODWHEEL_CPR;
|
||||||
xOdWheelIndices = new int[] {FtcRobotDrive.INDEX_RIGHT_BACK};
|
xOdWheelIndices = new int[] {FtcRobotDrive.INDEX_RIGHT_BACK};
|
||||||
xOdWheelXOffsets = new double[] {0.0};
|
xOdWheelXOffsets = new double[] {0.0};
|
||||||
xOdWheelYOffsets = new double[] {-168.0 * TrcUtil.INCHES_PER_MM};
|
xOdWheelYOffsets = new double[] {-168.0 * TrcUtil.INCHES_PER_MM};
|
||||||
|
Reference in New Issue
Block a user