I’ve been working with GRIP on a Kangaroo with good results, but haven’t been able to figure out how to get the Network Table Viewer working right for test/troubleshooting. I’m sure it’s user error and others have this working - any pointers? I’m not sure how to correctly configure the viewer. Thanks in advance.
I had documented some of this process a year or two ago and it is currently linked from the ScreenSteps documentation at https://wpilib.screenstepslive.com/s/currentCS/m/vision/l/488429-using-grip-with-a-kangaroo-computer
For the local loopback (on the kangaroo), the pertinent text is:
You can test the LOCAL loop by going into GRIP settings and setting the networkTables server
address to “localhost” (without the quotes).
- Then, assuming you downloaded enough robot software to have the wpilib stuff locally, you can navigate to c:\Users<user>\wpilib ools and run OutlineViewer. Use an address of “localhost” and run a SERVER (to substitute for the RIO—not the client, which is what you will normally use and point to the RIO). It should see the values published by GRIP. This is also helpful for making sure your path to the table is correct (NOTE CASE SENSITIVITY!!!). In our installation, the path was Root -> GRIP -> StrongholdContours.
- With GRIP running on the kangaroo, the values should be changing constantly. If you have the value lines (Area, width, height, etc) but nothing for a value (e.g. denoted by empty square brackets ] and a type of “Number[0]” for each line), you have likely lost or failed to make your NetworkTable connection… or possibly are not detecting a contour anymore—go look at the GUI and see if FilterContours is indicating a detected contour. If not… you won’t get anything published!
you can theoretically do this from another PC on the same robot network (e.g. if all connected on the wireless), but you may have to ensure the Kangaroo network is designated in the settings as HOME and not PUBLIC (this is also mentioned earlier in the doc)
Hopefully that gets you going; if not, let me know more details and I’ll try to help.
Thanks a lot, Scott. With your pointers, we got Outline Viewer working and that’s been very helpful. Not much of a vision year necessarily, but good for the kids to master. We appreciate the help.