WPILibC++  2020.3.2
SimHooks.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */
3 /* Open Source Software - may be modified and shared by FRC teams. The code */
4 /* must be accompanied by the FIRST BSD license file in the root directory of */
5 /* the project. */
6 /*----------------------------------------------------------------------------*/
7 
8 #pragma once
9 
10 #include "mockdata/MockHooks.h"
11 
12 namespace frc {
13 namespace sim {
14 
15 void WaitForProgramStart() { HALSIM_WaitForProgramStart(); }
16 
17 void SetProgramStarted() { HALSIM_SetProgramStarted(); }
18 
19 bool GetProgramStarted() { return HALSIM_GetProgramStarted(); }
20 
21 void RestartTiming() { HALSIM_RestartTiming(); }
22 
23 } // namespace sim
24 } // namespace frc
frc
A class that enforces constraints on the differential drive kinematics.
Definition: SPIAccelerometerSim.h:16