Vision code for the 2022 season Rapid Reset
How to Setup Vision development environment:
Install Visual Code studio Install Viscual Code Studio extensions
- Use Python (Intellisense from microsoft)
- WPI extension
- OpenCV - intellisense
Optional:
- Java (for robot code)
- C/C++ for microsoft
Install python (python.org)
- install with path setting enabled
- make sure pip is installed, and other default options
Open command line (cmd in windows) - This will also verify install
- py -m pip install --upgrade pip
To install number python (more math operatios)
- pip install numpy
To install open CV
- pip instal opencv-python
To get networktables (To talk to our robot)
- pip install robotpy
Clone Vision repository
Open folder to Vision repository in VS Code
- MergeViewer lets you run the vision code from your labtop
- MergeFRCPipeline.py is the mainline use for the python code