Package frc.robot

Class Constants.DrivetrainConstants

java.lang.Object
frc.robot.Constants.DrivetrainConstants
Enclosing class:
Constants

public static class Constants.DrivetrainConstants extends Object
Constants used by the Drivetrain.
  • Field Details

    • MAX_SPEED

      public static final double MAX_SPEED
      Maximum speed of the robot in meters per second.
    • CONFIG_DIR

      public static final File CONFIG_DIR
      Directory that contains the YAGSL configuration.
    • TELEMETRY_VERBOSITY_DEBUG

      public static final SwerveDriveTelemetry.TelemetryVerbosity TELEMETRY_VERBOSITY_DEBUG
      YAGSL telemetry verbosity when in debug mode.
    • TELEMETRY_VERBOSITY_NORMAL

      public static final SwerveDriveTelemetry.TelemetryVerbosity TELEMETRY_VERBOSITY_NORMAL
      YAGSL telemetry verbosity when in normal mode.
    • TRANSLATION_SCALE

      public static final double TRANSLATION_SCALE
      Translation axis scaling. Changes the overall maximum speed of the drivetrain.
      See Also:
    • STARTING_POSITION

      public static final Pose2d STARTING_POSITION
      Starting pose.
    • ENABLE_HEADING_CORRECTION

      public static final boolean ENABLE_HEADING_CORRECTION
      Enables heading correction. Should only be used while controlling the robot via angle.
      See Also:
    • ENABLE_COSINE_COMPENSATION

      public static final boolean ENABLE_COSINE_COMPENSATION
      See Also:
  • Constructor Details

    • DrivetrainConstants

      public DrivetrainConstants()