Package frc.robot
Class Constants.SwerveConstants
java.lang.Object
frc.robot.Constants.SwerveConstants
- Enclosing class:
- Constants
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
Time to brake the chassis for after the robot is disabled, in secondsstatic final swervelib.math.Matter
The total mass of the drivetrain, eboard, and associated components.static final double
static final double
static final double
This is the time it takes for the PID to update in seconds, 20ms + 110ms sprk max velocity lagstatic final double
static final double
static final double
static final double
The total mass of the robot, in kilograms.static final double
static final double
static final double
static final double
-
Constructor Summary
-
Method Summary
-
Field Details
-
LOOP_TIME
public static final double LOOP_TIMEThis is the time it takes for the PID to update in seconds, 20ms + 110ms sprk max velocity lag- See Also:
-
ROBOT_MASS
public static final double ROBOT_MASSThe total mass of the robot, in kilograms. Includes Batteries and bumper weight -
DRIVEBASE
public static final swervelib.math.Matter DRIVEBASEThe total mass of the drivetrain, eboard, and associated components. Position reflects the aproximate center of mass, relative to the floor, in meters -
BRAKE_TIMER_DURATION
public static final double BRAKE_TIMER_DURATIONTime to brake the chassis for after the robot is disabled, in seconds- See Also:
-
MAX_VELOCITY_METER_PER_SEC
public static final double MAX_VELOCITY_METER_PER_SEC -
SLOW_SPEED_DECREMENT
public static final double SLOW_SPEED_DECREMENT- See Also:
-
THE_NUMBER_THREE_TWO
public static final double THE_NUMBER_THREE_TWO- See Also:
-
REGULAR_SPEED
public static final double REGULAR_SPEED- See Also:
-
FAST_SPEED_INCREMENT
public static final double FAST_SPEED_INCREMENT- See Also:
-
PRECISE_INCREMENT
public static final double PRECISE_INCREMENT- See Also:
-
TURN_TO_TAG_RANGE_FOR_END
public static final double TURN_TO_TAG_RANGE_FOR_END- See Also:
-
TURN_TO_ANGLE_RANGE_FOR_END
public static final double TURN_TO_ANGLE_RANGE_FOR_END- See Also:
-
FAST_TURN_TIME
public static final double FAST_TURN_TIME- See Also:
-
-
Constructor Details
-
SwerveConstants
public SwerveConstants()
-