Skip to content
This repository has been archived by the owner on Dec 24, 2018. It is now read-only.

Commit

Permalink
Kill emergency abort
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Saveau <[email protected]>
  • Loading branch information
SUPERCILEX committed Mar 4, 2018
1 parent 57f7e89 commit 77cd156
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 62 deletions.
6 changes: 1 addition & 5 deletions src/main/java/org/sert2521/powerup/drivetrain/Drivetrain.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import com.kauailabs.navx.frc.AHRS
import edu.wpi.first.wpilibj.I2C
import edu.wpi.first.wpilibj.drive.DifferentialDrive
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard
import org.sert2521.powerup.drivetrain.commands.EmergencyAbort
import org.sert2521.powerup.drivetrain.commands.TeleopDrive
import org.sert2521.powerup.util.LEFT_FRONT_MOTOR
import org.sert2521.powerup.util.LEFT_REAR_MOTOR
Expand Down Expand Up @@ -44,10 +43,7 @@ object Drivetrain : Subsystem() {
rightDrive.setSelectedSensor(FeedbackDevice.QuadEncoder)
}

override fun onStart() {
EmergencyAbort().start()
reset()
}
override fun onStart() = reset()

override fun execute() {
SmartDashboard.putNumber("Drivetrain Left Position", leftPosition.toDouble())
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 77cd156

Please sign in to comment.