Package frclib.drivebase
Class FrcRobotDrive.RobotInfo
java.lang.Object
frclib.drivebase.FrcRobotDrive.RobotInfo
- Direct Known Subclasses:
FrcSwerveDrive.SwerveInfo
- Enclosing class:
- FrcRobotDrive
This class contains the Common Robot Info.
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
boolean
int[]
boolean[]
String[]
double
com.studica.frc.AHRS.NavXComType
boolean
double
double
double
double
double
double
double
double
double
int[]
double[]
double[]
double
double
int[]
double[]
double[]
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
robotName
-
robotLength
public double robotLength -
robotWidth
public double robotWidth -
wheelBaseLength
public double wheelBaseLength -
wheelBaseWidth
public double wheelBaseWidth -
imuName
-
imuType
-
imuPort
public com.studica.frc.AHRS.NavXComType imuPort -
driveMotorType
-
driveMotorBrushless
public boolean driveMotorBrushless -
driveMotorAbsEnc
public boolean driveMotorAbsEnc -
driveMotorNames
-
driveMotorIds
public int[] driveMotorIds -
driveMotorInverted
public boolean[] driveMotorInverted -
odometryType
-
odWheelXScale
-
odWheelYScale
-
xOdWheelIndices
public int[] xOdWheelIndices -
xOdWheelXOffsets
public double[] xOdWheelXOffsets -
xOdWheelYOffsets
public double[] xOdWheelYOffsets -
yOdWheelIndices
public int[] yOdWheelIndices -
yOdWheelXOffsets
public double[] yOdWheelXOffsets -
yOdWheelYOffsets
public double[] yOdWheelYOffsets -
absoluteOdometry
-
headingWrapRangeLow
-
headingWrapRangeHigh
-
xDrivePosScale
public double xDrivePosScale -
yDrivePosScale
public double yDrivePosScale -
robotMaxVelocity
-
robotMaxAcceleration
-
robotMaxDeceleration
-
robotMaxTurnRate
-
profiledMaxVelocity
-
profiledMaxAcceleration
-
profiledMaxDeceleration
-
profiledMaxTurnRate
-
drivePidTolerance
public double drivePidTolerance -
turnPidTolerance
public double turnPidTolerance -
xDrivePidCoeffs
-
xDrivePidPowerLimit
public double xDrivePidPowerLimit -
xDriveMaxPidRampRate
-
yDrivePidCoeffs
-
yDrivePidPowerLimit
public double yDrivePidPowerLimit -
yDriveMaxPidRampRate
-
turnPidCoeffs
-
turnPidPowerLimit
public double turnPidPowerLimit -
turnMaxPidRampRate
-
pidStallDetectionEnabled
public boolean pidStallDetectionEnabled -
ppdFollowingDistance
public double ppdFollowingDistance -
velPidCoeffs
-
cam1
-
cam2
-
-
Constructor Details
-
RobotInfo
public RobotInfo()
-