frc5687 / frc5687/2018-switchbot

Add Limelight vision targeting to near-left auto

Open
#18 0 comments 0 reactions 1 assignee Claimed by @SpencerDoughty View on GitHub
Dominant language
Java
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Currently our near-left auto simply drives straight forward the correct distance and ejects the cube.
The task here is to use the Limelight to measure the angle to the retro-reflective tape on the switch fence and adjust the robot motion to target the tape.
Note that our AutoDrive class already uses PID with the navX as the source to maintain an angle. The simplest approach here would be to modify that class to update the PID target angle based on the Limelight readings.
Background info on vision processing can be found on [Team 254's website](https://www.team254.com/documents/vision-control/).
An intro to the Limelight can be found [here](https://limelightvision.io/pages/getting-started-with-limelight) with full details [here](http://docs.limelightvision.io/en/latest/).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.