Fix publish type in photoncamera (#760)

This commit is contained in:
Matt
2023-01-22 10:56:41 -05:00
committed by GitHub
parent 811fef1212
commit 37a7d378fd

View File

@@ -41,7 +41,7 @@ PhotonCamera::PhotonCamera(nt::NetworkTableInstance instance,
rootTable(mainTable->GetSubTable(cameraName)),
rawBytesEntry(
rootTable->GetRawTopic("rawBytes")
.Subscribe("raw", {}, {.periodic = 0.01, .sendAll = true})),
.Subscribe("rawBytes", {}, {.periodic = 0.01, .sendAll = true})),
driverModeEntry(rootTable->GetBooleanTopic("driverMode").Publish()),
inputSaveImgEntry(
rootTable->GetIntegerTopic("inputSaveImgCmd").Publish()),