mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Switch Command Templates to TimedRobot (#719)
This commit is contained in:
committed by
Peter Johnson
parent
7bbd13d914
commit
6be9e69d13
@@ -7,7 +7,7 @@
|
||||
|
||||
package edu.wpi.first.wpilibj.templates.commandbased;
|
||||
|
||||
import edu.wpi.first.wpilibj.IterativeRobot;
|
||||
import edu.wpi.first.wpilibj.TimedRobot;
|
||||
import edu.wpi.first.wpilibj.command.Command;
|
||||
import edu.wpi.first.wpilibj.command.Scheduler;
|
||||
import edu.wpi.first.wpilibj.livewindow.LiveWindow;
|
||||
@@ -18,12 +18,12 @@ import edu.wpi.first.wpilibj.templates.commandbased.subsystems.ExampleSubsystem;
|
||||
|
||||
/**
|
||||
* The VM is configured to automatically run this class, and to call the
|
||||
* functions corresponding to each mode, as described in the IterativeRobot
|
||||
* functions corresponding to each mode, as described in the TimedRobot
|
||||
* documentation. If you change the name of this class or the package after
|
||||
* creating this project, you must also update the build.properties file in the
|
||||
* project.
|
||||
*/
|
||||
public class Robot extends IterativeRobot {
|
||||
public class Robot extends TimedRobot {
|
||||
|
||||
public static final ExampleSubsystem kExampleSubsystem
|
||||
= new ExampleSubsystem();
|
||||
|
||||
Reference in New Issue
Block a user