Skip to content

Commit

Permalink
un-deleted constants
Browse files Browse the repository at this point in the history
  • Loading branch information
sigalrmp committed Aug 21, 2023
1 parent 77e5549 commit f527b81
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/main/java/org/sciborgs1155/robot/Constants.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package org.sciborgs1155.robot;

/**
* Constants is a globally accessible class for storing immutable values. Every value should be
* <code>public static final</code>.
*
* <p>It is advised to statically import this class (or one of its inner classes) wherever the
* constants are needed, to reduce verbosity.
*
* <p><b>Units</b>
*
* <ul>
* <li>length: meters
* <li>time: seconds
* <li>angle: radians
* </ul>
*
* @see MotorConfig
* @see Conversion
* @see PIDConstants
* @see Constraints
*/
public final class Constants {
public static final double PERIOD = 0.02;

public static class OI {
public static final int DRIVER = 1;
public static final int OPERATOR = 0;
}
}

0 comments on commit f527b81

Please sign in to comment.