Create a constant for lidar object to use
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Constants.java
index 8176e5df0cc3d123717a021a70a22a0dfbaff04b..2a11d35971ea8f7d5315e35058409ee7194e5bd9 100644 (file)
@@ -2,6 +2,8 @@ package org.usfirst.frc.team3501.robot;
 
 import edu.wpi.first.wpilibj.DoubleSolenoid;
 import edu.wpi.first.wpilibj.DoubleSolenoid.Value;
+import edu.wpi.first.wpilibj.I2C;
+import edu.wpi.first.wpilibj.I2C.Port;
 
 /**
  * The Constants stores constant values for all subsystems. This includes the
@@ -109,6 +111,8 @@ public class Constants {
     public static final Value open = Value.kForward;
     public static final Value closed = Value.kReverse;
 
+    public static final Port LIDAR_I2C_PORT = I2C.Port.kMXP;
+
     public static enum State {
       RUNNING, STOPPED;
     }