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 @@
|
||||
|
||||
#include <Commands/Command.h>
|
||||
#include <Commands/Scheduler.h>
|
||||
#include <IterativeRobot.h>
|
||||
#include <TimedRobot.h>
|
||||
#include <LiveWindow/LiveWindow.h>
|
||||
#include <SmartDashboard/SendableChooser.h>
|
||||
#include <SmartDashboard/SmartDashboard.h>
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "Commands/ExampleCommand.h"
|
||||
#include "Commands/MyAutoCommand.h"
|
||||
|
||||
class Robot : public frc::IterativeRobot {
|
||||
class Robot : public frc::TimedRobot {
|
||||
public:
|
||||
void RobotInit() override {
|
||||
m_chooser.AddDefault("Default Auto", &m_defaultAuto);
|
||||
|
||||
Reference in New Issue
Block a user