Class Swerve.SimErrors
java.lang.Object
frc.robot.subsystems.swerve.Swerve.SimErrors
- Enclosing class:
Swerve
Deliberate odometry error in simulation, so the comparison between vision sources has
something to correct. The truth pose is the uncorrupted odometry.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleGyro drift, degrees per second.static final doubleMeasured wheel distance over true distance. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
WHEEL_SCALE
public static final double WHEEL_SCALEMeasured wheel distance over true distance. 1.02 is a worn-tread two percent.- See Also:
-
GYRO_DRIFT_DEG_PER_SEC
public static final double GYRO_DRIFT_DEG_PER_SECGyro drift, degrees per second.- See Also:
-
-
Constructor Details
-
SimErrors
public SimErrors()
-