mirror of
https://github.com/trc492/FtcTemplate.git
synced 2025-07-01 13:01:24 -07:00
Updated ftclib, trclib.
Don't allow colorblob tuning test to switch camera. It only supports webcam1.
This commit is contained in:
Submodule TeamCode/src/main/java/ftclib updated: 4ce26319c9...0d08702416
@ -549,17 +549,6 @@ public class FtcTest extends FtcTeleOp
|
||||
}
|
||||
passToTeleOp = false;
|
||||
}
|
||||
else if ((testChoices.test == Test.TUNE_COLORBLOB_VISION || testChoices.test == Test.VISION_TEST) &&
|
||||
robot.vision != null)
|
||||
{
|
||||
// Can only switch camera if we have two.
|
||||
if (pressed && frontWebcam != null && rearWebcam != null)
|
||||
{
|
||||
robot.vision.setActiveWebcam(
|
||||
robot.vision.getActiveWebcam() != frontWebcam? frontWebcam: rearWebcam);
|
||||
}
|
||||
passToTeleOp = false;
|
||||
}
|
||||
break;
|
||||
|
||||
case B:
|
||||
|
Submodule TeamCode/src/main/java/trclib updated: 315029e439...2e8ab0dd1b
Reference in New Issue
Block a user