Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 1.91 KB

README_Generated-Repos.md

File metadata and controls

66 lines (44 loc) · 1.91 KB

Repository name

Description of the project.

This repository is based on the LyonVision Template repository.

Getting started

With your computer

  1. Install WPILib

  2. Install Java 11

  3. Install a compiler

    • Visual Studio on Windows (in the Visual Studio Installer program, choose "Desktop Development in C++")
    • Gcc on Linux
  4. Install the raspbian cross-compiler

    • Run the following command in the root directory of this project :
    .\gradlew installRaspbianToolchain

With the Raspberry Pi

  1. Grab the custom Raspberry Pi image from the LyonVision-pi-gen repository

    • Latest release with name LyonVision n°x - date
  2. 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.
  3. Start your Raspberry Pi

    • Hostname: lyonvision.local
    • Username: vision
    • Password: lyon

Usage

Running your code locally on your computer :

.\gradlew runVision

Deploying your code to the Raspberry Pi

.\gradlew deploy

Build all

.\gradlew build

Test code

.\gradlew check

Git Submodule

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.