Robot work now

Fix inline command code that was not requiring any subsystems.
This commit is contained in:
Keenan D. Buckley
2020-01-10 21:21:16 -07:00
parent edccc966b0
commit 290e54157f
@@ -45,9 +45,9 @@ public class RobotContainer {
// drives the robot with a two-axis input from the driver controller
m_robotDrive.setDefaultCommand(new RunCommand(() -> m_robotDrive.driveWithInput(
getDriverController().getLeftYAxis(),
getDriverController().getRightXAxis())));
getDriverController().getRightXAxis()), m_robotDrive));
// continually sends updates to the Blinkin LED controller to keep the lights on
m_robotLED.setDefaultCommand(new RunCommand(() -> m_robotLED.updateLED()));
m_robotLED.setDefaultCommand(new RunCommand(() -> m_robotLED.updateLED(), m_robotLED));
}
/**