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