Comments (12)
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.
Also what hardware are you running on?
from easyopencv.
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:
This is running on a chub with current OS and firmware, and with a Logitech C920 webcam
from easyopencv.
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.
Can you test 1.5.3?
from easyopencv.
Exact same problem with 1.5.3 as with 1.6.2
from easyopencv.
Happy to setup a screenshare of the dev system if that helps.
from easyopencv.
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.
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.
Oh and if that APK still crashes, then I'd probably suggest trying to factory reset the control hub.
from easyopencv.
@IronReignRobotics Were you able to test?
from easyopencv.
Closing due to no response. Feel free to re-open if you still have this issue.
from easyopencv.
Related Issues (20)
- OpMode crashes on initialization when creating `OpenCvCamera` HOT 2
- possible to setZoom for web camera? HOT 3
- Camera Stream Display Rotated 90° to the Left HOT 3
- How to set camera resolution? HOT 1
- Code Crashes Upon Run on FTC Control Hub HOT 11
- FTC Robot Controller App Crashes HOT 4
- Disconnecting and reconnecting a webcam causes failures HOT 11
- When I switch the pipeline, the robot sometimes stops. HOT 8
- 1.5.3 - duplicate class... HOT 4
- False memory leak warning HOT 12
- Splitting viewport seems to not work... HOT 3
- startStreaming() does not send frames to processFrame() after a call to stopStreaming() HOT 2
- onViewportTapped in StageSwitchingPipeline is never called HOT 1
- Streaming in driver hub HOT 1
- Error in OpenCvCameraBase crashes usages of VisionPortal in sdk 9.0 HOT 7
- Cannot upload aar file to onbot java of FtcRobotController 9.0 HOT 7
- Camera slow to load HOT 8
- CameraFactory does not work after updates HOT 8
- Getting repeated occasions of "Viewport container specified by user is not empty!" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easyopencv.