Team 5553 Robo'Lyon vision code running on a raspberry for First Deep Space.
This repository is based on the LyonVision Template repository.
-
Install WPILib
-
Install Java 11
-
Install a compiler
- Visual Studio on Windows (in the Visual Studio Installer program, choose "Desktop Developement in C++")
- Gcc on Linux
-
Install the raspbian cross-compiler
- Run the following command in the root directory of this project :
.\gradlew installRaspbianToolchain
-
Grab the custom Raspberry Pi image from the LyonVision-pi-gen repository
- Latest release with name
LyonVision n°x - date
- Latest release with name
-
Flash the image onto a microSD card using etcher: https://etcher.io/
- You will need to grab the .img file from the zip. The .img file is what you give to etcher.
- After complete, insert the microSD card and startup the coprocessor. It may take a minute or two.
-
Start your Raspberry Pi
- Hostname:
lyonvision.local
- Username:
vision
- Password:
lyon
- Hostname:
.\gradlew runVision
.\gradlew deploy
.\gradlew build
.\gradlew check
The folder src/lib/
is a git submodule. It is a link to the Team5553-RoboLyon/LyonVision-Library repo where the pseudo-library files are located. These files are in a separated repository because there can be used by several projects.