-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0467dea
commit fbc8341
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# Useful Resources: | ||
* [PhotonVision](https://docs.photonvision.org/en/latest/) | ||
* [Crescendo 2024 Vision System Design](https://docs.google.com/document/d/1OyC_vcDjkND8d1BjjKcrntKLCYnFIfZ_LF4Lyaiwpdk) | ||
* [Crescendo 2024 Vision System Design](https://docs.google.com/document/d/1OyC_vcDjkND8d1BjjKcrntKLCYnFIfZ_LF4Lyaiwpdk) | ||
|
||
1. Initial Setup | ||
1. For each camera | ||
* For each resolution | ||
* [Calibrate](https://docs.photonvision.org/en/latest/docs/calibration/calibration.html) FOV | ||
* Relative to the center of the robot (See Transform3D [VisionCamera.VisionCamera](./VisionCamera.java)) | ||
* Measure translation (x,y,z) | ||
* Measure rotation (roll, pitch, yaw) | ||
1. For each field | ||
* Load the AprilTag map layout into PhotonVision (See AprilTagFields.class) | ||
2. Periodically at runtime | ||
1. For each camera | ||
* If estimated robot pose is available (i.e. AprilTag is visible) | ||
* addVisionMeasurement to drivetrain odometry (See [Drive.addVisionMeasurement()](../drive/Drive.java)) |