-
Notifications
You must be signed in to change notification settings - Fork 299
Raise minimum images for calibration to 100 #2437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
spacey-sooty
wants to merge
16
commits into
PhotonVision:main
Choose a base branch
from
spacey-sooty:update-minimum-images
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
b9426a1
Raise minimum images for calibration
spacey-sooty 70e9574
oooh, pretty
samfreund c0a0f92
fix test
samfreund 3657c12
come on jade
samfreund 451de82
Changes to bypassing
spacey-sooty da6c4d3
Use variable
spacey-sooty e018b50
mhm how elegant
samfreund f5d33cc
some more stuff
samfreund 153926a
rebroadcast
samfreund ac9d679
whatever
samfreund 57e57a0
update minCount value
samfreund a7c3f9b
lint
samfreund e6472d0
make it pretty
samfreund 83f92e1
Apply suggestions from code review
samfreund bad2db5
docs
samfreund d97a532
cleanup change subscriber
samfreund File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,6 +15,7 @@ import CameraCalibrationInfoCard from "@/components/cameras/CameraCalibrationInf | |
| import { useSettingsStore } from "@/stores/settings/GeneralSettingsStore"; | ||
| import { useTheme } from "vuetify"; | ||
| import TooltippedLabel from "@/components/common/pv-tooltipped-label.vue"; | ||
| import type { Calibration3dPipelineSettings } from "@/types/PipelineTypes"; | ||
|
|
||
| const PromptRegular = import("@/assets/fonts/PromptRegular"); | ||
| const jspdf = import("jspdf"); | ||
|
|
@@ -269,6 +270,11 @@ const endCalibration = () => { | |
| }; | ||
|
|
||
| const drawAllSnapshots = ref(true); | ||
| // We really gotta fix our typing system | ||
| const bypassVal = computed<boolean>({ | ||
| get: () => !!(useCameraSettingsStore().currentPipelineSettings as Calibration3dPipelineSettings | undefined)?.bypass, | ||
| set: (value) => useCameraSettingsStore().changeCurrentPipelineSetting({ bypass: value }, true) | ||
| }); | ||
|
|
||
| const showCalDialog = ref(false); | ||
| const selectedVideoFormat = ref<VideoFormat | undefined>(undefined); | ||
|
|
@@ -545,6 +551,17 @@ const setSelectedVideoFormat = (format: VideoFormat) => { | |
| Snapshots: {{ useStateStore().calibrationData.imageCount }} of at least | ||
| {{ useStateStore().calibrationData.minimumImageCount }} | ||
| </v-chip> | ||
| <v-spacer /> | ||
| <pv-switch | ||
| v-model="bypassVal" | ||
| color="error" | ||
| hide-details | ||
| class="ml-4" | ||
| label="Bypass minimum" | ||
| :label-cols="6" | ||
| :switch-cols="6" | ||
|
Comment on lines
+561
to
+562
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. has this been fixed?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| tooltip="Bypass the minimum recommended amount of snapshots for a calibration. Should only be used for dev work or temporary tests not competitions. Still requires 10 images to calibrate." | ||
| /> | ||
| </div> | ||
| <div> | ||
| <v-btn | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this a legit todo? in that case cut an issue with more details