Raspberry Pi Not Connecting To NetworkTables

Outline viewer doesn’t show any of the numbers I have for vision processing being reported.

Here’s what happens pi side:


sudo /home/pi/vision/start-vision.sh
platform: /Linux/arm/
platform: /Linux/arm/
CS: ERROR: bind() to port 1183 failed: Address already in use (TCPAcceptor.cpp:108)
NT: connect() to 10.36.2.2 port 1735 timed out
NT: ERROR: select() to 172.22.11.2 port 1735 error 101 - Network is unreachable (TCPConnector.cpp:167)
NT: client: CONNECTED to server 10.36.2.80 port 1735

Here’s our repo with the code that runs on the pi:
https://github.com/thecoopster20/2017RobotCode/tree/feature/develop/2017RobotCode/vision

Have you tried putting data to the Network Tables before entering the processing loop (perhaps right after initialization)?

As coded, you would only see updates to Network Tables if you acquired a camera image and identified at least two contours on it. Unless you are sure this is happening…

Turned out that the filter running on the pi was incorrect. I switched it to the correct one and everything is working now. I made sure to add an indicator for the number of contours found.