Skip to content

Instantly share code, notes, and snippets.

@AusreisserSF
Created November 29, 2023 21:15
Show Gist options
  • Save AusreisserSF/2e70a2d190cb9cb68b3f33fae52feda2 to your computer and use it in GitHub Desktop.
Save AusreisserSF/2e70a2d190cb9cb68b3f33fae52feda2 to your computer and use it in GitHub Desktop.
Modified FTC sample ConceptAprilTag that crashes in easyopencv and FTC matchlog of the crash
/* Copyright (c) 2023 FIRST. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided that
* the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list
* of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright notice, this
* list of conditions and the following disclaimer in the documentation and/or
* other materials provided with the distribution.
*
* Neither the name of FIRST nor the names of its contributors may be used to endorse or
* promote products derived from this software without specific prior written permission.
*
* NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS
* LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.firstinspires.ftc.teamcode.teleop.sample;
import android.util.Size;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.util.ElapsedTime;
import com.qualcomm.robotcore.util.RobotLog;
import org.firstinspires.ftc.ftcdevcommon.AutonomousRobotException;
import org.firstinspires.ftc.ftcdevcommon.platform.android.RobotLogCommon;
import org.firstinspires.ftc.robotcore.external.hardware.camera.BuiltinCameraDirection;
import org.firstinspires.ftc.robotcore.external.hardware.camera.WebcamName;
import org.firstinspires.ftc.robotcore.external.navigation.AngleUnit;
import org.firstinspires.ftc.robotcore.external.navigation.DistanceUnit;
import org.firstinspires.ftc.vision.VisionPortal;
import org.firstinspires.ftc.vision.apriltag.AprilTagDetection;
import org.firstinspires.ftc.vision.apriltag.AprilTagGameDatabase;
import org.firstinspires.ftc.vision.apriltag.AprilTagProcessor;
import java.util.List;
/**
* This 2023-2024 OpMode illustrates the basics of AprilTag recognition and pose estimation,
* including Java Builder structures for specifying Vision parameters.
* <p>
* Use Android Studio to Copy this Class, and Paste it into your team's code folder with a new name.
* Remove or comment out the @Disabled line to add this OpMode to the Driver Station OpMode list.
*/
@TeleOp(name = "Concept: AprilTag", group = "Concept")
//@Disabled
public class ConceptAprilTag extends LinearOpMode {
private static final boolean USE_WEBCAM = true; // true for webcam, false for phone camera
/**
* {@link #aprilTag} is the variable to store our instance of the AprilTag processor.
*/
private AprilTagProcessor aprilTag;
/**
* {@link #visionPortal} is the variable to store our instance of the vision portal.
*/
private VisionPortal visionPortal;
@Override
public void runOpMode() {
initAprilTag();
// Wait for the DS start button to be touched.
telemetry.addData("DS preview on/off", "3 dots, Camera Stream");
telemetry.addData(">", "Touch Play to start OpMode");
telemetry.update();
waitForStart();
try {
if (opModeIsActive()) {
while (opModeIsActive()) {
if (visionPortal.getProcessorEnabled(aprilTag)) {
// User instructions: Dpad left or Dpad right.
telemetry.addLine("Dpad Left to disable AprilTag");
telemetry.addLine();
telemetryAprilTag();
} else {
telemetry.addLine("Dpad Right to enable AprilTag");
}
// Push telemetry to the Driver Station.
telemetry.update();
// Save CPU resources; can resume streaming when needed.
if (gamepad1.x) {
return;
}
if (gamepad1.dpad_left) {
visionPortal.setProcessorEnabled(aprilTag, false);
} else if (gamepad1.dpad_right) {
visionPortal.setProcessorEnabled(aprilTag, true);
}
if (gamepad1.dpad_down) {
visionPortal.stopStreaming();
} else if (gamepad1.dpad_up) {
visionPortal.resumeStreaming();
}
// Share the CPU.
sleep(20);
}
}
} finally {
visionPortal.setProcessorEnabled(aprilTag, false);
//**TODO crashes in easyopencv whether you use gamepad1.x or hit the stop button.
visionPortal.stopStreaming();
visionPortal.close();
}
} // end method runOpMode()
/**
* Initialize the AprilTag processor.
*/
private void initAprilTag() {
// Create the AprilTag processor.
//##PY in the sample all are commented out ...
aprilTag = new AprilTagProcessor.Builder()
//.setDrawAxes(false)
//.setDrawCubeProjection(false)
.setDrawTagOutline(true)
.setTagFamily(AprilTagProcessor.TagFamily.TAG_36h11)
//##PY .setTagLibrary(AprilTagGameDatabase.getCenterStageTagLibrary())
.setOutputUnits(DistanceUnit.INCH, AngleUnit.DEGREES)
// == CAMERA CALIBRATION ==
// If you do not manually specify calibration parameters, the SDK will attempt
// to load a predefined calibration for your camera.
// ... these parameters are fx, fy, cx, cy.
// ##PY for Logitech Brio from the 3DF Zephyr tool
//.setLensIntrinsics(627.419488832, 627.419488832, 301.424062225, 234.042415697)
//#PY for Logitech C920 from the FTC file teamwebcamcalibrations.xml
//.setLensIntrinsics(622.001, 622.001, 319.803, 241.251)
//##PY for Arducam 120fps Mono Global Shutter USB Camera, 720P OV9281 UVC Webcam Module
//.setLensIntrinsics(539.024, 539.024, 316.450, 236.365)
//##PY for Logitech C920 from the 3DF Zephyr tool
.setLensIntrinsics(625.838, 625.838, 323.437, 240.373)
.build();
// Create the vision portal by using a builder.
VisionPortal.Builder builder = new VisionPortal.Builder();
// Set the camera (webcam vs. built-in RC phone camera).
if (USE_WEBCAM) {
builder.setCamera(hardwareMap.get(WebcamName.class, "Webcam 1"));
} else {
builder.setCamera(BuiltinCameraDirection.BACK);
}
// Choose a camera resolution. Not all cameras support all resolutions.
builder.setCameraResolution(new Size(640, 480));
// Enable the RC preview (LiveView). Set "false" to omit camera monitoring.
//builder.enableCameraMonitoring(false);
// Set the stream format; MJPEG uses less bandwidth than default YUY2.
//##PY try MJEPG
builder.setStreamFormat(VisionPortal.StreamFormat.MJPEG);
// Choose whether or not LiveView stops if no processors are enabled.
// If set "true", monitor shows solid orange screen if no processors enabled.
// If set "false", monitor shows camera view without annotations.
//builder.setAutoStopLiveView(false);
// Set and enable the processor.
builder.addProcessor(aprilTag);
builder.enableLiveView(false); //##PY - added
// Build the Vision Portal, using the above settings.
visionPortal = builder.build();
RobotLog.d("ConceptAprilTag", "Waiting for webcam to start streaming");
ElapsedTime streamingTimer = new ElapsedTime();
streamingTimer.reset(); // start
while (streamingTimer.milliseconds() < 2000 && visionPortal.getCameraState() != VisionPortal.CameraState.STREAMING) {
sleep(50);
}
VisionPortal.CameraState cameraState = visionPortal.getCameraState();
if (cameraState != VisionPortal.CameraState.STREAMING) {
throw new RuntimeException("Timed out waiting for webcam streaming to start");
}
// Start with the processor disabled.
visionPortal.setProcessorEnabled(aprilTag, false);
} // end method initAprilTag()
/**
* Function to add telemetry about AprilTag detections.
*/
private void telemetryAprilTag() {
List<AprilTagDetection> currentDetections = aprilTag.getDetections();
telemetry.addData("# AprilTags Detected", currentDetections.size());
// Step through the list of detections and display info for each one.
for (AprilTagDetection detection : currentDetections) {
if (detection.metadata != null) {
telemetry.addLine(String.format("\n==== (ID %d) %s", detection.id, detection.metadata.name));
telemetry.addLine(String.format("XYZ %6.1f %6.1f %6.1f (inch)", detection.ftcPose.x, detection.ftcPose.y, detection.ftcPose.z));
telemetry.addLine(String.format("PRY %6.1f %6.1f %6.1f (deg)", detection.ftcPose.pitch, detection.ftcPose.roll, detection.ftcPose.yaw));
telemetry.addLine(String.format("RBE %6.1f %6.1f %6.1f (inch, deg, deg)", detection.ftcPose.range, detection.ftcPose.bearing, detection.ftcPose.elevation));
} else {
telemetry.addLine(String.format("\n==== (ID %d) Unknown", detection.id));
telemetry.addLine(String.format("Center %6.0f %6.0f (pixels)", detection.center.x, detection.center.y));
}
} // end for() loop
// Add "key" information to telemetry
telemetry.addLine("\nkey:\nXYZ = X (Right), Y (Forward), Z (Up) dist.");
telemetry.addLine("PRY = Pitch, Roll & Yaw (XYZ Rotation)");
telemetry.addLine("RBE = Range, Bearing & Elevation");
} // end method telemetryAprilTag()
} // end class
--------- beginning of main
11-29 12:51:25.264 4496 4594 V Robocol : received command: CMD_SET_MATCH_NUMBER(10335) 0
11-29 12:51:25.266 4496 4594 V Robocol : received command: CMD_INIT_OP_MODE(10336) Concept: AprilTag
11-29 12:51:25.287 4496 4649 V RobotCore: thread: ...terminating 'OpModeThread'
11-29 12:51:25.292 4496 4620 I RobotCore: Attempting to switch to OpMode Concept: AprilTag
11-29 12:51:25.294 4496 4620 I RobotCore: ******************** START - OPMODE Concept: AprilTag ********************
11-29 12:51:25.381 4496 4620 D HardwareMap: Clearing which device instances have been retrieved
11-29 12:51:25.383 4496 4657 V RobotCore: thread: 'OpModeThread' starting...
11-29 12:51:25.387 4496 4657 I System.out: AprilTag plugin v2.0.0
11-29 12:51:25.390 4496 4657 D AprilTagDetectorJNI: Creating 36h11 tag family
11-29 12:51:25.391 4496 4657 D AprilTagDetectorJNI: Initializing april tag detector
11-29 12:51:25.401 4496 4597 V Robocol : sending CMD_NOTIFY_INIT_OP_MODE(398), attempt: 0
11-29 12:51:25.528 4496 4657 I System.out: OpenCvCameraBase ctor: EasyOpenCV version 1.7.0
11-29 12:51:25.529 4496 4657 D RobotCore: ConceptAprilTag
11-29 12:51:25.530 4496 4658 D CameraManager: doOpenCamera()...
11-29 12:51:25.531 4496 4658 D CameraManager: requesting permission for camera: Webcam(EC2E0DA5)
11-29 12:51:25.537 4496 4658 D WebcamNameImpl: requesting permission for /dev/bus/usb/001/002
11-29 12:51:25.537 4496 4658 V WebcamNameImpl: asyncRequestUsbPermission()...
11-29 12:51:25.540 4496 4658 D WebcamNameImpl: permission already available for /dev/bus/usb/001/002
11-29 12:51:25.540 4496 4572 D WebcamNameImpl: permission for /dev/bus/usb/001/002=true
11-29 12:51:25.540 4496 4572 D CameraManager: permission granted for camera: Webcam(EC2E0DA5)
11-29 12:51:25.541 4496 4572 D CameraManager: asyncOpenCamera(Webcam(EC2E0DA5))...
11-29 12:51:25.541 4496 4572 D CameraManager: asyncOpenWebcam(Webcam(EC2E0DA5))...
11-29 12:51:25.541 4496 4572 V UsbResiliantWebcam: construct(0x083bb57e)
11-29 12:51:25.542 4496 4658 V WebcamNameImpl: ...asyncRequestUsbPermission()
11-29 12:51:25.542 4496 4572 D UsbResiliantWebcam: openAssumingPermission()...
11-29 12:51:25.542 4496 4658 D ContinuationSynchronizer: awaiting(camera open)...
11-29 12:51:25.546 4496 4572 D UvcContext: usb device is *not* UVC compatible, /dev/bus/usb/003/003
11-29 12:51:25.546 4496 4572 D UvcContext: found webcam: usbPath=/dev/bus/usb/001/002 vid=0x46D pid=0x893 serial=EC2E0DA5 product=Logitech StreamCam
11-29 12:51:25.547 4496 4572 D Uvc : [jni_context.cpp:120] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcContext_nativeCreateUvcDevice()...
11-29 12:51:25.547 4496 4572 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcContext_nativeCreateUvcDevice: enter...
11-29 12:51:25.547 4496 4572 D libusb : [20.436391] [000011dc] libusb: debug [op_create] op_create: szUsbPath=/dev/bus/usb/001/002 szSysfsDir=1-1
11-29 12:51:25.547 4496 4572 D libusb : [20.436565] [000011dc] libusb: debug [initialize_device] initialize_device(szUsbPath=/dev/bus/usb/001/002 szSysfsDir=1-1)
11-29 12:51:25.548 4496 4572 D libusb : [20.437087] [000011dc] libusb: debug [initialize_device] initialize_device(szUsbPath=(null) szSysfsDir=usb1)
11-29 12:51:25.548 4496 4572 D Uvc : [device.cpp:613] uvc_create_uvc_device()...
11-29 12:51:25.548 4496 4572 D Uvc : [libuvc/libuvc_internal.h:347] uvc_device::uvc_device()...
11-29 12:51:25.548 4496 4572 D Uvc : [libuvc/libuvc_internal.h:376] acquired vid=1133 & pid=2195
11-29 12:51:25.548 4496 4572 D Uvc : [libuvc/libuvc_internal.h:347] ...uvc_device::uvc_device()
11-29 12:51:25.548 4496 4572 D Uvc : [device.cpp:613] ...uvc_create_uvc_device() rc=0
11-29 12:51:25.548 4496 4572 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcContext_nativeCreateUvcDevice: ...exit
11-29 12:51:25.548 4496 4572 D Uvc : [jni_context.cpp:120] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcContext_nativeCreateUvcDevice()
11-29 12:51:25.549 4496 4572 V UvcDevice: construct(pointer=0x7856835800|null)
11-29 12:51:25.550 4496 4572 D Uvc : [jni_device.cpp:108] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeGetLibUsbDevice()...
11-29 12:51:25.550 4496 4572 D Uvc : [jni_device.cpp:108] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeGetLibUsbDevice()
11-29 12:51:25.551 4496 4572 V LibUsbDevice: construct(pointer=0x7856661140)
11-29 12:51:25.554 4496 4572 D UvcDevice: open()...
11-29 12:51:25.561 4496 4597 V Robocol : sending CMD_STREAM_CHANGE(401), attempt: 0
11-29 12:51:25.636 4496 4572 D Uvc : [jni_device.cpp:50] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeSetUsbDeviceInfo()...
11-29 12:51:25.636 4496 4572 D Uvc : [jni_device.cpp:50] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeSetUsbDeviceInfo()
11-29 12:51:25.637 4496 4572 D Uvc : [jni_device.cpp:233] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeOpenDeviceHandle()...
11-29 12:51:25.638 4496 4572 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeOpenDeviceHandle: enter...
11-29 12:51:25.638 4496 4572 D Uvc : [device.cpp:279] uvc_open()...
11-29 12:51:25.638 4496 4572 D Uvc : [libuvc/libuvc_internal.h:357] uvc_device::open()...
11-29 12:51:25.638 4496 4572 D libusb : [20.527056] [000011dc] libusb: debug [op_open] op_open: szUsbPath=/dev/bus/usb/001/002
11-29 12:51:25.638 4496 4572 D Uvc : [libuvc/libuvc_internal.h:357] ...uvc_device::open() rc=0
11-29 12:51:25.638 4496 4572 D Uvc : [device.cpp:295] calling libusb_reset_device()...
11-29 12:51:25.865 4496 4572 D Uvc : [device.cpp:303] ...libusb_reset_device() called
11-29 12:51:25.865 4496 4572 D Uvc : [device.cpp:311] libusb_open() = 0
11-29 12:51:25.865 4496 4572 D Uvc : [libuvc/libuvc_internal.h:733] uvc_device_handle::uvc_device_handle()...
11-29 12:51:25.865 4496 4572 D Uvc : [libuvc/libuvc_internal.h:733] ...uvc_device_handle::uvc_device_handle()
11-29 12:51:25.866 4496 4572 D Uvc : [device.cpp:386] uvc_get_device_info()...
11-29 12:51:25.866 4496 4572 D libusb : [20.754891] [000011dc] libusb: debug [op_get_config_descriptor] op_get_config_descriptor: config_index=0
11-29 12:51:25.866 4496 4572 D libusb : [20.755014] [000011dc] libusb: debug [op_get_config_descriptor] op_get_config_descriptor: config_index=0
11-29 12:51:25.866 4496 4572 D Uvc : [device.cpp:986] uvc_scan_control()...
11-29 12:51:25.866 4496 4572 D Uvc : [device.cpp:1041] uvc_parse_vc_header()...
11-29 12:51:25.866 4496 4572 D Uvc : [device.cpp:1284] uvc_scan_streaming()...
11-29 12:51:25.866 4496 4572 D Uvc : [device.cpp:1340] uvc_parse_vs_input_header()...
11-29 12:51:25.866 4496 4572 D Uvc : [device.cpp:1340] ...uvc_parse_vs_input_header() rc=0
11-29 12:51:25.866 4496 4572 D Uvc : [device.cpp:1389] uvc_parse_vs_format_uncompressed()...
11-29 12:51:25.866 4496 4572 D Uvc : [device.cpp:1389] ...uvc_parse_vs_format_uncompressed() rc=0
11-29 12:51:25.867 4496 4572 V Uvc : [device.cpp:1630] unsupported descriptor subtype: 13 UVC_VS_COLORFORMAT
11-29 12:51:25.867 4496 4572 D Uvc : [device.cpp:1449] uvc_parse_vs_format_mjpeg()...
11-29 12:51:25.867 4496 4572 D Uvc : [device.cpp:1449] ...uvc_parse_vs_format_mjpeg() rc=0
11-29 12:51:25.867 4496 4572 V Uvc : [device.cpp:1630] unsupported descriptor subtype: 13 UVC_VS_COLORFORMAT
11-29 12:51:25.868 4496 4572 D Uvc : [device.cpp:1284] ...uvc_scan_streaming() rc=0
11-29 12:51:25.868 4496 4572 D Uvc : [device.cpp:1041] ...uvc_parse_vc_header() rc=0
11-29 12:51:25.868 4496 4572 D Uvc : [device.cpp:1083] uvc_parse_vc_input_terminal()...
11-29 12:51:25.868 4496 4572 D Uvc : [device.cpp:1083] ...uvc_parse_vc_input_terminal() rc=0
11-29 12:51:25.868 4496 4572 D Uvc : [device.cpp:1156] uvc_parse_vc_processing_unit()...
11-29 12:51:25.868 4496 4572 D Uvc : [device.cpp:1156] ...uvc_parse_vc_processing_unit() rc=0
11-29 12:51:25.868 4496 4572 D Uvc : [device.cpp:986] ...uvc_scan_control() rc=0
11-29 12:51:25.868 4496 4572 D Uvc : [device.cpp:386] ...uvc_get_device_info() rc=0
11-29 12:51:25.868 4496 4572 D Uvc : [device.cpp:326] claiming control interface 0
11-29 12:51:25.868 4496 4572 D Uvc : [libuvc/libuvc_internal.h:771] uvc_device_handle::claimInterface(idx=0)...
11-29 12:51:25.870 4496 4572 D UvcDevice: claimInterface(0)
11-29 12:51:25.871 4496 4572 D UvcDevice: claimInterface(0) succeeded
11-29 12:51:25.872 4496 4572 D Uvc : [libuvc/libuvc_internal.h:784] claimInterface(0) succeeded
11-29 12:51:25.872 4496 4572 D Uvc : [libuvc/libuvc_internal.h:771] ...uvc_device_handle::claimInterface() rc=0
11-29 12:51:25.872 4496 4572 D Uvc : [device.cpp:279] ...uvc_open() rc=0
11-29 12:51:25.872 4496 4572 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeOpenDeviceHandle: ...exit
11-29 12:51:25.872 4496 4572 D Uvc : [jni_device.cpp:233] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeOpenDeviceHandle()
11-29 12:51:25.873 4496 4572 V UvcDeviceHandle: construct(pointer=0x786b5e27a0)
11-29 12:51:25.876 4496 4572 V CameraImpl: construct(0x0543532c)
11-29 12:51:25.878 4496 4572 D UsbResiliantWebcam.InterveningStateCallback: onOpened() camera=CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002)))...
11-29 12:51:25.880 4496 4572 D UsbResiliantWebcam: changeDelegatedCamera(null->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))...
11-29 12:51:25.880 4496 4572 D UvcApiFocusControl: isModeSupported(Auto)...
11-29 12:51:25.882 4496 4572 D UvcApiFocusControl: ...isModeSupported(Auto): false
11-29 12:51:25.883 4496 4572 D UvcApiFocusControl: isModeSupported(ContinuousAuto)...
11-29 12:51:25.883 4496 4572 D UvcApiFocusControl: ...isModeSupported(ContinuousAuto): true
11-29 12:51:25.883 4496 4572 D UvcApiFocusControl: isModeSupported(Macro)...
11-29 12:51:25.884 4496 4572 D UvcApiFocusControl: ...isModeSupported(Macro): false
11-29 12:51:25.884 4496 4572 D UvcApiFocusControl: isModeSupported(Infinity)...
11-29 12:51:25.884 4496 4572 D UvcApiFocusControl: ...isModeSupported(Infinity): false
11-29 12:51:25.884 4496 4572 D UvcApiFocusControl: isModeSupported(Fixed)...
11-29 12:51:25.884 4496 4572 D UvcApiFocusControl: ...isModeSupported(Fixed): true
11-29 12:51:25.885 4496 4572 D UvcApiFocusControl: isFocusLengthSupported...
11-29 12:51:25.886 4496 4572 D UvcApiFocusControl: ...isFocusLengthSupported: true
11-29 12:51:25.887 4496 4572 D UvcApiFocusControl: getMinFocusLength()...
11-29 12:51:25.888 4496 4572 D UvcApiFocusControl: ...getMinFocusLength(): 0.0
11-29 12:51:25.889 4496 4572 D UvcApiFocusControl: getMaxFocusLength()...
11-29 12:51:25.891 4496 4572 D UvcApiFocusControl: ...getMaxFocusLength(): 255.0
11-29 12:51:25.892 4496 4572 D UvcApiFocusControl: getFocusLength()...
11-29 12:51:25.894 4496 4572 D UvcDeviceHandle: [jni_devicehandle.cpp:1068] focusLength=0
11-29 12:51:25.894 4496 4572 D UvcApiFocusControl: ...getFocusLength(): 0.0
11-29 12:51:25.896 4496 4572 D CachingExposureControl: onCameraChanged(null->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))...
11-29 12:51:25.896 4496 4572 D UvcApiExposureControl: isModeSupported(Auto)...
11-29 12:51:25.898 4496 4572 D UvcApiExposureControl: ...isModeSupported(Auto): false
11-29 12:51:25.898 4496 4572 D UvcApiExposureControl: isModeSupported(ContinuousAuto)...
11-29 12:51:25.899 4496 4572 D UvcApiExposureControl: ...isModeSupported(ContinuousAuto): false
11-29 12:51:25.899 4496 4572 D UvcApiExposureControl: isModeSupported(Manual)...
11-29 12:51:25.900 4496 4572 D UvcApiExposureControl: ...isModeSupported(Manual): true
11-29 12:51:25.900 4496 4572 D UvcApiExposureControl: isModeSupported(ShutterPriority)...
11-29 12:51:25.901 4496 4572 D UvcApiExposureControl: ...isModeSupported(ShutterPriority): false
11-29 12:51:25.901 4496 4572 D UvcApiExposureControl: isModeSupported(AperturePriority)...
11-29 12:51:25.902 4496 4572 D UvcApiExposureControl: ...isModeSupported(AperturePriority): true
11-29 12:51:25.902 4496 4572 D UvcApiExposureControl: isExposureSupported()...
11-29 12:51:25.904 4496 4572 D UvcApiExposureControl: ...isExposureSupported(): true
11-29 12:51:25.904 4496 4572 D UvcApiExposureControl: getMinExposure(NANOSECONDS)...
11-29 12:51:25.905 4496 4572 D Uvc : [jni_devicehandle.cpp:654] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetMinExposure()...
11-29 12:51:25.906 4496 4572 D Uvc : [jni_devicehandle.cpp:654] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetMinExposure()
11-29 12:51:25.906 4496 4572 D UvcApiExposureControl: ...getMinExposure(NANOSECONDS): 300000
11-29 12:51:25.907 4496 4572 D UvcApiExposureControl: getMaxExposure(NANOSECONDS)...
11-29 12:51:25.909 4496 4572 D UvcApiExposureControl: ...getMaxExposure(NANOSECONDS): 204700000
11-29 12:51:25.909 4496 4572 D UvcApiExposureControl: getMode()...
11-29 12:51:25.910 4496 4572 D Uvc : [jni_devicehandle.cpp:502] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetExposureModeId()...
11-29 12:51:25.910 4496 4572 D Uvc : [jni_devicehandle.cpp:502] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetExposureModeId()
11-29 12:51:25.911 4496 4572 D UvcApiExposureControl: ...getMode(): AperturePriority
11-29 12:51:25.913 4496 4572 D CachingExposureControl: ...onCameraChanged(null->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))
11-29 12:51:25.913 4496 4572 D UvcApiPtzControl: getMinZoom()...
11-29 12:51:25.915 4496 4572 D UvcApiPtzControl: ...getMinZoom(): 100
11-29 12:51:25.915 4496 4572 D UvcApiPtzControl: getMaxZoom()...
11-29 12:51:25.917 4496 4572 D UvcApiPtzControl: ...getMaxZoom(): 400
11-29 12:51:25.917 4496 4572 D UvcApiPtzControl: getMinPanTilt()...
11-29 12:51:25.918 4496 4572 D UvcApiPtzControl: ...getMinPanTilt(): org.firstinspires.ftc.robotcore.external.hardware.camera.controls.PtzControl$PanTiltHolder@db97973
11-29 12:51:25.918 4496 4572 D UvcApiPtzControl: getMaxPanTilt()...
11-29 12:51:25.920 4496 4572 D UvcApiPtzControl: ...getMaxPanTilt(): org.firstinspires.ftc.robotcore.external.hardware.camera.controls.PtzControl$PanTiltHolder@cebf030
11-29 12:51:25.920 4496 4572 D UvcApiPtzControl: getZoom()...
11-29 12:51:25.922 4496 4572 D UvcApiPtzControl: ...getZoom(): 100
11-29 12:51:25.923 4496 4572 D UvcApiPtzControl: getPanTilt()...
11-29 12:51:25.924 4496 4572 D UvcApiPtzControl: ...getPanTilt(): org.firstinspires.ftc.robotcore.external.hardware.camera.controls.PtzControl$PanTiltHolder@8c414a9
11-29 12:51:25.924 4496 4572 D UvcApiGainControl: getMinGain()...
11-29 12:51:25.925 4496 4572 D Uvc : [jni_devicehandle.cpp:903] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetMinGain()...
11-29 12:51:25.926 4496 4572 D Uvc : [jni_devicehandle.cpp:903] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetMinGain()
11-29 12:51:25.926 4496 4572 D UvcApiGainControl: ...getMinGain(): 0
11-29 12:51:25.926 4496 4572 D UvcApiGainControl: getMaxGain()...
11-29 12:51:25.927 4496 4572 D Uvc : [jni_devicehandle.cpp:926] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetMaxGain()...
11-29 12:51:25.928 4496 4572 D Uvc : [jni_devicehandle.cpp:926] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetMaxGain()
11-29 12:51:25.928 4496 4572 D UvcApiGainControl: ...getMaxGain(): 255
11-29 12:51:25.928 4496 4572 D UvcApiGainControl: getGain()...
11-29 12:51:25.930 4496 4572 D Uvc : [jni_devicehandle.cpp:949] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetGain()...
11-29 12:51:25.931 4496 4572 D Uvc : [jni_devicehandle.cpp:949] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetGain()
11-29 12:51:25.931 4496 4572 D UvcApiGainControl: ...getGain(): 124
11-29 12:51:25.932 4496 4572 D UvcApiWhiteBalanceControl: getMinWhiteBalanceTemperature()...
11-29 12:51:25.933 4496 4572 D Uvc : [jni_devicehandle.cpp:735] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetMinWhiteBalanceTemperature()...
11-29 12:51:25.933 4496 4572 D Uvc : [jni_devicehandle.cpp:735] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetMinWhiteBalanceTemperature()
11-29 12:51:25.934 4496 4572 D UvcApiWhiteBalanceControl: ...getMinWhiteBalanceTemperature(): 2000
11-29 12:51:25.934 4496 4572 D UvcApiWhiteBalanceControl: getMaxWhiteBalanceTemperature()...
11-29 12:51:25.935 4496 4572 D Uvc : [jni_devicehandle.cpp:757] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetMaxWhiteBalanceTemperature()...
11-29 12:51:25.935 4496 4572 D Uvc : [jni_devicehandle.cpp:757] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetMaxWhiteBalanceTemperature()
11-29 12:51:25.936 4496 4572 D UvcApiWhiteBalanceControl: ...getMaxWhiteBalanceTemperature(): 7500
11-29 12:51:25.937 4496 4572 D UvcApiWhiteBalanceControl: getWhiteBalanceTemperature()...
11-29 12:51:25.938 4496 4572 D Uvc : [jni_devicehandle.cpp:802] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetWhiteBalanceTemperature()...
11-29 12:51:25.938 4496 4572 D Uvc : [jni_devicehandle.cpp:802] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetWhiteBalanceTemperature()
11-29 12:51:25.938 4496 4572 D UvcApiWhiteBalanceControl: ...getWhiteBalanceTemperature(): 4000
11-29 12:51:25.938 4496 4572 D UsbResiliantWebcam: ...changeDelegatedCamera(null->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))
11-29 12:51:25.939 4496 4572 D UsbResiliantWebcam: openSelfAndReport()...
11-29 12:51:25.939 4496 4572 V CameraImpl: construct(0x0d7e7a2e)
11-29 12:51:25.939 4496 4572 D UsbResiliantWebcam: ...openSelfAndReport()
11-29 12:51:25.940 4496 4572 D UsbResiliantWebcam.InterveningStateCallback: ...onOpened() camera=CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002)))
11-29 12:51:25.940 4496 4572 D UvcDevice: ...open()
11-29 12:51:25.940 4496 4581 D CameraManager: camera reports opened: CameraImpl(UsbResiliantWebcam(Webcam(EC2E0DA5)))
11-29 12:51:25.940 4496 4572 D UsbResiliantWebcam: ...openAssumingPermission()
11-29 12:51:25.940 4496 4572 D CameraManager: ...asyncOpenWebcam(Webcam(EC2E0DA5))
11-29 12:51:25.940 4496 4572 D CameraManager: ...asyncOpenCamera(Webcam(EC2E0DA5))
11-29 12:51:25.940 4496 4581 D ContinuationSynchronizer: finish("camera reports opened: Webcam(EC2E0DA5)": CameraImpl(UsbResiliantWebcam(Webcam(EC2E0DA5))))...
11-29 12:51:25.940 4496 4581 D ContinuationSynchronizer: ...finish("camera reports opened: Webcam(EC2E0DA5)": CameraImpl(UsbResiliantWebcam(Webcam(EC2E0DA5))))
11-29 12:51:25.940 4496 4658 D ContinuationSynchronizer: ...awaiting(camera open)
11-29 12:51:25.941 4496 4658 D CameraManager: ...doOpenCamera()
11-29 12:51:25.944 4496 4658 D UvcContext: usb device is *not* UVC compatible, /dev/bus/usb/003/003
11-29 12:51:25.944 4496 4658 D UvcContext: found webcam: usbPath=/dev/bus/usb/001/002 vid=0x46D pid=0x893 serial=EC2E0DA5 product=Logitech StreamCam
11-29 12:51:25.945 4496 4658 D Uvc : [jni_context.cpp:120] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcContext_nativeCreateUvcDevice()...
11-29 12:51:25.945 4496 4658 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcContext_nativeCreateUvcDevice: enter...
11-29 12:51:25.945 4496 4658 D libusb : [20.834116] [00001232] libusb: debug [op_create] op_create: szUsbPath=/dev/bus/usb/001/002 szSysfsDir=1-1
11-29 12:51:25.945 4496 4658 D Uvc : [device.cpp:613] uvc_create_uvc_device()...
11-29 12:51:25.945 4496 4658 D Uvc : [libuvc/libuvc_internal.h:347] uvc_device::uvc_device()...
11-29 12:51:25.945 4496 4658 D Uvc : [libuvc/libuvc_internal.h:376] acquired vid=1133 & pid=2195
11-29 12:51:25.945 4496 4658 D Uvc : [libuvc/libuvc_internal.h:347] ...uvc_device::uvc_device()
11-29 12:51:25.945 4496 4658 D Uvc : [device.cpp:613] ...uvc_create_uvc_device() rc=0
11-29 12:51:25.945 4496 4658 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcContext_nativeCreateUvcDevice: ...exit
11-29 12:51:25.945 4496 4658 D Uvc : [jni_context.cpp:120] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcContext_nativeCreateUvcDevice()
11-29 12:51:25.946 4496 4658 V UvcDevice: construct(pointer=0x7856835d00|null)
11-29 12:51:25.946 4496 4658 D Uvc : [jni_device.cpp:108] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeGetLibUsbDevice()...
11-29 12:51:25.946 4496 4658 D Uvc : [jni_device.cpp:108] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeGetLibUsbDevice()
11-29 12:51:25.946 4496 4658 V LibUsbDevice: construct(pointer=0x7856661140)
11-29 12:51:25.947 4496 4658 V UvcApiCameraCharacteristicsBuilder: construct(0x05a839cf)
11-29 12:51:25.949 4496 4658 D Uvc : [jni_device.cpp:289] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeGetDeviceInfo()...
11-29 12:51:25.949 4496 4658 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeGetDeviceInfo: enter...
11-29 12:51:25.949 4496 4658 D Uvc : [device.cpp:386] uvc_get_device_info()...
11-29 12:51:25.949 4496 4658 D libusb : [20.838202] [00001232] libusb: debug [op_get_config_descriptor] op_get_config_descriptor: config_index=0
11-29 12:51:25.949 4496 4658 D libusb : [20.838250] [00001232] libusb: debug [op_get_config_descriptor] op_get_config_descriptor: config_index=0
11-29 12:51:25.949 4496 4658 D Uvc : [device.cpp:986] uvc_scan_control()...
11-29 12:51:25.949 4496 4658 D Uvc : [device.cpp:1041] uvc_parse_vc_header()...
11-29 12:51:25.949 4496 4658 D Uvc : [device.cpp:1284] uvc_scan_streaming()...
11-29 12:51:25.949 4496 4658 D Uvc : [device.cpp:1340] uvc_parse_vs_input_header()...
11-29 12:51:25.949 4496 4658 D Uvc : [device.cpp:1340] ...uvc_parse_vs_input_header() rc=0
11-29 12:51:25.949 4496 4658 D Uvc : [device.cpp:1389] uvc_parse_vs_format_uncompressed()...
11-29 12:51:25.949 4496 4658 D Uvc : [device.cpp:1389] ...uvc_parse_vs_format_uncompressed() rc=0
11-29 12:51:25.949 4496 4658 V Uvc : [device.cpp:1630] unsupported descriptor subtype: 13 UVC_VS_COLORFORMAT
11-29 12:51:25.949 4496 4658 D Uvc : [device.cpp:1449] uvc_parse_vs_format_mjpeg()...
11-29 12:51:25.949 4496 4658 D Uvc : [device.cpp:1449] ...uvc_parse_vs_format_mjpeg() rc=0
11-29 12:51:25.950 4496 4658 V Uvc : [device.cpp:1630] unsupported descriptor subtype: 13 UVC_VS_COLORFORMAT
11-29 12:51:25.950 4496 4658 D Uvc : [device.cpp:1284] ...uvc_scan_streaming() rc=0
11-29 12:51:25.950 4496 4658 D Uvc : [device.cpp:1041] ...uvc_parse_vc_header() rc=0
11-29 12:51:25.950 4496 4658 D Uvc : [device.cpp:1083] uvc_parse_vc_input_terminal()...
11-29 12:51:25.950 4496 4658 D Uvc : [device.cpp:1083] ...uvc_parse_vc_input_terminal() rc=0
11-29 12:51:25.950 4496 4658 D Uvc : [device.cpp:1156] uvc_parse_vc_processing_unit()...
11-29 12:51:25.950 4496 4658 D Uvc : [device.cpp:1156] ...uvc_parse_vc_processing_unit() rc=0
11-29 12:51:25.950 4496 4658 D Uvc : [device.cpp:986] ...uvc_scan_control() rc=0
11-29 12:51:25.950 4496 4658 D Uvc : [device.cpp:386] ...uvc_get_device_info() rc=0
11-29 12:51:25.950 4496 4658 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeGetDeviceInfo: ...exit
11-29 12:51:25.950 4496 4658 D Uvc : [jni_device.cpp:289] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeGetDeviceInfo()
11-29 12:51:25.950 4496 4658 V UvcDeviceInfo: construct(pointer=0x785673d490)
11-29 12:51:25.953 4496 4658 V UvcStreamingInterface: construct(pointer=0x7856835dc0)
11-29 12:51:26.014 4496 4658 V UvcStreamingInterface: destroy(pointer=0x7856835dc0)
11-29 12:51:26.015 4496 4658 V UvcDeviceInfo: destroy(pointer=0x785673d490)
11-29 12:51:26.015 4496 4658 D Uvc : [jni_deviceinfo.cpp:63] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceInfo_nativeFreeDeviceInfo()...
11-29 12:51:26.015 4496 4658 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceInfo_nativeFreeDeviceInfo: enter...
11-29 12:51:26.016 4496 4658 D Uvc : [device.cpp:433] uvc_free_device_info()...
11-29 12:51:26.016 4496 4658 D Uvc : [device.cpp:433] ...uvc_free_device_info()
11-29 12:51:26.016 4496 4658 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceInfo_nativeFreeDeviceInfo: ...exit
11-29 12:51:26.016 4496 4658 D Uvc : [jni_deviceinfo.cpp:63] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceInfo_nativeFreeDeviceInfo()
11-29 12:51:26.016 4496 4658 V UvcApiCameraCharacteristicsBuilder: destroy(hash=0x05a839cf)
11-29 12:51:26.017 4496 4658 V UvcDevice: destroy(pointer=0x7856835d00|/dev/bus/usb/001/002)
11-29 12:51:26.017 4496 4658 D Uvc : [jni_device.cpp:126] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeReleaseRefDevice()...
11-29 12:51:26.017 4496 4658 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeReleaseRefDevice: enter...
11-29 12:51:26.017 4496 4658 D Uvc : [device.cpp:882] uvc_unref_device()...
11-29 12:51:26.017 4496 4658 D Uvc : [device.cpp:882] ...uvc_unref_device()
11-29 12:51:26.017 4496 4658 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeReleaseRefDevice: ...exit
11-29 12:51:26.017 4496 4658 D Uvc : [jni_device.cpp:126] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeReleaseRefDevice()
11-29 12:51:26.018 4496 4658 V LibUsbDevice: destroy(pointer=0x7856661140)
11-29 12:51:26.019 4496 4658 D Uvc : [jni_libusb_device.cpp:64] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_LibUsbDevice_nativeReleaseRefDevice()...
11-29 12:51:26.019 4496 4658 D Uvc : [jni_libusb_device.cpp:64] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_LibUsbDevice_nativeReleaseRefDevice()
11-29 12:51:26.020 4496 4658 D UsbResiliantWebcam: createCaptureSession()...
11-29 12:51:26.020 4496 4658 V DelCaptureSession: construct(0x0f57df5c)
11-29 12:51:26.022 4496 4658 D UsbResiliantWebcam|DelCaptureSession: onCameraChange(null->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))...
11-29 12:51:26.023 4496 4658 D UsbResiliantWebcam|DelCaptureSession: ...onCameraChange(null->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))
11-29 12:51:26.024 4496 4658 D CachingExposureControl: onCameraChanged(CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002)))->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))...
11-29 12:51:26.024 4496 4658 D CachingExposureControl: ...onCameraChanged(CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002)))->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))
11-29 12:51:26.024 4496 4658 D UsbResiliantWebcam: ...createCaptureSession()
11-29 12:51:26.024 4496 4659 D UsbResiliantWebcam|DelCaptureSession: startCapture()...
11-29 12:51:26.025 4496 4659 V DelCaptureSequence: construct(0x0b7c0b3a)
11-29 12:51:26.026 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: onCameraChange(null->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))...
11-29 12:51:26.026 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: pauseStreaming(Stopped)...
11-29 12:51:26.026 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: ...pauseStreaming(Stopped)
11-29 12:51:26.027 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: resumeStreaming(Stopped)...
11-29 12:51:26.027 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: ...resumeStreaming(Stopped)
11-29 12:51:26.027 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: ...onCameraChange(null->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))
11-29 12:51:26.028 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: startStreaming(Stopped)...
11-29 12:51:26.028 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: doStreaming()...
11-29 12:51:26.028 4496 4659 V UvcApiCaptureSession: construct(0x0818a3eb)
11-29 12:51:26.029 4496 4581 D UsbResiliantWebcam|DelCaptureSession: camera session is configured: Webcam(EC2E0DA5)
11-29 12:51:26.030 4496 4659 V UvcApiCameraCaptureSequence: construct(0x07319548)
11-29 12:51:26.030 4496 4659 D UvcDeviceHandle: getStreamControl(640x480 30)...
11-29 12:51:26.031 4496 4659 V UvcStreamCtrl: construct(0x0948afe1)
11-29 12:51:26.033 4496 4659 D Uvc : [jni_devicehandle.cpp:114] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetStreamControlFormatSize()...
11-29 12:51:26.033 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetStreamControlFormatSize: enter...
11-29 12:51:26.033 4496 4659 D Uvc : [stream.cpp:373] uvc_get_stream_ctrl_format_size()...
11-29 12:51:26.033 4496 4659 D Uvc : [libuvc/libuvc_internal.h:771] uvc_device_handle::claimInterface(idx=1)...
11-29 12:51:26.034 4496 4659 D UvcDevice: claimInterface(1)
11-29 12:51:26.034 4496 4659 D UvcDevice: claimInterface(1) succeeded
11-29 12:51:26.034 4496 4659 D Uvc : [libuvc/libuvc_internal.h:784] claimInterface(1) succeeded
11-29 12:51:26.034 4496 4659 D Uvc : [libuvc/libuvc_internal.h:771] ...uvc_device_handle::claimInterface() rc=0
11-29 12:51:26.034 4496 4659 D UvcStream: [stream.cpp:412] 640x480 30fps
11-29 12:51:26.034 4496 4659 D Uvc : [stream.cpp:162] uvc_query_stream_ctrl()...
11-29 12:51:26.034 4496 4659 D Uvc : [stream.cpp:162] ...uvc_query_stream_ctrl() rc=0
11-29 12:51:26.034 4496 4659 D Uvc : [libuvc/libuvc_internal.h:794] uvc_device_handle::releaseInterface()...
11-29 12:51:26.035 4496 4659 D UvcDevice: releaseInterface(1)
11-29 12:51:26.035 4496 4659 D UvcDevice: releaseInterface(1) succeeded
11-29 12:51:26.035 4496 4659 D Uvc : [libuvc/libuvc_internal.h:794] ...uvc_device_handle::releaseInterface() rc=0
11-29 12:51:26.035 4496 4659 D Uvc : [stream.cpp:523] uvc_probe_stream_ctrl()...
11-29 12:51:26.035 4496 4659 D Uvc : [libuvc/libuvc_internal.h:771] uvc_device_handle::claimInterface(idx=1)...
11-29 12:51:26.035 4496 4659 D UvcDevice: claimInterface(1)
11-29 12:51:26.036 4496 4659 D UvcDevice: claimInterface(1) succeeded
11-29 12:51:26.036 4496 4659 D Uvc : [libuvc/libuvc_internal.h:784] claimInterface(1) succeeded
11-29 12:51:26.036 4496 4659 D Uvc : [libuvc/libuvc_internal.h:771] ...uvc_device_handle::claimInterface() rc=0
11-29 12:51:26.036 4496 4659 D Uvc : [stream.cpp:162] uvc_query_stream_ctrl()...
11-29 12:51:26.036 4496 4659 D Uvc : [stream.cpp:162] ...uvc_query_stream_ctrl() rc=0
11-29 12:51:26.036 4496 4659 D Uvc : [stream.cpp:162] uvc_query_stream_ctrl()...
11-29 12:51:26.036 4496 4659 D Uvc : [stream.cpp:162] ...uvc_query_stream_ctrl() rc=0
11-29 12:51:26.036 4496 4659 D Uvc : [stream.cpp:523] ...uvc_probe_stream_ctrl() rc=0
11-29 12:51:26.036 4496 4659 D Uvc : [stream.cpp:373] ...uvc_get_stream_ctrl_format_size() rc=0
11-29 12:51:26.036 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetStreamControlFormatSize: ...exit
11-29 12:51:26.036 4496 4659 D Uvc : [jni_devicehandle.cpp:114] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetStreamControlFormatSize()
11-29 12:51:26.037 4496 4659 D UvcDeviceHandle: ...getStreamControl(640x480 30)
11-29 12:51:26.037 4496 4659 D Uvc : [jni_streamcontrol.cpp:101] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamCtrl_nativeOpen()...
11-29 12:51:26.037 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamCtrl_nativeOpen: enter...
11-29 12:51:26.038 4496 4659 D Uvc : [devicehandle.cpp:46] uvc_device_handle::openStreamControl()...
11-29 12:51:26.038 4496 4659 D Uvc : [streamhandle.cpp:58] uvc_stream_handle::claimInterface()...
11-29 12:51:26.038 4496 4659 D Uvc : [libuvc/libuvc_internal.h:771] uvc_device_handle::claimInterface(idx=1)...
11-29 12:51:26.038 4496 4659 D UvcDevice: claimInterface(1)
11-29 12:51:26.038 4496 4659 D UvcDevice: claimInterface(1) succeeded
11-29 12:51:26.038 4496 4659 D Uvc : [libuvc/libuvc_internal.h:784] claimInterface(1) succeeded
11-29 12:51:26.038 4496 4659 D Uvc : [libuvc/libuvc_internal.h:771] ...uvc_device_handle::claimInterface() rc=0
11-29 12:51:26.038 4496 4659 D Uvc : [streamhandle.cpp:58] ...uvc_stream_handle::claimInterface() rc=0
11-29 12:51:26.038 4496 4659 D Uvc : [stream.cpp:162] uvc_query_stream_ctrl()...
11-29 12:51:26.041 4496 4659 D Uvc : [stream.cpp:162] ...uvc_query_stream_ctrl() rc=0
11-29 12:51:26.041 4496 4659 D Uvc : [devicehandle.cpp:46] ...uvc_device_handle::openStreamControl() rc=0
11-29 12:51:26.041 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamCtrl_nativeOpen: ...exit
11-29 12:51:26.041 4496 4659 D Uvc : [jni_streamcontrol.cpp:101] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamCtrl_nativeOpen()
11-29 12:51:26.041 4496 4659 V UvcStreamHandle: construct(pointer=0x785664dc00)
11-29 12:51:26.042 4496 4659 D Uvc : [jni_streamhandle.cpp:184] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming()...
11-29 12:51:26.042 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming: enter...
11-29 12:51:26.042 4496 4659 D Uvc : [stream.cpp:1515] uvc_stream_stop()...
11-29 12:51:26.042 4496 4659 D Uvc : [stream.cpp:1515] ...uvc_stream_stop() rc=0
11-29 12:51:26.042 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming: ...exit
11-29 12:51:26.042 4496 4659 D Uvc : [jni_streamhandle.cpp:184] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming()
11-29 12:51:26.043 4496 4659 V UvcFrameCallback: construct(0x028fa106)
11-29 12:51:26.044 4496 4659 V UvcFrameCallbackData: construct(pointer=0x785664abb0)
11-29 12:51:26.045 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStartStreaming: enter...
11-29 12:51:26.045 4496 4659 D Uvc : [stream.cpp:970] uvc_stream_start_bandwidth()...
11-29 12:51:26.045 4496 4659 D Uvc : [stream.cpp:1173] uvc_stream_handle::startIsochronousStreaming()...
11-29 12:51:26.045 4496 4659 D Uvc : [libuvc/libuvc_internal.h:826] uvc_device_handle::setInterfaceAltSetting(setInterfaceAltSetting(intf=1 alt=6))...
11-29 12:51:26.045 4496 4659 D UvcDevice: setInterfaceAltSetting(1,6)
11-29 12:51:26.293 4496 4659 D UvcDevice: setInterfaceAltSetting(1,6) succeeded
11-29 12:51:26.293 4496 4659 D Uvc : [libuvc/libuvc_internal.h:826] ...uvc_device_handle::setInterfaceAltSetting() rc=0
11-29 12:51:26.293 4496 4659 D Uvc : [stream.cpp:1173] ...uvc_stream_handle::startIsochronousStreaming() rc=0
11-29 12:51:26.293 4496 4659 D Uvc : [stream.cpp:1201] uvc_stream_handle::startUserCallbackThread()...
11-29 12:51:26.293 4496 4660 D UvcStream: [stream.cpp:1265] User Callback thread started
11-29 12:51:26.294 4496 4659 D Uvc : [stream.cpp:1201] ...uvc_stream_handle::startUserCallbackThread() rc=0
11-29 12:51:26.294 4496 4659 D Uvc : [stream.cpp:1221] uvc_stream_handle::submitTransfers()...
11-29 12:51:26.295 4496 4659 D Uvc : [stream.cpp:1221] ...uvc_stream_handle::submitTransfers() rc=0
11-29 12:51:26.295 4496 4659 D Uvc : [stream.cpp:970] ...uvc_stream_start_bandwidth() rc=0
11-29 12:51:26.295 4496 4659 D UvcStreamHandle: [jni_streamhandle.cpp:150] successfully started streaming
11-29 12:51:26.295 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStartStreaming: ...exit
11-29 12:51:26.296 4496 4659 V UvcStreamCtrl: destroy(pointer=0x7856835dc0)
11-29 12:51:26.298 4496 4618 D UvcStream: [stream.cpp:729] this is the UVC processTransfer() stream processing thread
11-29 12:51:26.299 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: ...doStreaming()
11-29 12:51:26.300 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: ...startStreaming(Stopped)
11-29 12:51:26.300 4496 4659 D UsbResiliantWebcam|DelCaptureSession: ...startCapture()
11-29 12:51:26.300 4496 4659 I System.out: OpenCvWebcam: onConfigured
11-29 12:51:26.300 4496 4658 I System.out: OpenCvWebcam: streaming started
11-29 12:51:26.351 4496 4658 D CameraCalibrationManager: CameraCalibration(VendorProductCalibrationIdentity(vid=0x046d,pid=0x0893) 640x480)=null
11-29 12:51:26.352 4496 4658 D CameraCalibrationManager: getCameraCalibration(): CameraCalibration(VendorProductCalibrationIdentity(vid=0x046d,pid=0x0893) 640x480 f=0.000,0.000)
11-29 12:51:26.493 4496 4660 D AprilTagProcessorImpl: User provided their own camera calibration fx=625.838 fy=625.838 cx=323.437 cy=240.373
11-29 12:51:28.704 4496 4594 V Robocol : received command: CMD_REQUEST_FRAME(10381)
11-29 12:51:28.841 4496 4597 V Robocol : sending CMD_RECEIVE_FRAME_BEGIN(437), attempt: 0
11-29 12:51:28.842 4496 4597 V Robocol : sending CMD_RECEIVE_FRAME_CHUNK(438), attempt: 0
11-29 12:51:28.843 4496 4597 V Robocol : sending CMD_RECEIVE_FRAME_CHUNK(440), attempt: 0
11-29 12:51:28.845 4496 4597 V Robocol : sending CMD_RECEIVE_FRAME_CHUNK(441), attempt: 0
11-29 12:51:28.846 4496 4597 V Robocol : sending CMD_RECEIVE_FRAME_CHUNK(442), attempt: 0
11-29 12:51:28.848 4496 4597 V Robocol : sending CMD_RECEIVE_FRAME_CHUNK(443), attempt: 0
11-29 12:51:28.850 4496 4597 V Robocol : sending CMD_RECEIVE_FRAME_CHUNK(444), attempt: 0
11-29 12:51:28.851 4496 4597 V Robocol : sending CMD_RECEIVE_FRAME_CHUNK(445), attempt: 0
11-29 12:51:28.852 4496 4597 V Robocol : sending CMD_RECEIVE_FRAME_CHUNK(446), attempt: 0
11-29 12:51:28.854 4496 4597 V Robocol : sending CMD_RECEIVE_FRAME_CHUNK(447), attempt: 0
11-29 12:51:28.855 4496 4597 V Robocol : sending CMD_RECEIVE_FRAME_CHUNK(448), attempt: 0
11-29 12:51:28.857 4496 4597 V Robocol : sending CMD_RECEIVE_FRAME_CHUNK(449), attempt: 0
11-29 12:51:36.744 4496 4594 V Robocol : received command: CMD_RUN_OP_MODE(10474) Concept: AprilTag
11-29 12:51:36.762 4496 4597 V Robocol : sending CMD_NOTIFY_RUN_OP_MODE(542), attempt: 0
11-29 12:51:48.274 4496 4693 D UsbResiliantWebcam|DelCaptureSession: stopCapture()...
11-29 12:51:48.275 4496 4693 D UsbResiliantWebcam|DelCaptureSequence: undoStreaming()...
11-29 12:51:48.275 4496 4693 D UvcApiCaptureSession: stopCapture()...
11-29 12:51:48.275 4496 4693 D Uvc : [jni_streamhandle.cpp:184] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming()...
11-29 12:51:48.275 4496 4693 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming: enter...
11-29 12:51:48.275 4496 4693 D Uvc : [stream.cpp:1515] uvc_stream_stop()...
11-29 12:51:48.275 4496 4693 D UvcStream: [stream.cpp:1543] cancelling extant transfers
11-29 12:51:48.276 4496 4693 D Uvc : [stream.cpp:1472] (waitForAllTransfers(waiting for cancelled transfers))...
11-29 12:51:48.277 4496 4693 D UvcStream: [stream.cpp:1486] no extant active transfers: continuing
11-29 12:51:48.277 4496 4693 D Uvc : [stream.cpp:1472] ...()
11-29 12:51:48.277 4496 4693 D Uvc : [stream.cpp:1189] uvc_stream_handle::stopIsochronousStreaming()...
11-29 12:51:48.277 4496 4693 D Uvc : [libuvc/libuvc_internal.h:826] uvc_device_handle::setInterfaceAltSetting(setInterfaceAltSetting(intf=1 alt=0))...
11-29 12:51:48.278 4496 4693 D UvcDevice: setInterfaceAltSetting(1,0)
11-29 12:51:48.471 4496 4693 D UvcDevice: setInterfaceAltSetting(1,0) succeeded
11-29 12:51:48.472 4496 4693 D Uvc : [libuvc/libuvc_internal.h:826] ...uvc_device_handle::setInterfaceAltSetting() rc=0
11-29 12:51:48.472 4496 4693 D Uvc : [stream.cpp:1189] ...uvc_stream_handle::stopIsochronousStreaming() rc=0
11-29 12:51:48.472 4496 4693 D UvcStream: [stream.cpp:1559] awakening user thread
11-29 12:51:48.472 4496 4693 D UvcStream: [stream.cpp:1568] waiting for user callback thread to finish
11-29 12:51:48.472 4496 4660 D UvcStream: [stream.cpp:1330] user callback thread stopped
11-29 12:51:48.472 4496 4693 D Uvc : [stream.cpp:1515] ...uvc_stream_stop() rc=0
11-29 12:51:48.472 4496 4693 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming: ...exit
11-29 12:51:48.472 4496 4693 D Uvc : [jni_streamhandle.cpp:184] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming()
11-29 12:51:48.473 4496 4693 V UvcFrameCallback: destroy(hash=0x028fa106)
11-29 12:51:48.474 4496 4693 V UvcFrameCallbackData: destroy(pointer=0x785664abb0)
11-29 12:51:48.476 4496 4693 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcFrameCallback_nativeReleaseCallbackState: enter...
11-29 12:51:48.476 4496 4693 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcFrameCallback_nativeReleaseCallbackState: ...exit
11-29 12:51:48.477 4496 4693 V UvcStreamHandle: destroy(pointer=0x785664dc00)
11-29 12:51:48.477 4496 4693 D Uvc : [jni_streamhandle.cpp:184] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming()...
11-29 12:51:48.477 4496 4693 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming: enter...
11-29 12:51:48.477 4496 4693 D Uvc : [stream.cpp:1515] uvc_stream_stop()...
11-29 12:51:48.477 4496 4693 D Uvc : [stream.cpp:1515] ...uvc_stream_stop() rc=0
11-29 12:51:48.477 4496 4693 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming: ...exit
11-29 12:51:48.477 4496 4693 D Uvc : [jni_streamhandle.cpp:184] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming()
11-29 12:51:48.479 4496 4693 D Uvc : [jni_streamhandle.cpp:200] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeCloseStreamHandle()...
11-29 12:51:48.479 4496 4693 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeCloseStreamHandle: enter...
11-29 12:51:48.479 4496 4693 D Uvc : [stream.cpp:1585] uvc_stream_close()...
11-29 12:51:48.479 4496 4693 D Uvc : [streamhandle.cpp:45] uvc_stream_handle::~uvc_stream_handle()...
11-29 12:51:48.479 4496 4693 D Uvc : [streamhandle.cpp:66] uvc_stream_handle::releaseInterface()...
11-29 12:51:48.479 4496 4693 D Uvc : [libuvc/libuvc_internal.h:794] uvc_device_handle::releaseInterface()...
11-29 12:51:48.479 4496 4693 D UvcDevice: releaseInterface(1)
11-29 12:51:48.480 4496 4693 D UvcDevice: releaseInterface(1) succeeded
11-29 12:51:48.481 4496 4693 D Uvc : [libuvc/libuvc_internal.h:794] ...uvc_device_handle::releaseInterface() rc=0
11-29 12:51:48.481 4496 4693 D Uvc : [streamhandle.cpp:66] ...uvc_stream_handle::releaseInterface()
11-29 12:51:48.481 4496 4693 D Uvc : [streamhandle.cpp:45] ...uvc_stream_handle::~uvc_stream_handle()
11-29 12:51:48.481 4496 4693 D Uvc : [stream.cpp:1585] ...uvc_stream_close()
11-29 12:51:48.481 4496 4693 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeCloseStreamHandle: ...exit
11-29 12:51:48.481 4496 4693 D Uvc : [jni_streamhandle.cpp:200] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeCloseStreamHandle()
11-29 12:51:48.483 4496 4659 D RobotCore: capture sequence DelegatingCaptureSequenceId(1) reports completed: lastFrame=652
11-29 12:51:48.484 4496 4693 V UvcApiCameraCaptureSequence: destroy(hash=0x07319548)
11-29 12:51:48.484 4496 4693 D UvcApiCaptureSession: ...stopCapture()
11-29 12:51:48.485 4496 4693 D UvcApiCaptureSession: doClose()...
11-29 12:51:48.486 4496 4693 D UvcApiCaptureSession: ...doClose()
11-29 12:51:48.486 4496 4581 D UsbResiliantWebcam|DelCaptureSession: camera session is closed: Webcam(EC2E0DA5)
11-29 12:51:48.486 4496 4693 D UsbResiliantWebcam|DelCaptureSequence: ...undoStreaming()
11-29 12:51:48.486 4496 4581 V UvcApiCaptureSession: destroy(hash=0x0818a3eb)
11-29 12:51:48.487 4496 4581 D UvcApiCaptureSession: destructor...
11-29 12:51:48.487 4496 4659 D RobotCore: capture sequence DelegatingCaptureSequenceId(1) reports completed: lastFrame=652
11-29 12:51:48.487 4496 4581 D UvcApiCaptureSession: ...destructor
11-29 12:51:48.487 4496 4693 V UsbResiliantWebcam|DelCaptureSequence: destroy(hash=0x0b7c0b3a)
11-29 12:51:48.488 4496 4693 D UsbResiliantWebcam|DelCaptureSession: ...stopCapture()
11-29 12:51:48.488 4496 4693 D UsbResiliantWebcam|DelCaptureSession: doClose()...
11-29 12:51:48.489 4496 4693 D UsbResiliantWebcam|DelCaptureSession: ...doClose()
11-29 12:51:48.490 4496 4693 V UsbResiliantWebcam|DelCaptureSession: destroy(hash=0x0f57df5c)
11-29 12:51:48.490 4496 4693 D UsbResiliantWebcam|DelCaptureSession: destructor()...
11-29 12:51:48.490 4496 4693 D UsbResiliantWebcam|DelCaptureSession: ...destructor()
11-29 12:52:01.473 4496 4711 D UsbResiliantWebcam: createCaptureSession()...
11-29 12:52:01.473 4496 4711 V DelCaptureSession: construct(0x098db6ea)
11-29 12:52:01.475 4496 4711 D UsbResiliantWebcam|DelCaptureSession: onCameraChange(null->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))...
11-29 12:52:01.476 4496 4711 D UsbResiliantWebcam|DelCaptureSession: ...onCameraChange(null->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))
11-29 12:52:01.478 4496 4711 D CachingExposureControl: onCameraChanged(CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002)))->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))...
11-29 12:52:01.479 4496 4711 D CachingExposureControl: ...onCameraChanged(CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002)))->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))
11-29 12:52:01.479 4496 4711 D UsbResiliantWebcam: ...createCaptureSession()
11-29 12:52:01.480 4496 4659 D UsbResiliantWebcam|DelCaptureSession: startCapture()...
11-29 12:52:01.481 4496 4659 V DelCaptureSequence: construct(0x020e5ddb)
11-29 12:52:01.482 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: onCameraChange(null->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))...
11-29 12:52:01.483 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: pauseStreaming(Stopped)...
11-29 12:52:01.483 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: ...pauseStreaming(Stopped)
11-29 12:52:01.484 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: resumeStreaming(Stopped)...
11-29 12:52:01.484 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: ...resumeStreaming(Stopped)
11-29 12:52:01.484 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: ...onCameraChange(null->CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002))))
11-29 12:52:01.484 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: startStreaming(Stopped)...
11-29 12:52:01.485 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: doStreaming()...
11-29 12:52:01.485 4496 4659 V UvcApiCaptureSession: construct(0x0318e078)
11-29 12:52:01.486 4496 4581 D UsbResiliantWebcam|DelCaptureSession: camera session is configured: Webcam(EC2E0DA5)
11-29 12:52:01.487 4496 4659 V UvcApiCameraCaptureSequence: construct(0x0acc5351)
11-29 12:52:01.489 4496 4659 D UvcDeviceHandle: getStreamControl(640x480 30)...
11-29 12:52:01.489 4496 4659 V UvcStreamCtrl: construct(0x0c0857b6)
11-29 12:52:01.490 4496 4659 D Uvc : [jni_devicehandle.cpp:114] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetStreamControlFormatSize()...
11-29 12:52:01.490 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetStreamControlFormatSize: enter...
11-29 12:52:01.490 4496 4659 D Uvc : [stream.cpp:373] uvc_get_stream_ctrl_format_size()...
11-29 12:52:01.490 4496 4659 D Uvc : [libuvc/libuvc_internal.h:771] uvc_device_handle::claimInterface(idx=1)...
11-29 12:52:01.490 4496 4659 D UvcDevice: claimInterface(1)
11-29 12:52:01.491 4496 4659 D UvcDevice: claimInterface(1) succeeded
11-29 12:52:01.491 4496 4659 D Uvc : [libuvc/libuvc_internal.h:784] claimInterface(1) succeeded
11-29 12:52:01.491 4496 4659 D Uvc : [libuvc/libuvc_internal.h:771] ...uvc_device_handle::claimInterface() rc=0
11-29 12:52:01.491 4496 4659 D UvcStream: [stream.cpp:412] 640x480 30fps
11-29 12:52:01.491 4496 4659 D Uvc : [stream.cpp:162] uvc_query_stream_ctrl()...
11-29 12:52:01.492 4496 4659 D Uvc : [stream.cpp:162] ...uvc_query_stream_ctrl() rc=0
11-29 12:52:01.492 4496 4659 D Uvc : [libuvc/libuvc_internal.h:794] uvc_device_handle::releaseInterface()...
11-29 12:52:01.492 4496 4659 D UvcDevice: releaseInterface(1)
11-29 12:52:01.493 4496 4659 D UvcDevice: releaseInterface(1) succeeded
11-29 12:52:01.493 4496 4659 D Uvc : [libuvc/libuvc_internal.h:794] ...uvc_device_handle::releaseInterface() rc=0
11-29 12:52:01.493 4496 4659 D Uvc : [stream.cpp:523] uvc_probe_stream_ctrl()...
11-29 12:52:01.493 4496 4659 D Uvc : [libuvc/libuvc_internal.h:771] uvc_device_handle::claimInterface(idx=1)...
11-29 12:52:01.494 4496 4659 D UvcDevice: claimInterface(1)
11-29 12:52:01.494 4496 4659 D UvcDevice: claimInterface(1) succeeded
11-29 12:52:01.494 4496 4659 D Uvc : [libuvc/libuvc_internal.h:784] claimInterface(1) succeeded
11-29 12:52:01.494 4496 4659 D Uvc : [libuvc/libuvc_internal.h:771] ...uvc_device_handle::claimInterface() rc=0
11-29 12:52:01.494 4496 4659 D Uvc : [stream.cpp:162] uvc_query_stream_ctrl()...
11-29 12:52:01.495 4496 4659 D Uvc : [stream.cpp:162] ...uvc_query_stream_ctrl() rc=0
11-29 12:52:01.495 4496 4659 D Uvc : [stream.cpp:162] uvc_query_stream_ctrl()...
11-29 12:52:01.495 4496 4659 D Uvc : [stream.cpp:162] ...uvc_query_stream_ctrl() rc=0
11-29 12:52:01.495 4496 4659 D Uvc : [stream.cpp:523] ...uvc_probe_stream_ctrl() rc=0
11-29 12:52:01.495 4496 4659 D Uvc : [stream.cpp:373] ...uvc_get_stream_ctrl_format_size() rc=0
11-29 12:52:01.495 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetStreamControlFormatSize: ...exit
11-29 12:52:01.495 4496 4659 D Uvc : [jni_devicehandle.cpp:114] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeGetStreamControlFormatSize()
11-29 12:52:01.496 4496 4659 D UvcDeviceHandle: ...getStreamControl(640x480 30)
11-29 12:52:01.496 4496 4659 D Uvc : [jni_streamcontrol.cpp:101] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamCtrl_nativeOpen()...
11-29 12:52:01.496 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamCtrl_nativeOpen: enter...
11-29 12:52:01.496 4496 4659 D Uvc : [devicehandle.cpp:46] uvc_device_handle::openStreamControl()...
11-29 12:52:01.496 4496 4659 D Uvc : [streamhandle.cpp:58] uvc_stream_handle::claimInterface()...
11-29 12:52:01.496 4496 4659 D Uvc : [libuvc/libuvc_internal.h:771] uvc_device_handle::claimInterface(idx=1)...
11-29 12:52:01.496 4496 4659 D UvcDevice: claimInterface(1)
11-29 12:52:01.497 4496 4659 D UvcDevice: claimInterface(1) succeeded
11-29 12:52:01.497 4496 4659 D Uvc : [libuvc/libuvc_internal.h:784] claimInterface(1) succeeded
11-29 12:52:01.497 4496 4659 D Uvc : [libuvc/libuvc_internal.h:771] ...uvc_device_handle::claimInterface() rc=0
11-29 12:52:01.497 4496 4659 D Uvc : [streamhandle.cpp:58] ...uvc_stream_handle::claimInterface() rc=0
11-29 12:52:01.497 4496 4659 D Uvc : [stream.cpp:162] uvc_query_stream_ctrl()...
11-29 12:52:01.498 4496 4659 D Uvc : [stream.cpp:162] ...uvc_query_stream_ctrl() rc=0
11-29 12:52:01.498 4496 4659 D Uvc : [devicehandle.cpp:46] ...uvc_device_handle::openStreamControl() rc=0
11-29 12:52:01.498 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamCtrl_nativeOpen: ...exit
11-29 12:52:01.498 4496 4659 D Uvc : [jni_streamcontrol.cpp:101] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamCtrl_nativeOpen()
11-29 12:52:01.499 4496 4659 V UvcStreamHandle: construct(pointer=0x786b5c8a00)
11-29 12:52:01.499 4496 4659 D Uvc : [jni_streamhandle.cpp:184] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming()...
11-29 12:52:01.499 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming: enter...
11-29 12:52:01.499 4496 4659 D Uvc : [stream.cpp:1515] uvc_stream_stop()...
11-29 12:52:01.499 4496 4659 D Uvc : [stream.cpp:1515] ...uvc_stream_stop() rc=0
11-29 12:52:01.499 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming: ...exit
11-29 12:52:01.499 4496 4659 D Uvc : [jni_streamhandle.cpp:184] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming()
11-29 12:52:01.500 4496 4659 V UvcFrameCallback: construct(0x070afcb7)
11-29 12:52:01.501 4496 4659 V UvcFrameCallbackData: construct(pointer=0x7856715cd0)
11-29 12:52:01.501 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStartStreaming: enter...
11-29 12:52:01.501 4496 4659 D Uvc : [stream.cpp:970] uvc_stream_start_bandwidth()...
11-29 12:52:01.501 4496 4659 D Uvc : [stream.cpp:1173] uvc_stream_handle::startIsochronousStreaming()...
11-29 12:52:01.501 4496 4659 D Uvc : [libuvc/libuvc_internal.h:826] uvc_device_handle::setInterfaceAltSetting(setInterfaceAltSetting(intf=1 alt=6))...
11-29 12:52:01.501 4496 4659 D UvcDevice: setInterfaceAltSetting(1,6)
11-29 12:52:01.747 4496 4659 D UvcDevice: setInterfaceAltSetting(1,6) succeeded
11-29 12:52:01.747 4496 4659 D Uvc : [libuvc/libuvc_internal.h:826] ...uvc_device_handle::setInterfaceAltSetting() rc=0
11-29 12:52:01.747 4496 4659 D Uvc : [stream.cpp:1173] ...uvc_stream_handle::startIsochronousStreaming() rc=0
11-29 12:52:01.747 4496 4659 D Uvc : [stream.cpp:1201] uvc_stream_handle::startUserCallbackThread()...
11-29 12:52:01.748 4496 4712 D UvcStream: [stream.cpp:1265] User Callback thread started
11-29 12:52:01.748 4496 4659 D Uvc : [stream.cpp:1201] ...uvc_stream_handle::startUserCallbackThread() rc=0
11-29 12:52:01.748 4496 4659 D Uvc : [stream.cpp:1221] uvc_stream_handle::submitTransfers()...
11-29 12:52:01.750 4496 4659 D Uvc : [stream.cpp:1221] ...uvc_stream_handle::submitTransfers() rc=0
11-29 12:52:01.750 4496 4659 D Uvc : [stream.cpp:970] ...uvc_stream_start_bandwidth() rc=0
11-29 12:52:01.750 4496 4659 D UvcStreamHandle: [jni_streamhandle.cpp:150] successfully started streaming
11-29 12:52:01.750 4496 4659 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStartStreaming: ...exit
11-29 12:52:01.751 4496 4659 V UvcStreamCtrl: destroy(pointer=0x785662fdc0)
11-29 12:52:01.751 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: ...doStreaming()
11-29 12:52:01.751 4496 4659 D UsbResiliantWebcam|DelCaptureSequence: ...startStreaming(Stopped)
11-29 12:52:01.752 4496 4659 D UsbResiliantWebcam|DelCaptureSession: ...startCapture()
11-29 12:52:01.752 4496 4659 I System.out: OpenCvWebcam: onConfigured
11-29 12:52:01.752 4496 4711 I System.out: OpenCvWebcam: streaming started
11-29 12:52:01.753 4496 4618 D UvcStream: [stream.cpp:729] this is the UVC processTransfer() stream processing thread
11-29 12:52:19.983 4496 4594 V Robocol : received command: CMD_INIT_OP_MODE(11274) $Stop$Robot$
11-29 12:52:19.997 4496 4657 D RobotCore: User runOpModeMethod exited
--------- beginning of crash
11-29 12:52:19.997 4496 4735 E AndroidRuntime: FATAL EXCEPTION: Thread-58
11-29 12:52:19.997 4496 4735 E AndroidRuntime: Process: com.qualcomm.ftcrobotcontroller, PID: 4496
11-29 12:52:19.997 4496 4735 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'void org.openftc.easyopencv.OpenCvCamera.stopStreaming()' on a null object reference
11-29 12:52:19.997 4496 4735 E AndroidRuntime: at org.firstinspires.ftc.vision.VisionPortalImpl.lambda$stopStreaming$0$org-firstinspires-ftc-vision-VisionPortalImpl(VisionPortalImpl.java:399)
11-29 12:52:19.997 4496 4735 E AndroidRuntime: at org.firstinspires.ftc.vision.VisionPortalImpl$$ExternalSyntheticLambda0.run(D8$$SyntheticClass)
11-29 12:52:19.997 4496 4735 E AndroidRuntime: at java.lang.Thread.run(Thread.java:761)
11-29 12:52:20.000 4496 4657 V RobotCore: thread: ...terminating 'OpModeThread'
11-29 12:52:20.009 4496 4496 V RCActivity: onPause()
11-29 12:52:20.016 4496 4736 D UsbResiliantWebcam|DelCaptureSession: stopCapture()...
11-29 12:52:20.016 4496 4736 D UsbResiliantWebcam|DelCaptureSequence: undoStreaming()...
11-29 12:52:20.016 4496 4736 D UvcApiCaptureSession: stopCapture()...
11-29 12:52:20.016 4496 4736 D Uvc : [jni_streamhandle.cpp:184] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming()...
11-29 12:52:20.016 4496 4736 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming: enter...
11-29 12:52:20.016 4496 4736 D Uvc : [stream.cpp:1515] uvc_stream_stop()...
11-29 12:52:20.017 4496 4736 D UvcStream: [stream.cpp:1543] cancelling extant transfers
11-29 12:52:20.017 4496 4712 D UvcStream: [stream.cpp:1330] user callback thread stopped
11-29 12:52:20.017 4496 4736 D Uvc : [stream.cpp:1472] (waitForAllTransfers(waiting for cancelled transfers))...
11-29 12:52:20.018 4496 4736 D UvcStream: [stream.cpp:1486] no extant active transfers: continuing
11-29 12:52:20.018 4496 4736 D Uvc : [stream.cpp:1472] ...()
11-29 12:52:20.018 4496 4736 D Uvc : [stream.cpp:1189] uvc_stream_handle::stopIsochronousStreaming()...
11-29 12:52:20.018 4496 4736 D Uvc : [libuvc/libuvc_internal.h:826] uvc_device_handle::setInterfaceAltSetting(setInterfaceAltSetting(intf=1 alt=0))...
11-29 12:52:20.018 4496 4736 D UvcDevice: setInterfaceAltSetting(1,0)
11-29 12:52:20.198 4496 4736 D UvcDevice: setInterfaceAltSetting(1,0) succeeded
11-29 12:52:20.198 4496 4736 D Uvc : [libuvc/libuvc_internal.h:826] ...uvc_device_handle::setInterfaceAltSetting() rc=0
11-29 12:52:20.198 4496 4736 D Uvc : [stream.cpp:1189] ...uvc_stream_handle::stopIsochronousStreaming() rc=0
11-29 12:52:20.198 4496 4736 D UvcStream: [stream.cpp:1559] awakening user thread
11-29 12:52:20.198 4496 4736 D UvcStream: [stream.cpp:1568] waiting for user callback thread to finish
11-29 12:52:20.198 4496 4736 D Uvc : [stream.cpp:1515] ...uvc_stream_stop() rc=0
11-29 12:52:20.198 4496 4736 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming: ...exit
11-29 12:52:20.198 4496 4736 D Uvc : [jni_streamhandle.cpp:184] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming()
11-29 12:52:20.199 4496 4736 V UvcFrameCallback: destroy(hash=0x070afcb7)
11-29 12:52:20.199 4496 4736 V UvcFrameCallbackData: destroy(pointer=0x7856715cd0)
11-29 12:52:20.199 4496 4736 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcFrameCallback_nativeReleaseCallbackState: enter...
11-29 12:52:20.199 4496 4736 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcFrameCallback_nativeReleaseCallbackState: ...exit
11-29 12:52:20.199 4496 4736 V UvcStreamHandle: destroy(pointer=0x786b5c8a00)
11-29 12:52:20.199 4496 4736 D Uvc : [jni_streamhandle.cpp:184] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming()...
11-29 12:52:20.199 4496 4736 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming: enter...
11-29 12:52:20.199 4496 4736 D Uvc : [stream.cpp:1515] uvc_stream_stop()...
11-29 12:52:20.199 4496 4736 D Uvc : [stream.cpp:1515] ...uvc_stream_stop() rc=0
11-29 12:52:20.199 4496 4736 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming: ...exit
11-29 12:52:20.199 4496 4736 D Uvc : [jni_streamhandle.cpp:184] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeStopStreaming()
11-29 12:52:20.199 4496 4736 D Uvc : [jni_streamhandle.cpp:200] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeCloseStreamHandle()...
11-29 12:52:20.199 4496 4736 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeCloseStreamHandle: enter...
11-29 12:52:20.199 4496 4736 D Uvc : [stream.cpp:1585] uvc_stream_close()...
11-29 12:52:20.199 4496 4736 D Uvc : [streamhandle.cpp:45] uvc_stream_handle::~uvc_stream_handle()...
11-29 12:52:20.200 4496 4736 D Uvc : [streamhandle.cpp:66] uvc_stream_handle::releaseInterface()...
11-29 12:52:20.200 4496 4736 D Uvc : [libuvc/libuvc_internal.h:794] uvc_device_handle::releaseInterface()...
11-29 12:52:20.200 4496 4736 D UvcDevice: releaseInterface(1)
11-29 12:52:20.200 4496 4736 D UvcDevice: releaseInterface(1) succeeded
11-29 12:52:20.200 4496 4736 D Uvc : [libuvc/libuvc_internal.h:794] ...uvc_device_handle::releaseInterface() rc=0
11-29 12:52:20.200 4496 4736 D Uvc : [streamhandle.cpp:66] ...uvc_stream_handle::releaseInterface()
11-29 12:52:20.200 4496 4736 D Uvc : [streamhandle.cpp:45] ...uvc_stream_handle::~uvc_stream_handle()
11-29 12:52:20.200 4496 4736 D Uvc : [stream.cpp:1585] ...uvc_stream_close()
11-29 12:52:20.200 4496 4736 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeCloseStreamHandle: ...exit
11-29 12:52:20.200 4496 4736 D Uvc : [jni_streamhandle.cpp:200] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcStreamHandle_nativeCloseStreamHandle()
11-29 12:52:20.201 4496 4659 D RobotCore: capture sequence DelegatingCaptureSequenceId(1) reports completed: lastFrame=1192
11-29 12:52:20.201 4496 4736 V UvcApiCameraCaptureSequence: destroy(hash=0x0acc5351)
11-29 12:52:20.202 4496 4736 D UvcApiCaptureSession: ...stopCapture()
11-29 12:52:20.202 4496 4736 D UvcApiCaptureSession: doClose()...
11-29 12:52:20.202 4496 4736 D UvcApiCaptureSession: ...doClose()
11-29 12:52:20.202 4496 4736 D UsbResiliantWebcam|DelCaptureSequence: ...undoStreaming()
11-29 12:52:20.202 4496 4581 D UsbResiliantWebcam|DelCaptureSession: camera session is closed: Webcam(EC2E0DA5)
11-29 12:52:20.203 4496 4581 V UvcApiCaptureSession: destroy(hash=0x0318e078)
11-29 12:52:20.203 4496 4659 D RobotCore: capture sequence DelegatingCaptureSequenceId(1) reports completed: lastFrame=1192
11-29 12:52:20.203 4496 4581 D UvcApiCaptureSession: destructor...
11-29 12:52:20.203 4496 4581 D UvcApiCaptureSession: ...destructor
11-29 12:52:20.203 4496 4736 V UsbResiliantWebcam|DelCaptureSequence: destroy(hash=0x020e5ddb)
11-29 12:52:20.203 4496 4736 D UsbResiliantWebcam|DelCaptureSession: ...stopCapture()
11-29 12:52:20.203 4496 4736 D UsbResiliantWebcam|DelCaptureSession: doClose()...
11-29 12:52:20.204 4496 4736 D UsbResiliantWebcam|DelCaptureSession: ...doClose()
11-29 12:52:20.204 4496 4736 V UsbResiliantWebcam|DelCaptureSession: destroy(hash=0x098db6ea)
11-29 12:52:20.204 4496 4736 D UsbResiliantWebcam|DelCaptureSession: destructor()...
11-29 12:52:20.204 4496 4736 D UsbResiliantWebcam|DelCaptureSession: ...destructor()
11-29 12:52:20.204 4496 4736 V CameraImpl: destroy(hash=0x0d7e7a2e)
11-29 12:52:20.205 4496 4736 D UsbResiliantWebcam: CameraImpl.destructor()...
11-29 12:52:20.205 4496 4736 D UsbResiliantWebcam: externalDestructor()...
11-29 12:52:20.205 4496 4736 V CameraImpl: destroy(hash=0x0543532c)
11-29 12:52:20.205 4496 4581 D CameraManager: camera reports closed: CameraImpl(UsbResiliantWebcam(Webcam(EC2E0DA5)))
11-29 12:52:20.205 4496 4736 D UvcDeviceHandle: CameraImpl.destructor()...
11-29 12:52:20.206 4496 4736 D UvcDeviceHandle: externalDestructor()...
11-29 12:52:20.206 4496 4736 D UsbResiliantWebcam: changeDelegatedCamera(CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002)))->null)...
11-29 12:52:20.207 4496 4736 D CachingExposureControl: onCameraChanged(CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002)))->null)...
11-29 12:52:20.207 4496 4736 D CachingExposureControl: ...onCameraChanged(CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002)))->null)
11-29 12:52:20.208 4496 4736 D UsbResiliantWebcam: ...changeDelegatedCamera(CameraImpl(UvcDeviceHandle(pointer=0x786b5e27a0|UvcDevice(/dev/bus/usb/001/002)))->null)
11-29 12:52:20.208 4496 4736 D UvcDeviceHandle: ...externalDestructor()
11-29 12:52:20.211 4496 4736 V UvcDeviceHandle: destroy(pointer=0x786b5e27a0)
11-29 12:52:20.212 4496 4736 D UvcDeviceHandle: destructor...
11-29 12:52:20.212 4496 4736 D Uvc : [jni_devicehandle.cpp:86] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeReleaseRefDeviceHandle()...
11-29 12:52:20.212 4496 4736 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeReleaseRefDeviceHandle: enter...
11-29 12:52:20.213 4496 4736 D Uvc : [libuvc/libuvc_internal.h:873] uvc_device_handle::~uvc_device_handle()...
11-29 12:52:20.213 4496 4736 D Uvc : [libuvc/libuvc_internal.h:841] uvc_device_handle::deconstruct()...
11-29 12:52:20.213 4496 4736 D Uvc : [libuvc/libuvc_internal.h:752] uvc_device_handle::stop()...
11-29 12:52:20.213 4496 4736 D Uvc : [libuvc/libuvc_internal.h:752] ...uvc_device_handle::stop()
11-29 12:52:20.213 4496 4736 D Uvc : [libuvc/libuvc_internal.h:866] uvc_device_handle::close()...
11-29 12:52:20.213 4496 4736 E libusb : [75.102154] [00001280] libusb: error [do_close] Device handle closed while transfer was still being processed, but the device is still connected as far as we know
11-29 12:52:20.213 4496 4736 E libusb : [75.102215] [00001280] libusb: error [do_close] A cancellation hasn't even been scheduled on the transfer for which the device is closing
11-29 12:52:20.213 4496 4736 D Uvc : [libuvc/libuvc_internal.h:866] ...uvc_device_handle::close()
11-29 12:52:20.213 4496 4736 D Uvc : [libuvc/libuvc_internal.h:841] ...uvc_device_handle::deconstruct()
11-29 12:52:20.213 4496 4736 D Uvc : [device.cpp:433] uvc_free_device_info()...
11-29 12:52:20.213 4496 4736 D Uvc : [device.cpp:433] ...uvc_free_device_info()
11-29 12:52:20.213 4496 4736 D Uvc : [libuvc/libuvc_internal.h:873] ...uvc_device_handle::~uvc_device_handle()
11-29 12:52:20.213 4496 4736 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeReleaseRefDeviceHandle: ...exit
11-29 12:52:20.213 4496 4736 D Uvc : [jni_devicehandle.cpp:86] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDeviceHandle_nativeReleaseRefDeviceHandle()
11-29 12:52:20.214 4496 4736 V UvcDevice: destroy(pointer=0x7856835800|/dev/bus/usb/001/002)
11-29 12:52:20.214 4496 4736 D UsbDeviceConnectionJNI: close
11-29 12:52:20.214 4496 4736 D Uvc : [jni_device.cpp:126] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeReleaseRefDevice()...
11-29 12:52:20.214 4496 4736 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeReleaseRefDevice: enter...
11-29 12:52:20.214 4496 4736 D Uvc : [device.cpp:882] uvc_unref_device()...
11-29 12:52:20.214 4496 4736 D Uvc : [device.cpp:882] ...uvc_unref_device()
11-29 12:52:20.214 4496 4736 V Uvc : API: Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeReleaseRefDevice: ...exit
11-29 12:52:20.214 4496 4736 D Uvc : [jni_device.cpp:126] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_UvcDevice_nativeReleaseRefDevice()
11-29 12:52:20.214 4496 4736 V LibUsbDevice: destroy(pointer=0x7856661140)
11-29 12:52:20.214 4496 4736 D Uvc : [jni_libusb_device.cpp:64] Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_LibUsbDevice_nativeReleaseRefDevice()...
11-29 12:52:20.214 4496 4736 D Uvc : [jni_libusb_device.cpp:64] ...Java_org_firstinspires_ftc_robotcore_internal_camera_libuvc_nativeobject_LibUsbDevice_nativeReleaseRefDevice()
11-29 12:52:20.215 4496 4736 D UvcDeviceHandle: ...destructor
11-29 12:52:20.215 4496 4736 D UvcDeviceHandle: ...CameraImpl.destructor()
11-29 12:52:20.215 4496 4736 D UsbResiliantWebcam: ...externalDestructor()
11-29 12:52:20.215 4496 4736 V UsbResiliantWebcam: destroy(hash=0x083bb57e)
11-29 12:52:20.215 4496 4736 D UsbResiliantWebcam: destructor()...
11-29 12:52:20.215 4496 4736 D UsbResiliantWebcam: ...destructor()
11-29 12:52:20.216 4496 4736 D UsbResiliantWebcam: ...CameraImpl.destructor()
11-29 12:52:20.216 4496 4620 W art : Long monitor contention with owner Thread-59 (4736) at void org.openftc.easyopencv.OpenCvWebcamImpl.stopStreaming()(OpenCvWebcamImpl.java:460) waiters=0 in void org.openftc.easyopencv.OpenCvWebcamImpl.closeCameraDevice() for 211ms
11-29 12:52:20.217 4496 4620 I RobotCore: Attempting to switch to OpMode $Stop$Robot$
11-29 12:52:20.217 4496 4620 I RobotCore: ******************** STOP - OPMODE /storage/emulated/0/FIRST/matchlogs/Match-0-Concept:_AprilTag.txt ********************
11-29 12:52:20.224 4496 4620 D HardwareMap: Clearing which device instances have been retrieved
11-29 12:52:20.224 4496 4741 I RobotCore: saving match logcat to /storage/emulated/0/FIRST/matchlogs/Match-0-Concept:_AprilTag.txt
11-29 12:52:20.224 4496 4741 I RobotCore: logging command line: exec logcat -d -T '11-29 12:51:25.000' -f '/storage/emulated/0/FIRST/matchlogs/Match-0-Concept:_AprilTag.txt' -n4 -v threadtime UsbRequestJNI:S UsbRequest:S art:W ThreadPool:W System:W ExtendedExtractor:W OMXClient:W MediaPlayer:W dalvikvm:W *:V
11-29 12:52:20.228 4496 4743 V RobotCore: thread: 'OpModeThread' starting...
11-29 12:52:20.241 4496 4597 V Robocol : sending CMD_STREAM_CHANGE(1345), attempt: 0
11-29 12:52:20.243 4496 4597 V Robocol : sending CMD_NOTIFY_INIT_OP_MODE(1350), attempt: 0
11-29 12:52:20.244 4496 4597 V Robocol : sending CMD_NOTIFY_RUN_OP_MODE(1351), attempt: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment