CameraServer: Change opencv sources to publish "cv:" type (#1412)

The LabVIEW dashboard has been fixed to understand this prefix.
This commit is contained in:
Peter Johnson
2018-11-09 01:13:39 -08:00
committed by GitHub
parent e7c98feca2
commit 622ae29dff
2 changed files with 2 additions and 6 deletions

View File

@@ -72,9 +72,7 @@ static wpi::StringRef MakeSourceValue(CS_Source source,
break;
}
case cs::VideoSource::kCv:
// FIXME: Should be "cv:", but LabVIEW dashboard requires "usb:".
// https://github.com/wpilibsuite/allwpilib/issues/407
return "usb:";
return "cv:";
default:
return "unknown:";
}