4#include "frc/DriverStation.h"
6#include "hal/simulation/MockHooks.h"
10namespace motorcontrol {
15 return *autoFeedEnable;
20 HALSIM_RegisterSimPeriodicBeforeCallback(OnPeriodic,
this);
23 static void OnPeriodic(
void* param) {
24 if (frc::DriverStation::IsEnabled()) {
Definition: WPI_AutoFeedEnable.h:11
static WPI_AutoFeedEnable & GetInstance()
Definition: WPI_AutoFeedEnable.h:13
static void FeedEnable(int timeoutMs)
Feed the enable frame.
namespace ctre
Definition: paramEnum.h:5