Skip to content

Commit

Permalink
Updated CommonLib.
Browse files Browse the repository at this point in the history
Updated FtcLib.
Minor cleanup.
  • Loading branch information
trc492 committed Jan 16, 2024
1 parent de603e9 commit 2331280
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion TeamCode/src/main/java/TrcCommonLib
2 changes: 1 addition & 1 deletion TeamCode/src/main/java/TrcFtcLib
4 changes: 2 additions & 2 deletions TeamCode/src/main/java/teamcode/vision/Vision.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public Vision(Robot robot)

if (RobotParams.Preferences.useColorBlobVision)
{
robot.globalTracer.traceInfo(moduleName, "Starting ColorBlobVision...");
tracer.traceInfo(moduleName, "Starting ColorBlobVision...");

redBlobVision = new FtcVisionEocvColorBlob(
"RedBlob", colorConversion, redBlobColorThresholds, colorBlobFilterContourParams, true,
Expand All @@ -178,7 +178,7 @@ public Vision(Robot robot)

if (RobotParams.Preferences.useTensorFlowVision)
{
robot.globalTracer.traceInfo(moduleName, "Starting TensorFlowVision...");
tracer.traceInfo(moduleName, "Starting TensorFlowVision...");
tensorFlowVision = new FtcVisionTensorFlow(
null, true, TFOD_MODEL_ASSET, TFOD_TARGET_LABELS, RobotParams.cameraRect, RobotParams.worldRect);
tensorFlowProcessor = tensorFlowVision.getVisionProcessor();
Expand Down

0 comments on commit 2331280

Please sign in to comment.