|
Re: NetworkTables compile issues
All you have to do is use the same function with different parameters. Instead of:
table->GetNumber("x");
do this instead
table->GetNumber("x", 0.0);
This just sets a default value for that value in the table in case the robot is not connected to the driver station yet. If it didn't it would throw an exception, like it says in the error.
|