GRIP only generates the vision processing code. You have to write the NetworkTables part.
If you take a look at
this screensteps page, you can publish to NetworkTables inside the callback in the second code block. Something like
Code:
visionThread = new VisionThread(camera, new Pipeline(), pipeline -> {
...
centerX = ...
centerY = ...
NetworkTables.getTable("vision").putNumber("centerX", centerX);
NetworkTables.getTable("vision").putNumber("centerY", centerY);
});
We should also have an example for sending results to the SmartDashboard up in the next few days.