mirror of
https://github.com/trc492/FtcTemplate.git
synced 2025-07-02 13:31:24 -07:00
Minor fix in vision.
This commit is contained in:
@ -109,10 +109,10 @@ public class Vision
|
|||||||
{
|
{
|
||||||
FtcOpMode opMode = FtcOpMode.getInstance();
|
FtcOpMode opMode = FtcOpMode.getInstance();
|
||||||
|
|
||||||
if (robot.robotInfo.webCam1.camName == null &&
|
if (robot.robotInfo.webCam1 == null &&
|
||||||
(RobotParams.Preferences.useWebCam || RobotParams.Preferences.tuneColorBlobVision))
|
(RobotParams.Preferences.useWebCam || RobotParams.Preferences.tuneColorBlobVision))
|
||||||
{
|
{
|
||||||
throw new IllegalArgumentException("Must provide a valid WebCam 1 name.");
|
throw new IllegalArgumentException("Must provide valid WebCam 1 info.");
|
||||||
}
|
}
|
||||||
|
|
||||||
this.tracer = new TrcDbgTrace();
|
this.tracer = new TrcDbgTrace();
|
||||||
|
Reference in New Issue
Block a user