Closed CMP-18996 closed 4 months ago
This looks like an issue due to ABI breakage from the new SDK. (i.e. EOCV 1.7.0 was compiled against an earlier version of the SDK).
How would this be fixed? I cloned sdk 9.0 then added the 1.7.0 eocv gradle dependency, is there an error in that?
It's not really something you can fix, I'll have to build EOCV against 9.0 and fix it.
That being said, something is crashing that should not be crashing. I.e. even if this issue is fixed, you'd still be getting a crash, it would just be a "nicer" crash.
Do you experience this with the unmodified example code?
I got around to testing it and found out it was less an eocv issue and more a visionportal issue.
It may well be a vision portal bug that is triggering this, but based on the stack trace, there is absolutely an issue with EOCV that needs to be fixed in the next release.
This has been fixed in 2ac949f which will be included in the next release.
Fixed in FTC SDK v9.1
My control hub logs gave the following:
Tracking the first error into OpenCvCameraBase.java shows that android studio doesn't understand "initactiveopmode" (last line)
Ran on a Control Hub from Rev Driver Hub with modified code from the ConceptAprilTag.java.