11#include "wpi/units/time.hpp"
A wrapper around Driver Station control word.
Definition DriverStationTypes.hpp:29
HAL_RuntimeType
Runtime type.
Definition HALBase.h:27
Definition CTREPCMSim.hpp:13
void SetRuntimeType(HAL_RuntimeType type)
Override the HAL runtime type (simulated/real).
wpi::hal::ControlWord GetProgramState()
Gets the user program state (control word).
void WaitForProgramStart()
Waits until the user program has started.
void StepTimingAsync(wpi::units::second_t delta)
Advance the simulator time and return immediately.
void SetProgramStarted(bool started)
Sets flag that indicates if the user program has started.
void RestartTiming()
Restart the simulator time.
bool GetProgramStarted()
Returns true if the user program has started.
void PauseTiming()
Pause the simulator time.
void ResumeTiming()
Resume the simulator time.
bool IsTimingPaused()
Check if the simulator time is paused.
void SetProgramState(wpi::hal::ControlWord controlWord)
Sets the user program state (control word).
void StepTiming(wpi::units::second_t delta)
Advance the simulator time and wait for all notifiers to run.