Closed KokeCacao closed 4 years ago
Update: I think this error is more relevant
01-03 15:58:37.842 24917 25062 V RobotCore: event loop: device has shutdown abnormally: ABNORMAL
01-03 15:58:37.842 24917 25062 V EventLoopManager: event loop: detaching device 59BC6FD0
01-03 15:58:37.847 24917 25062 V RobotCore: event loop: device has shutdown abnormally: ABNORMAL
01-03 15:58:37.847 24917 25062 V EventLoopManager: event loop: detaching device DQ2F8DJY
01-03 15:58:37.847 24917 25062 V RobotCore: event loop: device has shutdown abnormally: ABNORMAL
01-03 15:58:37.848 24917 25062 V EventLoopManager: event loop: detaching device 59BC6FD0
01-03 15:58:37.853 24917 25062 V RobotCore: event loop: device has shutdown abnormally: ABNORMAL
01-03 15:58:37.853 24917 25062 V EventLoopManager: event loop: detaching device DQ2F8DJY
01-03 15:58:37.854 24917 25062 V RobotCore: event loop: device has shutdown abnormally: ABNORMAL
01-03 15:58:37.854 24917 25062 V EventLoopManager: event loop: detaching device 59BC6FD0
01-03 15:58:37.859 24917 25183 V UpdateUI: Network: active, disconnected
01-03 15:58:37.859 24917 25183 I RobotCore: Lost connection while main event loop not active
01-03 15:58:37.860 24917 25183 V NetworkConnectionHandler: Peer connection lost
01-03 15:58:37.863 24917 25061 D SoundPlayer: playing volume=0.000000 samp=5|ms=901
01-03 15:58:37.963 24917 24917 V RCActivity: onStart()
01-03 15:58:37.963 24917 24917 V Robocol : EventLoopManager.shutdown()
01-03 15:58:37.963 24917 25062 V RobotCore: EventLoopRunnable interrupted
01-03 15:58:37.963 24917 25062 V RobotCore: EventLoopManager state is STOPPED
01-03 15:58:37.964 24917 25062 V RobotCore: Robot Status: stopped
01-03 15:58:37.964 24917 25062 I FtcEventLoopIdle: ------- idle teardown ----
01-03 15:58:37.964 24917 25062 V RobotCore: thread: ...terminating 'opmode loop()'
01-03 15:58:37.964 24917 24917 V RobotCore: EventLoopManager state is STOPPED
01-03 15:58:37.974 24917 24917 I RobotCore: ******************** STOP - OPMODE /storage/emulated/0/FIRST/matchlogs/Match-0-FlintsControlMode.txt ********************
01-03 15:58:37.976 24917 24917 I RobotCore: Pruning old logs deleting Match-0-Concept:_TensorFlow_Object_Detection_Webcam.txt
01-03 15:58:37.979 24917 25585 I RobotCore: saving match logcat to /storage/emulated/0/FIRST/matchlogs/Match-0-FlintsControlMode.txt
01-03 15:58:37.979 24917 25585 I RobotCore: logging command line: exec logcat -d -T '1-3 15:52:2.000' -f /storage/emulated/0/FIRST/matchlogs/Match-0-FlintsControlMode.txt -n4 -v threadtime UsbRequestJNI:S UsbRequest:S art:W ThreadPool:W System:W ExtendedExtractor:W OMXClient:W MediaPlayer:W dalvikvm:W *:V
01-03 15:58:37.980 24917 24917 V RCActivity: pref_wifip2p_channel: Found existing preferred channel (6).
01-03 15:58:37.980 24917 25586 V RobotCore: thread: 'RobotSetupRunnable.run()' starting...
01-03 15:58:37.980 24917 24917 V RCActivity: pref_wifip2p_channel: attempting to set preferred channel...
01-03 15:58:37.980 24917 25586 V FTCService: Processing robot setup
01-03 15:58:37.980 24917 24917 V WifiDirectChannelChanger: changeToChannel() channel=6
01-03 15:58:37.980 24917 24917 V WifiDirectChannelChanger: startChannelChange() channel=6
01-03 15:58:37.980 24917 25586 V RobotCore: Robot Status: stopped, scanning for USB devices
01-03 15:58:38.007 24917 24949 V WifiDirectChannelChanger: callSetWifiP2pChannels() success
01-03 15:58:38.008 24917 24949 V WifiDirectChannelChanger: Channel 6 saved as preference "pref_wifip2p_channel".
01-03 15:58:38.008 24917 24949 V WifiDirectChannelChanger: finishChannelChange() channel=6 success=true
01-03 15:58:38.017 24917 24917 V RCActivity: onResume()
01-03 15:58:38.208 24917 25585 I RobotCore: Done running exec logcat -d -T '1-3 15:52:2.000' -f /storage/emulated/0/FIRST/matchlogs/Match-0-FlintsControlMode.txt -n4 -v threadtime UsbRequestJNI:S UsbRequest:S art:W ThreadPool:W System:W ExtendedExtractor:W OMXClient:W MediaPlayer:W dalvikvm:W *:V
01-03 15:58:38.208 24917 25585 I RobotCore: exiting match logcat for /storage/emulated/0/FIRST/matchlogs/Match-0-FlintsControlMode.txt
01-03 15:58:38.979 24917 25183 V Robocol : Giving up on command CMD_PLAY_SOUND(917) after 0 attempts
01-03 15:58:38.979 24917 25183 V Robocol : sending CMD_NOTIFY_ROBOT_STATE(918), attempt: 0
01-03 15:58:38.979 24917 25183 V Robocol : sending CMD_NOTIFY_ROBOT_STATE(919), attempt: 0
01-03 15:58:38.979 24917 25183 V Robocol : sending CMD_SHOW_TOAST(920), attempt: 0
01-03 15:58:41.623 24917 24999 E Surface : getSlotFromBufferLocked: unknown buffer: 0xb9bc3bb8
01-03 15:58:41.627 24917 24917 V RCActivity: onPause()
01-03 15:58:41.664 24917 24917 V MTPMonitorService: onTrimMemory()
01-03 15:58:41.664 24917 24917 V OnBotJavaService: onTrimMemory()
01-03 15:58:41.664 24917 24917 V RCActivity: onStop()
01-03 15:58:41.664 24917 24917 V AppUtil : rootActivity=FtcRobotControllerActivity destroyed
01-03 15:58:41.664 24917 24917 V AppUtil : rootActivity=FtcRobotControllerActivity
01-03 15:58:41.665 24917 24917 E AR : Could not deinit an unknown or abstract Vuforia tracker type: 0x1104
01-03 15:58:41.665 24917 24917 D Uvc : [NativeVuforiaWebcam.cpp:258] Java_org_firstinspires_ftc_robotcore_internal_vuforia_externalprovider_VuforiaWebcam_nativePostVuforiaDeinit()...
01-03 15:58:41.665 24917 24917 D Uvc : [NativeVuforiaWebcam.cpp:258] ...Java_org_firstinspires_ftc_robotcore_internal_vuforia_externalprovider_VuforiaWebcam_nativePostVuforiaDeinit()
01-03 15:58:41.665 24917 24917 V NativeVuforiaWebcam: destroy(pointer=0xb9bc59e8)
01-03 15:58:41.665 24917 24917 D Uvc : [NativeVuforiaWebcam.cpp:203] Java_org_firstinspires_ftc_robotcore_internal_vuforia_externalprovider_VuforiaWebcam_nativeReleaseVuforiaWebcam()...
01-03 15:58:41.665 24917 24917 D Uvc : [NativeVuforiaWebcam.h:259] NativeVuforiaWebcam::~NativeVuforiaWebcam()...
01-03 15:58:41.665 24917 24917 D Uvc : [NativeVuforiaWebcam.h:265] NativeVuforiaWebcam::free()...
01-03 15:58:41.665 24917 24917 D Uvc : [NativeVuforiaWebcam.h:347] NativeVuforiaWebcam::stop()...
01-03 15:58:41.665 24917 24917 D Uvc : [NativeVuforiaWebcam.h:347] ...NativeVuforiaWebcam::stop()
01-03 15:58:41.666 24917 24917 D Uvc : [NativeVuforiaWebcam.h:305] NativeVuforiaWebcam::close()...
01-03 15:58:41.666 24917 24917 D Uvc : [NativeVuforiaWebcam.h:305] ...NativeVuforiaWebcam::close()
01-03 15:58:41.666 24917 24917 D Uvc : [NativeVuforiaWebcam.h:273] NativeVuforiaWebcam::freeVuforiaWebcamNativeCallbacks()...
01-03 15:58:41.666 24917 24917 D Uvc : [NativeVuforiaWebcam.h:273] ...NativeVuforiaWebcam::freeVuforiaWebcamNativeCallbacks()
01-03 15:58:41.666 24917 24917 D Uvc : [NativeVuforiaWebcam.h:265] ...NativeVuforiaWebcam::free()
01-03 15:58:41.666 24917 24917 D Uvc : [NativeVuforiaWebcam.h:259] ...NativeVuforiaWebcam::~NativeVuforiaWebcam()
01-03 15:58:41.666 24917 24917 D UvcVuforiaWebcam: [NativeVuforiaWebcam.cpp:206] NativeVuforiaWebcam cref remaining=0
01-03 15:58:41.666 24917 24917 D Uvc : [NativeVuforiaWebcam.cpp:203] ...Java_org_firstinspires_ftc_robotcore_internal_vuforia_externalprovider_VuforiaWebcam_nativeReleaseVuforiaWebcam()
01-03 15:58:41.675 24917 24917 V RCActivity: onDestroy()
01-03 15:58:41.676 24917 24917 V RobotCore: Robot Status: stopped, internal error
01-03 15:58:41.693 24917 24917 V NetDiscover_prefremrc: doStop()...
01-03 15:58:41.693 24917 24917 V NetDiscover_prefremrc: ...doStop()
01-03 15:58:41.693 24917 24917 V NetDiscover_name: doStop()...
01-03 15:58:41.693 24917 24917 V NetDiscover_name: ...doStop()
01-03 15:58:41.693 24917 25586 V RobotCore: thread: ...terminating 'RobotSetupRunnable.run()'
01-03 15:58:41.699 24917 24917 V ServiceStarter: attempting to stop service FtcRobotControllerWatchdogService
I am having this same issue. Both of our phones are Moto E4s. Our code and the sample code works on another Moto E4 running 5.3-64 bit. However, we got a new phone to help fix connection issues and when we downloaded the newest version of the app (still says it is 5.3-64 bit) Vuforia fails to initialize.
Make sure that your Vuforia key was generated within the last couple of years, if you're using Java.
Make sure that your Vuforia key was generated within the last couple of years, if you're using Java.
Ours is the same key that we generated for Relic Recovery. This key works on our old set of phones. This, however, was also one of our troubleshooting steps and a new key did not work.
There's a known problem with 5.2 and 64 bit phones that will cause Vuforia to fail.
@BCassady, if you still have problems with 5.3 please include a screen shot of the robot controller and the robot controller log.
On Thu, Jan 9, 2020 at 9:01 PM BCassady notifications@github.com wrote:
Make sure that your Vuforia key was generated within the last couple of years, if you're using Java.
Ours is the same key that we generated for Relic Recovery. This key works on our old set of phones. This, however, was also one of our troubleshooting steps and a new key did not work.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FIRST-Tech-Challenge/SkyStone/issues/186?email_source=notifications&email_token=AAK6P5YV65DGPG5PHTWAMP3Q476JJA5CNFSM4KCR3YPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEISV5SI#issuecomment-572874441, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK6P55E3WRQIW52VD7MI7DQ476JJANCNFSM4KCR3YPA .
There's a known problem with 5.2 and 64 bit phones that will cause Vuforia to fail. @BCassady, if you still have problems with 5.3 please include a screen shot of the robot controller and the robot controller log.
We used the same key generated for Relic Recovery too. Do I need to provide additional information to help with the issue?
And the log:
--------- beginning of main
01-14 18:34:43.551 7626 7725 V Robocol : received command: CMD_SET_MATCH_NUMBER(10340) 0
01-14 18:34:43.552 7626 7725 V Robocol : received command: CMD_INIT_OP_MODE(10341) FTC9879DoubleStoneFoundationParkBLUE
01-14 18:34:43.581 7626 7724 I RobotCore: **** START - OPMODE FTC9879DoubleStoneFoundationParkBLUE ****
01-14 18:34:43.584 7626 7804 I RobotCore: Attempting to switch to op mode FTC9879DoubleStoneFoundationParkBLUE
01-14 18:34:43.696 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(0, RUN_USING_ENCODER, PIDFCoefficients(p=1.170000 i=0.117000 d=0.000000 f=11.700000 alg=PIDF))
01-14 18:34:43.697 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(0, RUN_TO_POSITION, PIDFCoefficients(p=5.000000 i=0.000000 d=0.000000 f=0.000000 alg=PIDF))
01-14 18:34:43.698 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(2, RUN_USING_ENCODER, PIDFCoefficients(p=2.000000 i=0.500000 d=0.000000 f=11.100000 alg=PIDF))
01-14 18:34:43.699 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(2, RUN_TO_POSITION, PIDFCoefficients(p=5.000000 i=0.000000 d=0.000000 f=0.000000 alg=PIDF))
01-14 18:34:43.699 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(3, RUN_USING_ENCODER, PIDFCoefficients(p=1.170000 i=0.117000 d=0.000000 f=11.700000 alg=PIDF))
01-14 18:34:43.700 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(3, RUN_TO_POSITION, PIDFCoefficients(p=5.000000 i=0.000000 d=0.000000 f=0.000000 alg=PIDF))
01-14 18:34:43.779 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(1, RUN_USING_ENCODER, PIDFCoefficients(p=1.170000 i=0.117000 d=0.000000 f=11.700000 alg=PIDF))
01-14 18:34:43.780 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(1, RUN_TO_POSITION, PIDFCoefficients(p=5.000000 i=0.000000 d=0.000000 f=0.000000 alg=PIDF))
01-14 18:34:43.781 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(3, RUN_USING_ENCODER, PIDFCoefficients(p=1.170000 i=0.117000 d=0.000000 f=11.700000 alg=PIDF))
01-14 18:34:43.782 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(3, RUN_TO_POSITION, PIDFCoefficients(p=5.000000 i=0.000000 d=0.000000 f=0.000000 alg=PIDF))
01-14 18:34:43.783 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(2, RUN_USING_ENCODER, PIDFCoefficients(p=1.170000 i=0.117000 d=0.000000 f=11.700000 alg=PIDF))
01-14 18:34:43.784 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(2, RUN_TO_POSITION, PIDFCoefficients(p=5.000000 i=0.000000 d=0.000000 f=0.000000 alg=PIDF))
01-14 18:34:43.914 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(0, RUN_USING_ENCODER, PIDFCoefficients(p=1.170000 i=0.117000 d=0.000000 f=11.700000 alg=PIDF))
01-14 18:34:43.915 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(0, RUN_TO_POSITION, PIDFCoefficients(p=5.000000 i=0.000000 d=0.000000 f=0.000000 alg=PIDF))
01-14 18:34:43.916 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(1, RUN_USING_ENCODER, PIDFCoefficients(p=1.170000 i=0.117000 d=0.000000 f=11.700000 alg=PIDF))
01-14 18:34:43.918 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(1, RUN_TO_POSITION, PIDFCoefficients(p=5.000000 i=0.000000 d=0.000000 f=0.000000 alg=PIDF))
01-14 18:34:43.918 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(2, RUN_USING_ENCODER, PIDFCoefficients(p=1.170000 i=0.117000 d=0.000000 f=11.700000 alg=PIDF))
01-14 18:34:43.919 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(2, RUN_TO_POSITION, PIDFCoefficients(p=5.000000 i=0.000000 d=0.000000 f=0.000000 alg=PIDF))
01-14 18:34:43.920 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(3, RUN_USING_ENCODER, PIDFCoefficients(p=1.170000 i=0.117000 d=0.000000 f=11.700000 alg=PIDF))
01-14 18:34:43.921 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(3, RUN_TO_POSITION, PIDFCoefficients(p=5.000000 i=0.000000 d=0.000000 f=0.000000 alg=PIDF))
01-14 18:34:43.922 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(3, RUN_USING_ENCODER, PIDFCoefficients(p=1.170000 i=0.117000 d=0.000000 f=11.700000 alg=PIDF))
01-14 18:34:43.923 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(3, RUN_TO_POSITION, PIDFCoefficients(p=5.000000 i=0.000000 d=0.000000 f=0.000000 alg=PIDF))
01-14 18:34:43.923 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(0, RUN_USING_ENCODER, PIDFCoefficients(p=1.170000 i=0.117000 d=0.000000 f=11.700000 alg=PIDF))
01-14 18:34:43.924 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(0, RUN_TO_POSITION, PIDFCoefficients(p=5.000000 i=0.000000 d=0.000000 f=0.000000 alg=PIDF))
01-14 18:34:43.925 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(0, RUN_USING_ENCODER, PIDFCoefficients(p=1.170000 i=0.117000 d=0.000000 f=11.700000 alg=PIDF))
01-14 18:34:43.926 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(0, RUN_TO_POSITION, PIDFCoefficients(p=5.000000 i=0.000000 d=0.000000 f=0.000000 alg=PIDF))
01-14 18:34:43.952 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(2, RUN_USING_ENCODER, PIDFCoefficients(p=2.000000 i=0.500000 d=0.000000 f=11.100000 alg=PIDF))
01-14 18:34:43.953 7626 7804 W LynxMotor: not supported: setPIDFCoefficients(2, RUN_TO_POSITION, PIDFCoefficients(p=5.000000 i=0.000000 d=0.000000 f=0.000000 alg=PIDF))
01-14 18:34:43.960 7626 7806 V RobotCore: thread: 'LinearOpMode main' starting...
01-14 18:34:43.975 7626 7694 D OpenGLRenderer: CacheTexture 6 upload: x, y, width height = 128, 68, 35, 141
01-14 18:34:43.984 7626 7741 V Robocol : sending CMD_NOTIFY_INIT_OP_MODE(442), attempt: 0
01-14 18:34:44.188 7626 7806 V RobotCore: addr=false data=true arb=false clock=false
01-14 18:34:44.188 7626 7806 E LynxI2cDeviceSynch: readStatusQuery: cbExpected=1 cbRead=0
01-14 18:34:44.188 7626 7806 E LynxI2cDeviceSynch: placeholder: readStatusQuery
01-14 18:34:44.264 7626 7806 V RobotCore: addr=false data=true arb=false clock=false
01-14 18:34:44.264 7626 7806 E LynxI2cDeviceSynch: readStatusQuery: cbExpected=1 cbRead=0
01-14 18:34:44.344 7626 7806 V RobotCore: addr=false data=true arb=false clock=false
01-14 18:34:44.344 7626 7806 E LynxI2cDeviceSynch: readStatusQuery: cbExpected=1 cbRead=0
01-14 18:34:44.424 7626 7806 V RobotCore: addr=false data=true arb=false clock=false
01-14 18:34:44.424 7626 7806 E LynxI2cDeviceSynch: readStatusQuery: cbExpected=1 cbRead=0
01-14 18:34:44.674 7626 7743 D AudioTrack: AudioTrackThread::pauseInternal: ns = 73288359
01-14 18:34:44.748 7626 7743 D AudioTrack: AudioTrackThread::pauseInternal: ns = 9223372036854775807
01-14 18:34:44.748 7626 7728 D AudioTrack: stop(): 0x9434c400, mState = 0
01-14 18:34:44.750 7626 7728 D AudioTrack: AudioTrackThread::pause
01-14 18:34:44.750 7626 7728 D AudioTrackCenter: setTrackActive, trackId: 0x8e19a000, active: 0
--------- beginning of system
01-14 18:34:44.750 7626 7728 D AudioTrack: audiotrack 0x9434c400 stop done
01-14 18:34:44.935 7626 7806 W IMU : re-issuing IMU mode: system status=IDLE expected=RUNNING_FUSION
01-14 18:34:45.150 7626 7806 D Vuforia : using camera by name: Webcam(412D2EA0)
01-14 18:34:45.199 7626 7806 D skia : SkJpegCodec::onGetPixels +
01-14 18:34:45.286 7626 7806 D skia : SkJpegCodec::onGetPixels -
01-14 18:34:45.347 7626 7694 D OpenGLRenderer: ~CanvasContext() 0x90bfbb80
01-14 18:34:45.347 7626 7694 D OpenGLRenderer: ~CanvasContext() 0x90aca7c0
01-14 18:34:45.348 7626 7694 D OpenGLRenderer: ~CanvasContext() 0x90ab7840
01-14 18:34:45.404 7626 7806 I System.out: Native library libVuforia.so loaded
01-14 18:34:45.406 7626 7806 D Uvc : [NativeVuforiaWebcam.cpp:176] Java_org_firstinspires_ftc_robotcore_internal_vuforia_externalprovider_VuforiaWebcam_nativePreVuforiaInit()...
01-14 18:34:45.406 7626 7806 D Uvc : [NativeVuforiaWebcam.h:135] NativeVuforiaWebcam::NativeVuforiaWebcam()...
01-14 18:34:45.406 7626 7806 D Uvc : [NativeVuforiaWebcam.h:135] ...NativeVuforiaWebcam::NativeVuforiaWebcam()
01-14 18:34:45.406 7626 7806 D UvcVuforiaWebcam: [NativeVuforiaWebcam.h:170] setting external vuforia library: libraryName='libRobotCore.so' pvUser=0x90af4780
01-14 18:34:45.406 7626 7806 D Uvc : [NativeVuforiaWebcam.cpp:176] ...Java_org_firstinspires_ftc_robotcore_internal_vuforia_externalprovider_VuforiaWebcam_nativePreVuforiaInit()
01-14 18:34:45.407 7626 7806 V NativeVuforiaWebcam: construct(pointer=0x90af4780)
01-14 18:34:45.415 7626 7806 D WebcamNameImpl: requesting permission for /dev/bus/usb/001/016
01-14 18:34:45.416 7626 7806 V WebcamNameImpl: asyncRequestUsbPermission()...
01-14 18:34:45.418 7626 7806 D WebcamNameImpl: permission already available for /dev/bus/usb/001/016
01-14 18:34:45.419 7626 7806 V WebcamNameImpl: ...asyncRequestUsbPermission()
01-14 18:34:45.419 7626 7709 D WebcamNameImpl: permission for /dev/bus/usb/001/016=true
01-14 18:34:45.419 7626 7709 D ContinuationSynchronizer: finish("permission request complete": true)...
01-14 18:34:45.420 7626 7709 D ContinuationSynchronizer: ...finish("permission request complete": true)
01-14 18:34:45.420 7626 7806 D Vuforia : Vuforia.init()...
01-14 18:34:45.455 7626 7806 I AR : Vuforia selected rendering API OpenGL ES 2.x
01-14 18:34:45.455 7626 7806 I AR : Vuforia SDK version 7.4.3
01-14 18:34:45.467 7626 7806 E AR : Vuforia ERROR : License does not permit usage of an external camera.
01-14 18:34:45.467 7626 7806 D Vuforia : ...Vuforia.init()
01-14 18:34:45.468 7626 7806 E Vuforia : exception in vuforia initialization: phase:PreInit
01-14 18:34:45.471 7626 7806 E Vuforia : org.firstinspires.ftc.robotcore.internal.vuforia.VuforiaException: Failed to initialize Vuforia.
01-14 18:34:45.474 7626 7806 E Vuforia : at org.firstinspires.ftc.robotcore.internal.vuforia.VuforiaLocalizerImpl.throwFailure(VuforiaLocalizerImpl.java:1859)
01-14 18:34:45.475 7626 7806 E Vuforia : at org.firstinspires.ftc.robotcore.internal.vuforia.VuforiaLocalizerImpl$5.get(VuforiaLocalizerImpl.java:702)
01-14 18:34:45.476 7626 7806 E Vuforia : at org.firstinspires.ftc.robotcore.internal.vuforia.VuforiaLocalizerImpl$5.get(VuforiaLocalizerImpl.java:687)
01-14 18:34:45.478 7626 7806 E Vuforia : at org.firstinspires.ftc.robotcore.internal.vuforia.VuforiaLocalizerImpl.advanceInitPhase(VuforiaLocalizerImpl.java:617)
01-14 18:34:45.479 7626 7806 E Vuforia : at org.firstinspires.ftc.robotcore.internal.vuforia.VuforiaLocalizerImpl.startAR(VuforiaLocalizerImpl.java:686)
01-14 18:34:45.480 7626 7806 E Vuforia : at org.firstinspires.ftc.robotcore.internal.vuforia.VuforiaLocalizerImpl.
You need to get a new vuforia key. Old keys don't allow webcams.
We attempted this with a new vuforia key.
The program seems to get farther into initialization, but then the entire phone crashes and restarts. We think it may have to do with a .wav file. The log is below.
Robot log 1-15-2020.txt
Also just to note, our old vuforia key works correctly with a webcam on a different Moto E4 that is also on 5.3-64 bit.
Update: The problem was solved by generating a new Vuforia key.
Brief Error: Vuforia cannot initialize after implemented UVC camera in my code Error on the phone: "Error: User code thew an uncaught exception: VuforiaException - Failed to initialize Vuforia."
Using:
setupVuforia()
ConceptTensorFlowObjectDetectionWebcam
(VUFORIA_KEY
adjusted)Webcam 1
configured in driver phone's appI looked everywhere online but did not find a similar problem.
Error Log that I think relevent (Did I output it wrong? I cannot find a single keyword
vuforia
)