Quote:
Originally Posted by Whippet
We had the same issue, removing any SmartDashboard references fixed it.
|
Were you trying to do an autonomous selector on the SmartDashboard?
Because this code would cause our robot to crash in autonomous:
Code:
SmartDashboard::PutData("AutoCommand1Can", autoCommandMoveToZone);
SmartDashboard::PutData("AutoCommand1Can", autoCommand1Can);
SmartDashboard::PutData("AutoCommand1Can", autoCommand1Can1Tote);
The problem was buried deep in the NetworkTables code. I believe one of the STL mapping classes would return a null pointer on an attempt to add a duplicate key to the map, and the code wasn't checking for that.
I've been meaning to report it to the WPILib people, but I've been kind of busy..