Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Commit 4e15df3

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents bd549aa + 8ad185d commit 4e15df3

19 files changed

+238
-533
lines changed

src/main/java/com/nerdherd/lib/drivetrain/auto/DriveTrajectory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
public class DriveTrajectory extends Command {
1818

1919
private TrajectoryFollower m_controller;
20-
private double m_leftVelocity, m_rightVelocity, m_startTime, m_time, m_lastTime;
20+
private double m_startTime, m_time, m_lastTime;
2121
private AbstractDrivetrain m_drive;
2222

2323
public DriveTrajectory(AbstractDrivetrain drive, Trajectory traj, int lookahead, Boolean goingForwards, double kP, double kD) {

src/main/java/com/nerdherd/lib/drivetrain/auto/DriveTrajectoryPathfinder.java

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
package com.nerdherd.lib.drivetrain.auto;
99

10-
import java.io.File;
11-
1210
import com.nerdherd.lib.drivetrain.singlespeed.AbstractDrivetrain;
1311

1412
import edu.wpi.first.wpilibj.command.Command;
@@ -50,19 +48,7 @@ public DriveTrajectoryPathfinder(AbstractDrivetrain drive, Trajectory traj, doub
5048
requires(m_drive);
5149
}
5250

53-
// public DriveTrajectoryPathfinder(AbstractDrivetrain drive, String file) {
54-
// m_drive = drive;
55-
// File traj = new File("/home/lvuser/paths/" + file + "_source.traj");
56-
// SmartDashboard.putBoolean("Source exists", true);
57-
// m_sourceTrajectory = Pathfinder.readFromFile(traj);
58-
// File leftTraj = new File("/home/lvuser/paths/" + file + "_left.traj");
59-
// SmartDashboard.putBoolean("Left exists", true);
60-
// m_leftTrajectory = Pathfinder.readFromFile(leftTraj);
61-
// File rightTraj = new File("/home/lvuser/paths/" + file + "_right.traj");
62-
// SmartDashboard.putBoolean("Right exists", true);
63-
// m_rightTrajectory = Pathfinder.readFromFile(rightTraj);
64-
65-
// }
51+
6652

6753
// Called just before this Command runs the first time
6854
@Override

src/main/java/com/nerdherd/lib/drivetrain/shifting/AbstractGearShiftingDrivetrain.java

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)