Skip to content

@PeterJohnson PeterJohnson released this Jan 19, 2021

About WPILibPi (formerly FRCVision)

This Raspbian-based Raspberry Pi image includes C++, Java, and Python libraries required for vision coprocessor development for FRC (e.g. opencv, cscore, ntcore, robotpy-cscore, pynetworktables, Java 11, etc). New for 2021, WPILibPi now comes in two variants, the "base" image for vision coprocessors, and an image designed for use with Pololu Romi 32U4 based robots.

The image has been tested with the Raspberry Pi 4 and 3B, but should also work on other models. Note: due to the mechanical mounting configuration of the Romi, there is minimal space for a heatsink on the Pi, so the 3 is recommended for Romi use.

Features

  • Web dashboard for configuring the rPi (e.g. changing network settings), monitoring the vision program (console, restart), changing CameraServer and NetworkTables settings, and uploading vision processing applications, all without the need for SSH
  • Default application that performs simple streaming of multiple cameras as well as camera switching; the image is "plug and play" for FRC dashboard streaming (just set your team number in the rPi web dashboard)
  • Includes example C++, Java, and Python programs to use as a basis for vision processing code
  • Designed for robustness to hard power offs by defaulting the filesystem to read only mode; safe to power directly from the VRM without an external battery
  • Boots (power applied to vision program running) in less than 20 seconds
  • All wireless functionality disabled (both WiFi and Bluetooth), so legal for competition use out of the box.

Romi Features

  • Built-in WebSockets-based interface to robot code running on a desktop computer
  • Web-based configuration of WiFi networking; supports both bridge and AP mode (including DHCP server in AP mode)
  • The Romi image is preconfigured as a WiFi Access Point network with SSID "WPILibPi-########", WPA2 passphrase "WPILib2021!", and default IP of 10.0.0.2
  • 32U4 firmware imaging through web dashboard

Getting Started

