OpenFTC / EasyOpenCV

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

OnBotJava documentation not very clear. #32

Closed JGNieto closed 2 years ago

JGNieto commented 2 years ago

When using EasyOpenCV with OnBotJava, how should the .aar file be uploaded to OnBotJava? In the same way .java classes are uploaded or in a different way?

As a new FTC competitor, I find the instructions unclear and kindly ask the maintainers to improve them.

JGNieto commented 2 years ago

I have also read that the fact that OnBotJava does not support .aar files is a known limitation per the release information available on the README: Known limitation - .aar files with assets are not supported.

Windwoes commented 2 years ago

When using EasyOpenCV with OnBotJava, how should the .aar file be uploaded to OnBotJava? In the same way .java classes are uploaded or in a different way?

Yes, uploaded from that same menu.

Known limitation - .aar files with assets are not supported

This is not an issue, EOCV does not rely on assets.

I find the instructions unclear and kindly ask the maintainers to improve them.

Noted :)

JGNieto commented 2 years ago

Thank you for the reply.

One quick question, what does dexification mean, as mentioned in the instructions? I could not find it online.

Windwoes commented 2 years ago

When you upload the AAR you will get a dialog box saying that the library is being processed for FTC. Behind the scenes it is DEXing it. Android runs DEX bytecode, but JARs/AARs contain JVM bytecode. DEXing is converting the JVM bytecode to DEX bytecode.