Closed williamhaley closed 3 years ago
This is likely an issue with the image. I'll look into it.
Thanks @PeterJohnson! I confirmed that I can get past that issue using the stable FRCVision-v2020.2.1_2020-01-19
image.
I think the docs for the example do also need some updates though. It looks like main
isn't invoked, sink
is undefined, time
needs to be imported, and json.load
needs a file reference like... json.load(open('/boot/frc.json'))
.
I'll see if I can get the example code running on the stable image and open a PR for that code, but I may be out of my depth and hit a wall.
The Basic Vision Example (src) code does not seem to work with the
WPILibPi_image-v2021.1.1-beta-4
release.I know this work is still flagged as in progress/unstable, but wanted to raise the issue in case it's something that was overlooked.
Not sure if this is an issue with the documentation or the image (or me :-D, if I'm overlooking a step)