See https://docs.wpilib.org/en/stable/docs/software/vision-processing/wpilibpi/index.html (for the base image) or https://docs.wpilib.org/en/stable/docs/romi-robot/index.html (for the Romi) for visual step-by-step installation instructions and additional documentation.

  1. Download WPILibPi_image-2021.1.1.zip (or WPILibPi_image-2021.1.1-Romi.zip for the Romi image) and use Etcher (https://www.balena.io/etcher/) to image a micro SD card. The micro SD card needs to be at least 8 GB. Note: a micro SD to USB dongle such as https://www.amazon.com/gp/product/B0779V61XB works well for writing to micro SD cards.

  2. Put the micro SD card in a rPi and apply power. The initial boot may take as long as a couple of minutes (depending on SD card size), but later boots will be much faster (20 seconds or less).

Base image: Connect the rPi ethernet to a LAN or PC. Open a web browser and connect to http://wpilibpi.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

Romi image: Connect to the WiFi SSID "WPILibPi-########" (the number is unique based on the Pi's internal serial number), WPA2 passphrase "WPILib2021!". Open a web browser and connect to either http://10.0.0.2/ or http://wpilibpi.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

What's Changed In This Release (since 2021.1.1)

  • Romi: vision programs will now automatically connect NetworkTables to the robot program (#187)
  • Romi Web Service updated to 1.1.1
    • [breaking] IMU axes have been updated to follow NED + Right Hand Rule conventions
    • [bugfix] Fixed a bug in gyro calibration which resulted in incorrect offsets being calculated and saved
    • [feature] Gyro rate smoothing to help with accuracy
  • WPILib updated to 2021.2.1 (#188)
  • Added machine learning dependencies to image (#186)

Hashes

MD5 Hashes

25ab2f64465ac92b1a4fe538ff3e7066  cpp-multiCameraServer.zip
0f2eb54806add61d84dccd7dc6b5c0b0  java-multiCameraServer.zip
11dadc88c86c754d33006f95292ed4a7  python-multiCameraServer.zip
858b2dd0dac161ce6e8444fb09a033f4  WPILibPi_image-v2021.2.1-Romi.zip
15e1ad60d32f80aa3df2fd6c5c45364e  WPILibPi_image-v2021.2.1.zip

SHA256 Hashes

a34519bb0530acc226f0a03d81998812d27d2a2b1c263c19c71b69b3a30bd42c  cpp-multiCameraServer.zip
6c865df32429db778e19f75faf108aa53a4e5716962acb211529a861a4b2e503  java-multiCameraServer.zip
79dbf16817794a18fde57398eb047d588ca36b66f59a14ae35eab2dbbf75c7e3  python-multiCameraServer.zip
746d3ebf73188a9537aeb90cb2380eab134296aec9dead312de82d913ec58f20  WPILibPi_image-v2021.2.1-Romi.zip
f75671d02475b8dbec2dc69007b58df09b89ad70c49f58771218baba2fdc511f  WPILibPi_image-v2021.2.1.zip
Assets 7

@PeterJohnson PeterJohnson released this Jan 6, 2021

About WPILibPi (formerly FRCVision)

This Raspbian-based Raspberry Pi image includes C++, Java, and Python libraries required for vision coprocessor development for FRC (e.g. opencv, cscore, ntcore, robotpy-cscore, pynetworktables, Java 11, etc). New for 2021, WPILibPi now comes in two variants, the "base" image for vision coprocessors, and an image designed for use with Pololu Romi 32U4 based robots.

The image has been tested with the Raspberry Pi 4 and 3B, but should also work on other models. Note: due to the mechanical mounting configuration of the Romi, there is minimal space for a heatsink on the Pi, so the 3 is recommended for Romi use.

Features

  • Web dashboard for configuring the rPi (e.g. changing network settings), monitoring the vision program (console, restart), changing CameraServer and NetworkTables settings, and uploading vision processing applications, all without the need for SSH
  • Default application that performs simple streaming of multiple cameras as well as camera switching; the image is "plug and play" for FRC dashboard streaming (just set your team number in the rPi web dashboard)
  • Includes example C++, Java, and Python programs to use as a basis for vision processing code
  • Designed for robustness to hard power offs by defaulting the filesystem to read only mode; safe to power directly from the VRM without an external battery
  • Boots (power applied to vision program running) in less than 20 seconds
  • All wireless functionality disabled (both WiFi and Bluetooth), so legal for competition use out of the box.

Romi Features

  • Built-in WebSockets-based interface to robot code running on a desktop computer
  • Web-based configuration of WiFi networking; supports both bridge and AP mode (including DHCP server in AP mode)
  • The Romi image is preconfigured as a WiFi Access Point network with SSID "WPILibPi-########", WPA2 passphrase "WPILib2021!", and default IP of 10.0.0.2
  • 32U4 firmware imaging through web dashboard

Getting Started

See https://docs.wpilib.org/en/stable/docs/software/vision-processing/wpilibpi/index.html (for the base image) or https://docs.wpilib.org/en/stable/docs/romi-robot/index.html (for the Romi) for visual step-by-step installation instructions and additional documentation.

  1. Download WPILibPi_image-2021.1.1.zip (or WPILibPi_image-2021.1.1-Romi.zip for the Romi image) and use Etcher (https://www.balena.io/etcher/) to image a micro SD card. The micro SD card needs to be at least 8 GB. Note: a micro SD to USB dongle such as https://www.amazon.com/gp/product/B0779V61XB works well for writing to micro SD cards.

  2. Put the micro SD card in a rPi and apply power. The initial boot may take as long as a couple of minutes (depending on SD card size), but later boots will be much faster (20 seconds or less).

Base image: Connect the rPi ethernet to a LAN or PC. Open a web browser and connect to http://wpilibpi.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

Romi image: Connect to the WiFi SSID "WPILibPi-########" (the number is unique based on the Pi's internal serial number), WPA2 passphrase "WPILib2021!". Open a web browser and connect to either http://10.0.0.2/ or http://wpilibpi.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

What's Changed In This Release (since Beta 4)

  • Updated to WPILib 2021.1.1 release
  • Romi: Multiple firmware/websockets updates (e.g. motor/encoder inversion, gyro and accelerometer support)
  • Romi: Added ability to calibrate IMU and save offsets
  • Romi: Added WiFi channel options 10 and 11; changed default from 7 to 6
  • Romi: Set unique WiFi SSID on first boot
  • Fixed python-cscore installation
  • Fixed python-multiCameraServer example

What's Changed In This Release (since 2020.2.1)

  • Image and hostname renamed from FRCVision to WPILibPi
  • Addition of Romi image

MD5 Hashes

7aad7feb86c219f1b53258ff5ceba063  cpp-multiCameraServer.zip
d638a7270b77eb35f80cc27b70ecce13  java-multiCameraServer.zip
e7ec5c174aaa7070fee04343211effcf  python-multiCameraServer.zip
b418744466e9a10d1a07683dad87bade  WPILibPi_image-v2021.1.1_2021-01-03-Romi.zip
6de1c527b9fae3c189090df849c11d51  WPILibPi_image-v2021.1.1_2021-01-03.zip

SHA256 Hashes

9ddbf1d3ec60bf88a88507afa101a25ed79d93a80eae47a465e5d7cf210645c5  cpp-multiCameraServer.zip
49b495dcdfe8603d19f5974c75d252f212cb3d137d7d7b2b4544443750b67380  java-multiCameraServer.zip
ef6ab97de004ce1a91af9458e7c9dd24b7ef76f9f739f8b6a34f80dbbffda8c3  python-multiCameraServer.zip
bee22345a2065aad6aa0ebe3c7cd9ad686e1889f87e5d466db411779873f7fa9  WPILibPi_image-v2021.1.1_2021-01-03-Romi.zip
b7a55d8e6c2f3c131c96e55170e0b3af774fbf07775ae33ca03755e600fff907  WPILibPi_image-v2021.1.1_2021-01-03.zip
Assets 7
Pre-release

@PeterJohnson PeterJohnson released this Dec 12, 2020

About WPILibPi (formerly FRCVision)

This Raspbian-based Raspberry Pi image includes C++, Java, and Python libraries required for vision coprocessor development for FRC (e.g. opencv, cscore, ntcore, robotpy-cscore, pynetworktables, Java 11, etc). New for 2021, WPILibPi now comes in two variants, the "base" image for vision coprocessors, and an image designed for use with Pololu Romi 32U4 based robots.

The image has been tested with the Raspberry Pi 4 and 3B, but should also work on other models. Note: due to the mechanical mounting configuration of the Romi, there is no space for a heatsink on the Pi, so the 3 is recommended for Romi use.

Features

  • Web dashboard for configuring the rPi (e.g. changing network settings), monitoring the vision program (console, restart), changing CameraServer and NetworkTables settings, and uploading vision processing applications, all without the need for SSH
  • Default application that performs simple streaming of multiple cameras as well as camera switching; the image is "plug and play" for FRC dashboard streaming (just set your team number in the rPi web dashboard)
  • Includes example C++, Java, and Python programs to use as a basis for vision processing code
  • Designed for robustness to hard power offs by defaulting the filesystem to read only mode; safe to power directly from the VRM without an external battery
  • Boots (power applied to vision program running) in less than 20 seconds
  • All wireless functionality disabled (both WiFi and Bluetooth), so legal for competition use out of the box.

Romi Features

  • Built-in WebSockets-based interface to robot code running on a desktop computer
  • Web-based configuration of WiFi networking; supports both bridge and AP mode (including DHCP server in AP mode)
  • The Romi image is preconfigured as a WiFi Access Point network with SSID "WPILibPi", WPA2 passphrase "WPILib2021!", and default IP of 10.0.0.2
  • 32U4 firmware imaging through web dashboard

Getting Started

See https://docs.wpilib.org/en/latest/docs/software/vision-processing/frcvision/what-you-need-to-get-the-pi-image-running.html for visual step-by-step installation instructions and additional documentation.

  1. Download WPILibPi_image-2021.1.1-beta-4.zip (or WPILibPi_image-2021.1.1-beta-4-Romi.zip for the Romi image) and use Etcher (https://www.balena.io/etcher/) to image a micro SD card. The micro SD card needs to be at least 8 GB. Note: a micro SD to USB dongle such as https://www.amazon.com/gp/product/B0779V61XB works well for writing to micro SD cards.

  2. Put the micro SD card in a rPi and apply power. The initial boot may take as long as a couple of minutes (depending on SD card size), but later boots will be much faster (20 seconds or less).

Base image: Connect the rPi ethernet to a LAN or PC. Open a web browser and connect to http://wpilibpi.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

Romi image: Connect to the WiFi SSID "WPILibPi", WPA2 passphrase "WPILib2021!". Open a web browser and connect to either http://10.0.0.2/ or http://wpilibpi.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

What's Changed In This Release (since Beta 3)

  • Add ability to update Romi service. This enables updating to new Romi releases without reimaging the entire SD card.
  • Change Romi WebSockets to 3300 to match WPILib Beta 4 port number change

What's Changed In This Release (since Beta 1)

  • Add ability to read/write Romi IO configuration
  • Display Romi battery voltage and service version
  • Update to WPILib Beta 3 libraries

What's Changed In This Release (since 2020.2.1)

  • Image and hostname renamed from FRCVision to WPILibPi
  • Addition of Romi image
  • Updated to latest WPILib 2021 beta libraries
Assets 4
Pre-release

@PeterJohnson PeterJohnson released this Dec 6, 2020

About WPILibPi (formerly FRCVision)

This Raspbian-based Raspberry Pi image includes C++, Java, and Python libraries required for vision coprocessor development for FRC (e.g. opencv, cscore, ntcore, robotpy-cscore, pynetworktables, Java 11, etc). New for 2021, WPILibPi now comes in two variants, the "base" image for vision coprocessors, and an image designed for use with Pololu Romi 32U4 based robots.

The image has been tested with the Raspberry Pi 4 and 3B, but should also work on other models. Note: due to the mechanical mounting configuration of the Romi, there is no space for a heatsink on the Pi, so the 3 is recommended for Romi use.

Features

  • Web dashboard for configuring the rPi (e.g. changing network settings), monitoring the vision program (console, restart), changing CameraServer and NetworkTables settings, and uploading vision processing applications, all without the need for SSH
  • Default application that performs simple streaming of multiple cameras as well as camera switching; the image is "plug and play" for FRC dashboard streaming (just set your team number in the rPi web dashboard)
  • Includes example C++, Java, and Python programs to use as a basis for vision processing code
  • Designed for robustness to hard power offs by defaulting the filesystem to read only mode; safe to power directly from the VRM without an external battery
  • Boots (power applied to vision program running) in less than 20 seconds
  • All wireless functionality disabled (both WiFi and Bluetooth), so legal for competition use out of the box.

Romi Features

  • Built-in WebSockets-based interface to robot code running on a desktop computer
  • Web-based configuration of WiFi networking; supports both bridge and AP mode (including DHCP server in AP mode)
  • The Romi image is preconfigured as a WiFi Access Point network with SSID "WPILibPi", WPA2 passphrase "WPILib2021!", and default IP of 10.0.0.2
  • 32U4 firmware imaging through web dashboard

Getting Started

See https://docs.wpilib.org/en/latest/docs/software/vision-processing/frcvision/what-you-need-to-get-the-pi-image-running.html for visual step-by-step installation instructions and additional documentation.

  1. Download WPILibPi_image-2021.1.1-beta-3.zip (or WPILibPi_image-2021.1.1-beta-3-Romi.zip for the Romi image) and use Etcher (https://www.balena.io/etcher/) to image a micro SD card. The micro SD card needs to be at least 8 GB. Note: a micro SD to USB dongle such as https://www.amazon.com/gp/product/B0779V61XB works well for writing to micro SD cards.

  2. Put the micro SD card in a rPi and apply power. The initial boot may take as long as a couple of minutes (depending on SD card size), but later boots will be much faster (20 seconds or less).

Base image: Connect the rPi ethernet to a LAN or PC. Open a web browser and connect to http://wpilibpi.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

Romi image: Connect to the WiFi SSID "WPILibPi", WPA2 passphrase "WPILib2021!". Open a web browser and connect to either http://10.0.0.2/ or http://wpilibpi.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

What's Changed In This Release (since Beta 1)

  • Add ability to read/write Romi IO configuration
  • Display Romi battery voltage and service version
  • Update to WPILib Beta 3 libraries

What's Changed In This Release (since 2020.2.1)

  • Image and hostname renamed from FRCVision to WPILibPi
  • Addition of Romi image
  • Updated to latest WPILib 2021 beta libraries
Assets 4
Pre-release

@PeterJohnson PeterJohnson released this Nov 19, 2020

About WPILibPi (formerly FRCVision)

This Raspbian-based Raspberry Pi image includes C++, Java, and Python libraries required for vision coprocessor development for FRC (e.g. opencv, cscore, ntcore, robotpy-cscore, pynetworktables, Java 11, etc). New for 2021, WPILibPi now comes in two variants, the "base" image for vision coprocessors, and an image designed for use with Pololu Romi 32U4 based robots.

The image has been tested with the Raspberry Pi 4 and 3B, but should also work on other models. Note: due to the mechanical mounting configuration of the Romi, there is no space for a heatsink on the Pi, so the 3 is recommended for Romi use.

Features

  • Web dashboard for configuring the rPi (e.g. changing network settings), monitoring the vision program (console, restart), changing CameraServer and NetworkTables settings, and uploading vision processing applications, all without the need for SSH
  • Default application that performs simple streaming of multiple cameras as well as camera switching; the image is "plug and play" for FRC dashboard streaming (just set your team number in the rPi web dashboard)
  • Includes example C++, Java, and Python programs to use as a basis for vision processing code
  • Designed for robustness to hard power offs by defaulting the filesystem to read only mode; safe to power directly from the VRM without an external battery
  • Boots (power applied to vision program running) in less than 20 seconds
  • All wireless functionality disabled (both WiFi and Bluetooth), so legal for competition use out of the box.

Romi Features

  • Built-in WebSockets-based interface to robot code running on a desktop computer
  • Web-based configuration of WiFi networking; supports both bridge and AP mode (including DHCP server in AP mode)
  • The Romi image is preconfigured as a WiFi Access Point network with SSID "WPILibPi", WPA2 passphrase "WPILib2021!", and default IP of 10.0.0.2
  • 32U4 firmware imaging through web dashboard

Getting Started

See https://docs.wpilib.org/en/latest/docs/software/vision-processing/frcvision/what-you-need-to-get-the-pi-image-running.html for visual step-by-step installation instructions and additional documentation.

  1. Download WPILibPi_image-2021.1.1-beta-1.zip (or WPILibPi_image-2021.1.1-beta-1-Romi.zip for the Romi image) and use Etcher (https://www.balena.io/etcher/) to image a micro SD card. The micro SD card needs to be at least 8 GB. Note: a micro SD to USB dongle such as https://www.amazon.com/gp/product/B0779V61XB works well for writing to micro SD cards.

  2. Put the micro SD card in a rPi and apply power. The initial boot may take as long as a minute, but later boots will be much faster (20 seconds or less).

Base image: Connect the rPi ethernet to a LAN or PC. Open a web browser and connect to http://wpilibpi.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

Romi image: Connect to the WiFi SSID "WPILibPi", WPA2 passphrase "WPILib2021!". Open a web browser and connect to either http://10.0.0.2/ or http://wpilibpi.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

What's Changed In This Release (since 2020.2.1)

  • Image and hostname renamed from FRCVision to WPILibPi
  • Addition of Romi image
  • Updated to latest WPILib 2021 beta libraries
Assets 4

@PeterJohnson PeterJohnson released this Jan 20, 2020

About FRCVision

This Raspbian-based Raspberry Pi image includes C++, Java, and Python libraries required for vision coprocessor development for FRC (e.g. opencv, cscore, ntcore, robotpy-cscore, pynetworktables, Java 11, etc).

The image has been tested with the Raspberry Pi 4, but should also work on older models such as the Raspberry Pi 3 Model B and B+.

Features

  • Web dashboard for configuring the rPi (e.g. changing network settings), monitoring the vision program (console, restart), changing CameraServer and NetworkTables settings, and uploading vision processing applications, all without the need for SSH
  • Default application that performs simple streaming of multiple cameras as well as camera switching; the image is "plug and play" for FRC dashboard streaming (just set your team number in the rPi web dashboard)
  • Includes example C++, Java, and Python programs to use as a basis for vision processing code
  • Designed for robustness to hard power offs by defaulting the filesystem to read only mode; safe to power directly from the VRM without an external battery
  • Boots (power applied to vision program running) in less than 20 seconds

Getting Started

See https://docs.wpilib.org/en/latest/docs/software/vision-processing/raspberry-pi/what-you-need-to-get-the-pi-image-running.html for visual step-by-step installation instructions and additional documentation.

  1. Download FRCVision_image-2020.2.1.zip and use Etcher (https://www.balena.io/etcher/) to image a micro SD card. The micro SD card needs to be at least 4 GB. Note: a micro SD to USB dongle such as https://www.amazon.com/gp/product/B0779V61XB works well for writing to micro SD cards.

  2. Put the micro SD card in a rPi and apply power. The initial boot may take as long as a minute, but later boots will be much faster (20 seconds or less).

  3. Connect the rPi ethernet to a LAN or PC. Open a web browser and connect to http://frcvision.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

What's Changed In This Release (since 2020.1.1)

Image

  • WPILib upgraded to 2020.2.2; this adds some quirks to make the Pi Camera work better (exposure settings work, standard set of video modes provided)
  • Added python3-picamera to installed packages
Assets 6

@PeterJohnson PeterJohnson released this Jan 1, 2020

About FRCVision

This Raspbian-based Raspberry Pi image includes C++, Java, and Python libraries required for vision coprocessor development for FRC (e.g. opencv, cscore, ntcore, robotpy-cscore, pynetworktables, Java 11, etc).

The image has been tested with the Raspberry Pi 4, but should also work on older models such as the Raspberry Pi 3 Model B and B+.

Features

  • Web dashboard for configuring the rPi (e.g. changing network settings), monitoring the vision program (console, restart), changing CameraServer and NetworkTables settings, and uploading vision processing applications, all without the need for SSH
  • Default application that performs simple streaming of multiple cameras as well as camera switching; the image is "plug and play" for FRC dashboard streaming (just set your team number in the rPi web dashboard)
  • Includes example C++, Java, and Python programs to use as a basis for vision processing code
  • Designed for robustness to hard power offs by defaulting the filesystem to read only mode; safe to power directly from the VRM without an external battery
  • Boots (power applied to vision program running) in less than 20 seconds

Getting Started

See http://wpilib.screenstepslive.com/s/currentCS/m/85074/l/1027253-what-you-need-to-get-the-pi-image-running for visual step-by-step installation instructions and additional documentation.

  1. Download FRCVision_image-2020.1.1.zip and use Etcher (https://www.balena.io/etcher/) to image a micro SD card. The micro SD card needs to be at least 4 GB. Note: a micro SD to USB dongle such as https://www.amazon.com/gp/product/B0779V61XB works well for writing to micro SD cards.

  2. Put the micro SD card in a rPi and apply power. The initial boot may take as long as a minute, but later boots will be much faster (20 seconds or less).

  3. Connect the rPi ethernet to a LAN or PC. Open a web browser and connect to http://frcvision.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

What's Changed In This Release (since 2019.3.1)

Web dashboard

  • CPU temperature added to system status
  • Added ability to upload/extract arbitrary files (#139)

Image

  • Support for Raspberry Pi 4
  • Upgrade to Raspbian Buster base image
  • OpenCV upgraded to 3.4.7
  • WPILib upgraded to 2020.1.1
  • Added Google Coral packages (#138)
Assets 6
Pre-release

@PeterJohnson PeterJohnson released this Nov 2, 2019

About FRCVision

This Raspbian-based Raspberry Pi image includes C++, Java, and Python libraries required for vision coprocessor development for FRC (e.g. opencv, cscore, ntcore, robotpy-cscore, pynetworktables, Java 11, etc).

The image has been tested with the Raspberry Pi 4, but should also work on older models such as the Raspberry Pi 3 Model B and B+.

Features

  • Web dashboard for configuring the rPi (e.g. changing network settings), monitoring the vision program (console, restart), changing CameraServer and NetworkTables settings, and uploading vision processing applications, all without the need for SSH
  • Default application that performs simple streaming of multiple cameras as well as camera switching; the image is "plug and play" for FRC dashboard streaming (just set your team number in the rPi web dashboard)
  • Includes example C++, Java, and Python programs to use as a basis for vision processing code
  • Designed for robustness to hard power offs by defaulting the filesystem to read only mode; safe to power directly from the VRM without an external battery
  • Boots (power applied to vision program running) in less than 20 seconds

Getting Started

See http://wpilib.screenstepslive.com/s/currentCS/m/85074/l/1027253-what-you-need-to-get-the-pi-image-running for visual step-by-step installation instructions and additional documentation.

  1. Download FRCVision_image-2020.1.1-beta-2.zip and use Etcher (https://www.balena.io/etcher/) to image a micro SD card. The micro SD card needs to be at least 4 GB. Note: a micro SD to USB dongle such as https://www.amazon.com/gp/product/B0779V61XB works well for writing to micro SD cards.

  2. Put the micro SD card in a rPi and apply power. The initial boot may take as long as a minute, but later boots will be much faster (20 seconds or less).

  3. Connect the rPi ethernet to a LAN or PC. Open a web browser and connect to http://frcvision.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

What's Changed in This Release (since 2020.1.1-beta-1)

Web dashboard

  • Added ability to upload/extract arbitrary files (#139)

Image

  • Python OpenCV installation fixed (#132)
  • WPILib upgrade to beta 2+ (1c1e0c9a6a896355931eb1385257a2c23e63efd4)
  • Added Google Coral packages (#138)

What's Changed In This Release (since 2019.3.1)

Web dashboard

  • CPU temperature added to system status

Image

  • Support for Raspberry Pi 4
  • Upgrade to Raspbian Buster base image
  • OpenCV upgraded to 3.4.7
  • WPILib upgraded to mid-summer version (ca3e71e214888176fe71cce65955784ac417483f)
Assets 6
Pre-release

@PeterJohnson PeterJohnson released this Sep 18, 2019

About FRCVision

This Raspbian-based Raspberry Pi image includes C++, Java, and Python libraries required for vision coprocessor development for FRC (e.g. opencv, cscore, ntcore, robotpy-cscore, pynetworktables, Java 11, etc).

The image has been tested with the Raspberry Pi 4, but should also work on older models such as the Raspberry Pi 3 Model B and B+.

Features

  • Web dashboard for configuring the rPi (e.g. changing network settings), monitoring the vision program (console, restart), changing CameraServer and NetworkTables settings, and uploading vision processing applications, all without the need for SSH
  • Default application that performs simple streaming of multiple cameras as well as camera switching; the image is "plug and play" for FRC dashboard streaming (just set your team number in the rPi web dashboard)
  • Includes example C++, Java, and Python programs to use as a basis for vision processing code
  • Designed for robustness to hard power offs by defaulting the filesystem to read only mode; safe to power directly from the VRM without an external battery
  • Boots (power applied to vision program running) in less than 20 seconds

Getting Started

See http://wpilib.screenstepslive.com/s/currentCS/m/85074/l/1027253-what-you-need-to-get-the-pi-image-running for visual step-by-step installation instructions and additional documentation.

  1. Download FRCVision_image-2020.1.1-beta-1.zip and use Etcher (https://www.balena.io/etcher/) to image a micro SD card. The micro SD card needs to be at least 4 GB. Note: a micro SD to USB dongle such as https://www.amazon.com/gp/product/B0779V61XB works well for writing to micro SD cards.

  2. Put the micro SD card in a rPi and apply power. The initial boot may take as long as a minute, but later boots will be much faster (20 seconds or less).

  3. Connect the rPi ethernet to a LAN or PC. Open a web browser and connect to http://frcvision.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

What's Changed In This Release (since 2019.3.1)

Web dashboard

  • CPU temperature added to system status

Image

  • Support for Raspberry Pi 4
  • Upgrade to Raspbian Buster base image
  • OpenCV upgraded to 3.4.7
  • WPILib upgraded to mid-summer version (ca3e71e214888176fe71cce65955784ac417483f)
Assets 6

@PeterJohnson PeterJohnson released this Feb 19, 2019

About FRCVision

This Raspbian-based Raspberry Pi image includes C++, Java, and Python libraries required for vision coprocessor development for FRC (e.g. opencv, cscore, ntcore, robotpy-cscore, pynetworktables, Java 11, etc).

The image has been tested with both the Raspberry Pi 3 Model B and B+.

Features

  • Web dashboard for configuring the rPi (e.g. changing network settings), monitoring the vision program (console, restart), changing CameraServer and NetworkTables settings, and uploading vision processing applications, all without the need for SSH
  • Default application that performs simple streaming of multiple cameras as well as camera switching; the image is "plug and play" for FRC dashboard streaming (just set your team number in the rPi web dashboard)
  • Includes example C++, Java, and Python programs to use as a basis for vision processing code
  • Designed for robustness to hard power offs by defaulting the filesystem to read only mode; safe to power directly from the VRM without an external battery
  • Boots (power applied to vision program running) in less than 20 seconds

Getting Started

See http://wpilib.screenstepslive.com/s/currentCS/m/85074/l/1027253-what-you-need-to-get-the-pi-image-running for visual step-by-step installation instructions and additional documentation.

  1. Download FRCVision_image-2019.3.1.zip and use Etcher (https://www.balena.io/etcher/) to image a micro SD card. The micro SD card needs to be at least 4 GB. Note: a micro SD to USB dongle such as https://www.amazon.com/gp/product/B0779V61XB works well for writing to micro SD cards.

  2. Put the micro SD card in a rPi and apply power. The initial boot may take as long as a minute, but later boots will be much faster (20 seconds or less).

  3. Connect the rPi ethernet to a LAN or PC. Open a web browser and connect to http://frcvision.local/ to open the web dashboard. Note the image boots up read-only by default, so it's necessary to click the "writable" button to make changes.

What's Changed In This Release (since 2019.2.1)

Web dashboard

  • NetworkTable-selectable switched cameras can now be added. The NetworkTable key can be customized per switchable camera, and the read value can be either a numeric index or the string name of the camera. (#117)
  • Improved feedback for file uploads (#112)
  • The FRCVision release version is now shown (#110)
  • The script for Python applications now explicitly runs python3, avoiding the need for a shebang line (#102)

Image

  • OpenCV performance is significantly improved, operations like RGB to HSV conversion are ~10x faster (#103)
  • OpenCV is now compiled with many more options enabled, including OpenBLAS and libgtk (#79)
  • gstreamer is bundled, along with OpenCV support for gstreamer (#105)
  • WPILib has been updated to 2019.3.2 and robotpy-cscore to 2019.1.0 (#111)
  • libpixy2 (both C++ and Python) is now bundled (#85)
  • Sources for everything are included in /usr/src (#83)
  • pkg-config files for wpilibc et al are now installed (#83)
  • Both dynamic and static libraries are included in the image (#83)

Built-in streaming application

  • Implements the NetworkTable-selectable switched camera support (#117)

Examples

Note: Benefiting from these changes requires downloading the updated example .zip and merging your code changes into it.

  • All examples now implement the NetworkTable-selectable switched camera support (#117)
  • [C++] A working Windows make.exe is now bundled (#84)
  • [Python] example now uses UTF-8 encoding when opening frc.json (#101)
  • [Python] example docstrings have been corrected (#78)
  • [C++] Makefile is now more easily extensible (#71)
  • All examples now include the FIRST BSD license in .zip (#109)
Assets 6