Announcement

Collapse

Technology Forum Has Moved!

The FIRST Tech Challenge Technology forum has moved to a new location! Please take a look at our forum blog for links and instructions on how to access the new forum.

The official blog of the FIRST Tech Challenge - a STEM robotics programs for students grades 7-12.


Note that volunteers (except for FTA/WTA/CSA will still access their role specific forum through this site. The blog also outlines how to access the volunteer forums.
See more
See less

Samsung S5 Shuts Down when Tensorflow with Webcam Initializes...sometimes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 10298Programmer
    replied
    Oh yeah, that's what it was. Duh. Thanks!

    Leave a comment:


  • 4634 Programmer
    replied
    The workaround is to unplug and replug the OTG cable after every third run.

    Leave a comment:


  • 4634 Programmer
    replied
    This is a known bug in the SDK. You can pile onto the bug report if you'd like.

    Leave a comment:


  • 10298Programmer
    replied
    We have the same issue, but we're using OpenCV. We had this issue last season as well, and we figured out some workaround, but I forgot what it was. The robot controller phone restarts every 4th run without a push, right?

    Leave a comment:


  • Samsung S5 Shuts Down when Tensorflow with Webcam Initializes...sometimes

    Setup:
    Samsung S5 phones for Driver Station and Robot Controller
    Webcam: Logitech C270 HD
    Our code is not really any different than the example code provided on the FTC app.


    The first time Tensorflow initializes, it is fine. The camera works, the stone recognizes where it is at, everything is good. Often the next time is good too. Usually around the third for fourth trial is where we see the Robot Controller phone restarts when we try to initialize the program. From adding telemetry to the code, it appears to crash during the initialization of Vuforia (initVuforia()) or during the initTfod() method.

Working...
X