Minor fixes required to enable the simulated robots to run (#1181)

* Fix bugs in PacGoat Java example that prevent it from working.

We have conflicting ports in use, each of which causes a crash
at startup.  These changes fix those issues.

* Change to avoid a crash in Visual C++ when running simulated code.

Without this change, we would get a crash in SendableRobotBase when
constructing a Twine from the 'kOptions' constant string;
we'd get an unable to access memory exception.
This commit is contained in:
Jeremy White
2018-07-22 02:58:42 -05:00
committed by Peter Johnson
parent ae72c0b296
commit 85118a023d
4 changed files with 5 additions and 9 deletions

View File

@@ -9,8 +9,4 @@
using namespace frc;
const char* SendableChooserBase::kDefault = "default";
const char* SendableChooserBase::kOptions = "options";
const char* SendableChooserBase::kSelected = "selected";
SendableChooserBase::SendableChooserBase() : SendableBase(false) {}