mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-02 02:51:40 +00:00
Call correct addCalibration in VisionModule (#793)
This commit is contained in:
@@ -624,7 +624,7 @@ export default {
|
|||||||
this.uploadSnackData = {
|
this.uploadSnackData = {
|
||||||
color: "success",
|
color: "success",
|
||||||
text:
|
text:
|
||||||
"Calibration imported successfully! PhotonVision will restart in the background...",
|
"Calibration imported successfully!",
|
||||||
};
|
};
|
||||||
this.uploadSnack = true;
|
this.uploadSnack = true;
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -363,7 +363,7 @@ public class VisionModule {
|
|||||||
|
|
||||||
if (ret != null) {
|
if (ret != null) {
|
||||||
logger.debug("Saving calibration...");
|
logger.debug("Saving calibration...");
|
||||||
visionSource.getSettables().getConfiguration().addCalibration(ret);
|
visionSource.getSettables().addCalibration(ret);
|
||||||
} else {
|
} else {
|
||||||
logger.error("Calibration failed...");
|
logger.error("Calibration failed...");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user