Skip to content

Commit

Permalink
wheel radius circumference, drive gear ratio, sterring ratio constants
Browse files Browse the repository at this point in the history
  • Loading branch information
GBKP committed Jan 8, 2024
1 parent bed662f commit 67a8b03
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

package frc.robot;

import static java.lang.Math.PI;

/**
* The Constants class provides a convenient place for teams to hold robot-wide numerical or boolean
* constants. This class should not be used for any other purpose. All constants should be declared
Expand All @@ -23,6 +25,11 @@
*/
public final class Constants {
public static final Mode currentMode = Mode.SIM;
//*START OF CONSTANTS FOR SWERVE* (STILL MISSING WHEEL POSITIONS - Im not on the cad thingy so i cant see it)
double WHEEL_RADIUS = 0.0508;
double WHEEL_CIRCUMFERENCE = WHEEL_RADIUS * 2 * PI;
double DRIVE_GEAR_RATIO = 6.75;
double STEERING_RATIO = (150/7);

public static enum Mode {
/** Running on a real robot. */
Expand Down

0 comments on commit 67a8b03

Please sign in to comment.