Giter VIP home page Giter VIP logo

Comments (12)

Windwoes avatar Windwoes commented on August 14, 2024

Well that is..... puzzling 🐽

The key bit here seems to be

dlopen failed: cannot locate symbol "_ZN2cv3MatD1Ev" referenced by
"/data/app/com.qualcomm.ftcrobotcontroller-1/lib/arm/libEasyOpenCV.so"...

The symbol looks to be an OpenCV one.... are you using the default transitive dependency on 'org.openftc:opencv-repackaged-bundled-dylibs:4.5.3-C', or are you perhaps using a custom built version of the OpenCV native libraries?

from easyopencv.

Windwoes avatar Windwoes commented on August 14, 2024

Also what hardware are you running on?

from easyopencv.

IronReignRobotics avatar IronReignRobotics commented on August 14, 2024

We used to run a custom build long ago, but we've been running EasyOpenCV for the last two seasons. When we revert to 1.5.2 the pipeline works.

Here's what the module dependencies look like:
image

This is running on a chub with current OS and firmware, and with a Logitech C920 webcam

from easyopencv.

IronReignRobotics avatar IronReignRobotics commented on August 14, 2024

TeamCode build.gradle looks like:

apply from: '../build.common.gradle'
apply from: '../build.dependencies.gradle'

android {
namespace = 'org.firstinspires.ftc.teamcode'

packagingOptions {
    jniLibs.useLegacyPackaging true
}

}

dependencies {
implementation project(':FtcRobotController')
implementation 'org.openftc:easyopencv:1.6.2'
implementation 'org.openftc:apriltag:1.1.1'
annotationProcessor files('lib/OpModeAnnotationProcessor.jar')
implementation 'org.apache.commons:commons-math3:3.6.1'
implementation 'com.acmerobotics.roadrunner:core:0.5.6'
}

from easyopencv.

Windwoes avatar Windwoes commented on August 14, 2024

Can you test 1.5.3?

from easyopencv.

IronReignRobotics avatar IronReignRobotics commented on August 14, 2024

Exact same problem with 1.5.3 as with 1.6.2

from easyopencv.

IronReignRobotics avatar IronReignRobotics commented on August 14, 2024

Happy to setup a screenshare of the dev system if that helps.

from easyopencv.

Windwoes avatar Windwoes commented on August 14, 2024

That's very strange because I know multiple people using the latest versions without issue. I might build you an APK that I can prove works on my end and see what happens for you.

from easyopencv.

Windwoes avatar Windwoes commented on August 14, 2024

Please run adb shell pm uninstall com.qualcomm.ftcrobotcontroller

Then try this APK: https://drive.google.com/file/d/14qeWI9PhAZG9I9SZmQderh9UJf-5ARtM/view?usp=share_link

I tested that this APK runs correctly on a Control Hub with a C920 camera.

from easyopencv.

Windwoes avatar Windwoes commented on August 14, 2024

Oh and if that APK still crashes, then I'd probably suggest trying to factory reset the control hub.

from easyopencv.

Windwoes avatar Windwoes commented on August 14, 2024

@IronReignRobotics Were you able to test?

from easyopencv.

Windwoes avatar Windwoes commented on August 14, 2024

Closing due to no response. Feel free to re-open if you still have this issue.

from easyopencv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.