Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vision #10

Open
wants to merge 45 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
caca011
Add Constants, move Vision constants to Constants, add AprilTagFieldL…
TheFlameFish Jan 9, 2025
15941bc
Installed PhotonVision 2025 beta 8
TheFlameFish Jan 9, 2025
37aa61c
Copied AprilTagVisionIO interface from 2024 codebase. Prone to modifi…
TheFlameFish Jan 9, 2025
508dadf
Made stub for AprilTagVisionIOReal
TheFlameFish Jan 9, 2025
4105cbd
Adapted Vision RealIO from 2024
TheFlameFish Jan 10, 2025
b7e6ff1
Rename SelfContainedPoseEstimator -> CameraPoseEstimator for clarity …
TheFlameFish Jan 10, 2025
5397a4c
Add AdvantageKit dependencies to build.gradle so AutoLog annotations …
TheFlameFish Jan 10, 2025
9558d5e
Update RobotContainer for renamed class CameraPoseEstimator
TheFlameFish Jan 10, 2025
7e6ee37
Implement processing of vision data in AprilTagVision.java
TheFlameFish Jan 10, 2025
30eb0c3
Made arrays in AprilTagVisionIOReal scale with the number of cameras
TheFlameFish Jan 11, 2025
b0d98f4
Made Vision more self-contained (drive doesn't need to call a method …
TheFlameFish Jan 11, 2025
9d76650
Made AprilTagVision more self-contained (it now instantiates its own …
TheFlameFish Jan 11, 2025
8eb1130
Bring vision up-to-date with main (Drive code). Not fully integrated …
TheFlameFish Jan 17, 2025
fc27469
Have Drive instantiate Vision
TheFlameFish Jan 17, 2025
e91da01
Minor formatting changes on Constants
TheFlameFish Jan 17, 2025
fda9cd6
Added vision constants for Dory. I do not know the camera offsets yet.
TheFlameFish Jan 17, 2025
871ee37
More minor formatting stuff in Constants.
TheFlameFish Jan 17, 2025
6d0df00
Dory camera constants
TheFlameFish Jan 17, 2025
c047ab9
Clean up formatting in AprilTagVision
TheFlameFish Jan 20, 2025
b75fe94
Add docs for VisionIOReal getEstimatedPoseUpdates method
TheFlameFish Jan 20, 2025
c75cba9
Merge from main -> vision, update WPILib to 2025.2.1
TheFlameFish Jan 21, 2025
8ca5c0b
Change vision to use the built-in AprilTagFieldLayout added in WPILib…
TheFlameFish Jan 21, 2025
bf6ead0
Get rid of unused vision variable in RobotContainer
TheFlameFish Jan 23, 2025
2ac501b
Add break statements to ends of switches for robotMode in AprilTagVis…
TheFlameFish Jan 23, 2025
838bc4f
Make AprilTagVisionIO work with 4 cameras (I hope to eventually make …
TheFlameFish Jan 23, 2025
d9c53b2
Update PhotonLib to a stable version (2025.1.1)
TheFlameFish Jan 23, 2025
2d039aa
Merge from main to vision & apply spotless formatting
TheFlameFish Jan 23, 2025
4357ac8
Have CameraPoseEstimator directly take a PhotonCamera rather than ins…
TheFlameFish Jan 23, 2025
67f5d10
Move CameraPoseEstimator to AprilTagVisionIO so it can be used in sim
TheFlameFish Jan 23, 2025
ded7007
Merge main into vision for remove BuildConstants from VCS
TheFlameFish Jan 23, 2025
4d14354
Constants will switch between REAL and REPLAY depending on RobotBase.…
TheFlameFish Jan 23, 2025
0e499fc
Add VisionSim (sim is not currently functional due to issues in Modul…
TheFlameFish Jan 23, 2025
e600f04
Merge main into vision (CI)
TheFlameFish Jan 23, 2025
bfe7989
Modified vision to account for differing camera resolutions
TheFlameFish Jan 23, 2025
cb316e0
Moved getEstimatedPoseUpdates() to AprilTagVisionIO instead of having…
TheFlameFish Jan 23, 2025
76d08be
Remove boolean argument doLatency for getEstimatedPoseUpdates(), inst…
TheFlameFish Jan 24, 2025
2f7c241
changed camera offset from robot to be more accurate, still needs bet…
Ace5tar Jan 28, 2025
591cf87
If camera doesn't see anything, output NaN instead of 0
TheFlameFish Jan 31, 2025
40bdfc0
Switched the axes on front camera offsets, changed camera offset vari…
TheFlameFish Jan 31, 2025
f9b907c
Continuation of previous commit (change cam offset names)
TheFlameFish Jan 31, 2025
2005e84
Minor documentation
TheFlameFish Feb 6, 2025
e0e9cbc
Apply spotless
TheFlameFish Feb 6, 2025
7e8f234
Add (kinda placeholder) Nautilus constants
TheFlameFish Feb 6, 2025
73b4c9e
Refactor internal robot names
TheFlameFish Feb 8, 2025
da4fe06
Resolve main conflict
TheFlameFish Feb 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add AdvantageKit dependencies to build.gradle so AutoLog annotations …
…will work
TheFlameFish committed Jan 10, 2025
commit 5397a4c9f26773b9f9b4cc59ac6e24cdbf2ce1f3
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -72,6 +72,10 @@ dependencies {

testImplementation 'org.junit.jupiter:junit-jupiter:5.10.1'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

// For AdvantageKit
def akitJson = new groovy.json.JsonSlurper().parseText(new File(projectDir.getAbsolutePath() + "/vendordeps/AdvantageKit.json").text)
annotationProcessor "org.littletonrobotics.akit:akit-autolog:$akitJson.version"
}

test {