Skip to content

NorviewFIRSTRobotics/FRCSteamWorksVision

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PiVision


This project is designed to run Team 5587's vision processing on a Raspberry Pi 3.
Please note that it is still a work in progress, and all code is undocumented.

Our Raspberry Pi runs Raspbian Jessie Lite. In order to get the same results we did, we reccomend that you follow the steps we did, in the order we did them.

Installation

  1. Install Raspbian Jessie Lite from here
  2. Enable SSH by running sudo raspi-config
  3. Follow this tutorial on how to install openCV with python support. It will take a few hours. While he strongly reccomends the use of virtual environments, they aren't necessary in this use case. The Pi shouldn't ever need to run anything besides the vision code we give it. We also reccomend using python3.
  4. Install pynetworktables by running sudo pip3 install pynetworktables - At this point our codebase should be able to run.
  5. Install v4l2-ctl, a part of the v4l2-utils package by running sudo apt-get install v4l2-utils. You will need this for controlling your camera settings.

Resources

  • You can find how our script calculates FOV here.
  • Learn more about doing vision properly from Team 254.
  • Make yourself familiar with GRIP. ScreenStepsLive has some pretty good documentation.

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%