blob: 986fe022809ee57feb701765ae9088f9a7186980 [file] [log] [blame]
brians343bc112013-02-10 01:53:46 +00001#include "WPILib/DriverStation.h"
2#include "WPILib/RobotBase.h"
3
4namespace aos {
5namespace crio {
6
7class ControlsManager : public RobotBase {
8 public:
9 // Gets called when it is time to register all the control loops.
10 virtual void RegisterControlLoops() = 0;
11 virtual void StartCompetition();
12 static inline ControlsManager &GetInstance() {
13 return *static_cast<ControlsManager *>(&RobotBase::getInstance());
14 }
15 inline DriverStation *GetDS() {
16 return m_ds;
17 }
18};
19
20} // namespace crio
21} // namespace aos