Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/team5553-robolyon/lyonvision-calibration

C++ Software for picamera calibration with gride (undistord image)
https://github.com/team5553-robolyon/lyonvision-calibration

5553 coprocessor first-frc first-robotics-competition frc raspberry-pi robolyon vision-tracking

Last synced: about 1 month ago
JSON representation

C++ Software for picamera calibration with gride (undistord image)

Awesome Lists containing this project

README

        

# Camera Calibration

Programme de calibration de camera sur PC ou sur Raspberry par ssh.

La calibration s'effectue avec une feuille imprimée d'un quadrillage noir et blanc.

This repository is based on the [LyonVision Template repository](https://github.com/Team5553-RoboLyon/LyonVision-Template).

## Getting started

### With your computer

1. Install [WPILib](https://github.com/wpilibsuite/allwpilib/releases)

2. Install [Java 11](https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html)

3. Install a compiler
- [Visual Studio](https://visualstudio.microsoft.com/fr/downloads/) on Windows (in the Visual Studio Installer program, choose "Desktop Developement in C++")
- Gcc on Linux

4. Install the raspbian cross-compiler
- Run the following command in the root directory of this project :
```bash
.\gradlew installRaspbianToolchain
```

### With the Raspberry Pi

1. Grab the custom Raspberry Pi image from the [LyonVision-pi-gen repository](https://github.com/Team5553-RoboLyon/LyonVision-pi-gen/releases)
- 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 :
```bash
.\gradlew runVision
```

### Deploying your code to the Raspberry Pi
```bash
.\gradlew deploy
```

### Build all
```bash
.\gradlew build
```

### Test code
```bash
.\gradlew check
```

## Git Submodule

The folder `src/lib/` is a git submodule. It is a link to the [Team5553-RoboLyon/LyonVision-Library](https://github.com/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.