My team is trying to use a Raspberry Pi to run our vision program, and we are having issues trying to get it to run. We have been able to compile it, and we have our full custom script developed, so we simply rewrote the main.cpp file to run with that. However, in the console output of the FRCVision WebDashboard, there is no output that suggests that the program is running. This is the output of the console:
CS: rPi Camera 0: Connecting to USB camera on /dev/video0 CS: rPi Camera 0: set format 1 res 160x120 CS: rPi Camera 0: Connecting to USB camera on /dev/video0 CS: rPi Camera 0: set format 1 res 320x240 CS: rPi Camera 0: set FPS to 30 CS: rPi Camera 0: SetConfigJson: setting exposure to 5 NT: ERROR: select() to 172.22.11.2 port 1735 error 101 - Network is unreachable (TCPConnector.cpp:173) NT: ERROR: could not resolve roboRIO-5332-FRC.lan address (TCPConnector.cpp:99) NT: client: CONNECTED to server 10.53.32.2 port 1735 NT: ERROR: could not resolve roboRIO-5332-FRC.frc-field.local address (TCPConnector.cpp:99)
When our vision program starts, it should immediately print a script that says “Hello World.” We have been able to run it on our laptops, but cannot get it to print this to the Pi WebDashboard. Is there a step we are missing here?