From f527b81592fef3600e59ac121829541f852602d8 Mon Sep 17 00:00:00 2001 From: sigalrmp Date: Mon, 21 Aug 2023 18:20:45 -0400 Subject: [PATCH] un-deleted constants --- .../org/sciborgs1155/robot/Constants.java | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/main/java/org/sciborgs1155/robot/Constants.java diff --git a/src/main/java/org/sciborgs1155/robot/Constants.java b/src/main/java/org/sciborgs1155/robot/Constants.java new file mode 100644 index 0000000..9770511 --- /dev/null +++ b/src/main/java/org/sciborgs1155/robot/Constants.java @@ -0,0 +1,30 @@ +package org.sciborgs1155.robot; + +/** + * Constants is a globally accessible class for storing immutable values. Every value should be + * public static final. + * + *

It is advised to statically import this class (or one of its inner classes) wherever the + * constants are needed, to reduce verbosity. + * + *

Units + * + *

+ * + * @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; + } +}