Configuring a camera on the Raspberry Pi server - quasics/quasics-frc-sw-2015 GitHub Wiki

Configuring an existing camera

  1. Connect your web browser to the Raspberry Pi.
    • The documentation from FIRST says to browse to http://frcvision.local/. This didn't always work in the lab, but the Raspberry Pi will show what its IP address is when it boots (if it's connected to a monitor).
    • Note: the Raspberry Pi on the 2019 robot has been updated so that http://quasics-vision.local/ should be able to access the web interface when connecting via direct Ethernet or via the robot's radio.
  2. Switch to the "Vision Settings" tab in the web page.
  3. The page will appear with the "Client" turned on and a default team number. Change the team number to the appropriate information (2656).
  4. (Optional) If the Rio is not on the network, turn the "Client" switch off.
  5. Click on the "Open Stream" button to the right of the chosen camera.
    • A new tab to use in configuring the settings for the camera will open in a separate tab. (You may need to refresh the page before the video stream is actually shown.)
    • Mess around with preferences of camera vision until satisfied.
  6. Return to the original tab. Towards the top, select the "Writable" option!
  7. Select the camera name.
  8. Select the "Copy Source Config From Camera" box in the Camera Settings area.
    • You will have to adjust sizes to your preference after clicking the "Copy Source Config From Camera" box because it will fill in default sizes.
      • The other vision configurations will transfer properly, so don't worry about it but do double check it.
  9. Save using the save button at the bottom.
  10. At the top, return the setting to "Read-Only" option!
  11. Switch to the "System Status" tab in the web page.
  12. Select the yellow "Restart System" button.
    • The system will disconnect. Be patient and allow it to return its connection momentarily.
  13. One the system has reconnected, return to the "Vision Settings" tab in the web page.
  14. Select the "Open Stream" button.
  15. You're Done!
    • If your changes are still present, you succeeded.
    • If not, try going through and doing it again.

To add a new camera to the RasPi

  1. Connect your web browser to the Raspberry Pi.
  2. Switch to the "Vision Settings" tab in the web page.
  3. Click on the "Add Connected Camera" button towards the bottom of the page.
  4. Select the path to the camera being added (e.g., "/dev/video1").
  5. Click on the "Writeable" button at the top.
  6. Click on the "Save" button at the bottom to make sure that the Rio "knows" that there's a new camera on board.
  7. Click on the "Read-Only" button at the top.
  8. Configure the new camera, following the process outlined above.