OpenFTC / EasyOpenCV

Finally, a straightforward and easy way to use OpenCV on an FTC robot!
213 stars 95 forks source link

Cannot upload aar file to onbot java of FtcRobotController 9.0 #70

Closed junfengzh closed 8 months ago

junfengzh commented 9 months ago

It complains that the aar contains "classes that already exist in the robot controller".

EasyOpenCV version: 1.6.2 FtcRobotController version: 9.0 Hardware: Rev Control Hub

Windwoes commented 9 months ago

EOCV is now bundled with the SDK as of 8.2

junfengzh commented 9 months ago

Thanks for quick reply. Did we change the package path? I tried to build a Java file written for last season, and could not resolve classes like org.openftc.easyopencv.OpenCvWebcam.

Windwoes commented 9 months ago

Package path did not change.

junfengzh commented 9 months ago

Actually OpenCvWebcam is fine. It is really only org.openftc.easyopencv.OpenCvCameraFactory that is missing in SDK. When I commented out it, the rest of the code built successfully.

I tried to reinstall robot controller apk a couple of times on control hub and still get the same error.

Windwoes commented 9 months ago

I was able to reproduce this issue on a Nexus 5 with a clean install of the official 9.0 APK. I will look into it.

ahoglund commented 9 months ago

EOCV is now bundled with the SDK as of 8.2

This fact should be made clearer on the README, so visitors won't try to add this to their FtcRobotController code

Windwoes commented 8 months ago

I updated the readme.