Skip to content

Commit

Permalink
Update CameraCalibrationCard.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
BytingBulldogs3539 committed May 7, 2024
1 parent 63f8dcb commit 52b62d4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ import PvSwitch from "@/components/common/pv-switch.vue";
import PvSelect from "@/components/common/pv-select.vue";
import PvNumberInput from "@/components/common/pv-number-input.vue";
import { WebsocketPipelineType } from "@/types/WebsocketDataTypes";
import { getResolutionString, resolutionsAreEqual } from "@/lib/PhotonUtils";
import { getResolutionString } from "@/lib/PhotonUtils";
import CameraCalibrationInfoCard from "@/components/cameras/CameraCalibrationInfoCard.vue";
import { useSettingsStore } from "@/stores/settings/GeneralSettingsStore";
const settingsValid = ref(true);
const getUniqueVideoFormatsByResolution = (): VideoFormat[] => {
const uniqueResolutions: VideoFormat[] = [];
useCameraSettingsStore().currentCameraSettings.uniqueVideoFormats.forEach((format, index) => {
useCameraSettingsStore().currentCameraSettings.uniqueVideoFormats.forEach((format) => {
const calib = useCameraSettingsStore().getCalibrationCoeffs(format.resolution);
if (calib !== undefined) {
// For each error, square it, sum the squares, and divide by total points N
Expand Down

0 comments on commit 52b62d4

Please sign in to comment.