robotpy / examples

Repository of RobotPy example projects
45 stars 53 forks source link

[Rebase] add AprilTagVision example #107

Closed Suave101 closed 9 months ago

Suave101 commented 9 months ago

This is the rebased and updated 2024 version of #100 The following image is the test I ran of the vision.py file: image

virtuald commented 9 months ago

did you try the example with a camera and tags in the image? My type checker is complaining about some things.

virtuald commented 9 months ago

It didn't work, but I fixed it and verified that it detected some tags.

virtuald commented 9 months ago

There is a weird issue where it didn't detect tags when I had the 7 error correcting bits specified, but it worked when I removed that parameter. Since the Java example has that I'll keep it, maybe I did something wrong?