mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Allowed sharing of common C++ code between RoboRIO and Simulation.
Change-Id: I8bf2bda9df389c13ae0567a62dbf0ca931ceb6f8
This commit is contained in:
committed by
Thomas Clark
parent
b371600f0f
commit
7c8124d76c
@@ -5,6 +5,7 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "RobotBase.h"
|
||||
#include "RobotState.h"
|
||||
#include "Utility.h"
|
||||
|
||||
#include <cstring>
|
||||
@@ -33,6 +34,7 @@ RobotBase &RobotBase::getInstance()
|
||||
RobotBase::RobotBase()
|
||||
{
|
||||
m_ds = DriverStation::GetInstance();
|
||||
RobotState::SetImplementation(DriverStation::GetInstance());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user