Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit dad76f7

Browse files
changes to get it working
1 parent 54c5bea commit dad76f7

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

Robot2018/.classpath

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
<classpathentry kind="lib" path="lib/CTRE_Phoenix-sources.jar"/>
1717
<classpathentry kind="lib" path="lib/CTRE_Phoenix.jar"/>
1818
<classpathentry kind="lib" path="lib/navx_frc.jar"/>
19+
<classpathentry kind="var" path="USERLIBS_DIR/CTRE_Phoenix-sources.jar"/>
20+
<classpathentry kind="var" path="USERLIBS_DIR/CTRE_Phoenix.jar"/>
21+
<classpathentry kind="var" path="USERLIBS_DIR/navx_frc.jar"/>
1922
<classpathentry kind="output" path="bin"/>
2023
</classpath>

Robot2018/.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>Robot2018</name>
3+
<name>DSRobot2018</name>
44
<comment></comment>
55
<projects>
66
</projects>

Robot2018/src/org/usfirst/frc/team199/Robot2018/RobotMap.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public RobotMap() {
9797
//getPort("LeftTalonSRXDrive", 2));
9898
configSRX(dtLeftDrive);
9999
dtLeftSlave = new WPI_VictorSPX(0);
100-
//getPort("LeftTalonSPXSlave", 0));
100+
//getPort("LeftVictorSPXSlave", 0));
101101
configSPX(dtLeftSlave);
102102
dtLeft = new SpeedControllerGroup(dtLeftDrive, dtLeftSlave);
103103

@@ -106,7 +106,7 @@ public RobotMap() {
106106
//getPort("RightTalonSRXDrive", 1));
107107
configSRX(dtRightDrive);
108108
dtRightSlave = new WPI_VictorSPX(3);
109-
//getPort("RightTalonSPXSlave", 3));
109+
//getPort("RightVictorSPXSlave", 3));
110110
configSPX(dtRightSlave);
111111
dtRight = new SpeedControllerGroup(dtRightDrive, dtRightSlave);
112112

Robot2018/src/org/usfirst/frc/team199/Robot2018/subsystems/Drivetrain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public void teleopDrive() {
158158
Robot.dt.arcadeDrive(-Robot.oi.rightJoy.getY(), Robot.oi.leftJoy.getX());
159159
}
160160
} else {
161-
Robot.dt.tankDrive(-Robot.oi.leftJoy.getY(), Robot.oi.rightJoy.getY());
161+
Robot.dt.tankDrive(-Robot.oi.leftJoy.getY(), -Robot.oi.rightJoy.getY());
162162
}
163163
}
164164

0 commit comments

Comments
 (0)