package org.usfirst.frc.team3501.robot;
+import java.io.IOException;
+import java.net.Socket;
+
import org.usfirst.frc.team3501.robot.Constants.Defense;
import org.usfirst.frc.team3501.robot.subsystems.DefenseArm;
import org.usfirst.frc.team3501.robot.subsystems.DriveTrain;
// Sendable Choosers send a drop down menu to the Smart Dashboard.
SendableChooser positionChooser;
SendableChooser positionOneDefense, positionTwoDefense, positionThreeDefense,
- positionFourDefense, positionFiveDefense;
+ positionFourDefense, positionFiveDefense;
+
+ Socket beagleBone;
@Override
public void robotInit() {
+ try {
+ beagleBone = new Socket("10.35.1.20", 1024);
+ } catch (IOException e) {
+ System.out.println(e);
+ }
+
driveTrain = new DriveTrain();
oi = new OI();