mirror of
https://github.com/trc492/FtcTemplate.git
synced 2025-07-04 06:21:23 -07:00
Updated ftclib.
Removed all TensorFlow support.
This commit is contained in:
@ -209,14 +209,6 @@ public class FtcTest extends FtcTeleOp
|
||||
}
|
||||
break;
|
||||
}
|
||||
//
|
||||
// Only VISION_TEST needs TensorFlow, shut it down for all other tests.
|
||||
//
|
||||
if (robot.vision != null && robot.vision.tensorFlowVision != null && testChoices.test != Test.VISION_TEST)
|
||||
{
|
||||
robot.globalTracer.traceInfo(moduleName, "Disabling TensorFlowVision.");
|
||||
robot.vision.setTensorFlowVisionEnabled(false);
|
||||
}
|
||||
} //robotInit
|
||||
|
||||
//
|
||||
@ -258,12 +250,6 @@ public class FtcTest extends FtcTeleOp
|
||||
robot.globalTracer.traceInfo(moduleName, "Enabling BlueBlobVision.");
|
||||
robot.vision.setBlueBlobVisionEnabled(true);
|
||||
}
|
||||
|
||||
if (robot.vision.tensorFlowVision != null)
|
||||
{
|
||||
robot.globalTracer.traceInfo(moduleName, "Enabling TensorFlowVison.");
|
||||
robot.vision.setTensorFlowVisionEnabled(true);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
@ -1099,11 +1085,6 @@ public class FtcTest extends FtcTeleOp
|
||||
{
|
||||
robot.vision.getDetectedBlueBlob(lineNum++);
|
||||
}
|
||||
|
||||
if (robot.vision.tensorFlowVision != null)
|
||||
{
|
||||
robot.vision.getDetectedTensorFlowPixel(lineNum++);
|
||||
}
|
||||
}
|
||||
} //doVisionTest
|
||||
|
||||
|
Reference in New Issue
Block a user