Skip to content
Closed
Changes from 7 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
d6a2191
throw basic snackbar error
cswilson252 Mar 8, 2026
581c147
double quotes and or
cswilson252 Mar 8, 2026
695fb52
use currentRes call instead
cswilson252 Mar 8, 2026
b27b313
check for pnp calibration mode
cswilson252 Mar 8, 2026
5c4660d
computed property and if in getUniqueVideoFormatsByResolution
cswilson252 Apr 21, 2026
c068cde
wpiformat
cswilson252 Apr 21, 2026
9fc1236
eslint
cswilson252 Apr 21, 2026
7900c98
implement Matt's review comments
cswilson252 Apr 22, 2026
354a40d
Add clarity to networking for multiple coprocs (#2383)
samfreund Mar 9, 2026
335e682
Fix offline dev update confirm handler not starting upload (#2393)
MirrorCY Mar 10, 2026
89658e1
correct typo (#2395)
Ruthie-FRC Mar 14, 2026
3087646
Remove NT reconnect loop entirely (#2398)
mcm001 Mar 16, 2026
cf982d9
Populate classId and confidence level for object detection in Java si…
shdalton Mar 19, 2026
e7cfb47
Clean up C++ headers (#2402)
Gold856 Mar 19, 2026
5ed19d5
Add more linting rules (#2406)
Gold856 Mar 23, 2026
e2e95df
refactor dark mode checks (#2407)
samfreund Mar 24, 2026
4ae238f
Add nix files to .gitignore (#2409)
spacey-sooty Mar 26, 2026
012b261
Upgrade to Vite 8 (#2408)
Gold856 Mar 26, 2026
3a3046d
Remove old camera quirk aliases (#2412)
samfreund Mar 26, 2026
c61b14a
Fix strong reference in Cleaners (#2404)
Bobcat66 Mar 26, 2026
53c5130
Add Community Contribution Guidelines (#2405)
gerth2 Mar 27, 2026
0305a77
Add AE quirk to OV2311 (#2411)
samfreund Mar 27, 2026
ea148d6
Upgrade website dependencies (#2414)
samfreund Mar 27, 2026
9920798
Fix comments in OutputStream pipeline (#2415)
spacey-sooty Mar 28, 2026
42d73dd
bump rubik image (#2424)
samfreund Apr 6, 2026
4af2b63
better merch (#2427)
gerth2 Apr 8, 2026
a38856e
Set raw exposure before setting auto exposure (#2429)
thatcomputerguy0101 Apr 10, 2026
d6c4718
Switch to Ubuntu 24.04
Gold856 Jun 19, 2025
668a471
Upgrade to 2027 alpha
Gold856 Jun 17, 2025
341f4b5
Start on updating examples for 2027
spacey-sooty Jun 24, 2025
606429a
Upgrade Gradle, fix build, and format
Gold856 Jun 24, 2025
2686fc8
Disable example builds
Gold856 Jul 12, 2025
fbe2597
[2027] Add systemcore as a photonlib build target (#1995)
jlmcmchl Jul 12, 2025
0236fad
Add DataLog to the list of libraries loaded
Gold856 Jul 19, 2025
998c7d2
Upgrade to 2027 alpha 2 (#2010)
jlmcmchl Jul 23, 2025
4470fcb
Update to match new WPILib organization
Gold856 Dec 29, 2025
dda1433
image version 2026.1.4
samfreund Apr 6, 2026
297397c
Upgrade actions to Node 24 and remove unneeded archival (#2416)
samfreund Apr 9, 2026
60ccad7
Use Platform.isAthena instead of manually checking for frcRunRobot.sh…
amsam0 Apr 9, 2026
b9147c6
Make 2027 build (#2422)
samfreund Apr 11, 2026
7e3eeda
[photonlib] Remove deprecated pose estimator methods (#2431)
samfreund Apr 13, 2026
4f49196
Bump some versions (#2433)
samfreund Apr 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 22 additions & 9 deletions photon-client/src/components/cameras/CameraCalibrationCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ const getUniqueVideoFormatsByResolution = (): VideoFormat[] => {
format.mean = calib.meanErrors.reduce((a, b) => a + b, 0) / calib.meanErrors.length;
else format.mean = NaN;

// minPixelCount is the total area, in pixels, of the 640x480 (the minimum for proper calibration) resolution
const minPixelCount = ref(307200);
Comment thread
cswilson252 marked this conversation as resolved.
Outdated
const resArea = computed(() => {
return format.resolution.width * format.resolution.height;
});
if (resArea.value > minPixelCount.value) {
format.resolution.width = 640;
format.resolution.height = 480;
uniqueResolutions.push(format);
}

format.horizontalFOV =
2 * Math.atan2(format.resolution.width / 2, calib.cameraIntrinsics.data[0]) * (180 / Math.PI);
format.verticalFOV =
Expand Down Expand Up @@ -180,15 +191,17 @@ const isCalibrating = computed(
);

const startCalibration = () => {
useCameraSettingsStore().startPnPCalibration({
squareSizeIn: squareSizeIn.value,
markerSizeIn: markerSizeIn.value,
patternHeight: patternHeight.value,
patternWidth: patternWidth.value,
boardType: boardType.value,
useOldPattern: useOldPattern.value,
tagFamily: tagFamily.value
});
{
useCameraSettingsStore().startPnPCalibration({
Comment thread
cswilson252 marked this conversation as resolved.
Outdated
squareSizeIn: squareSizeIn.value,
markerSizeIn: markerSizeIn.value,
patternHeight: patternHeight.value,
patternWidth: patternWidth.value,
boardType: boardType.value,
useOldPattern: useOldPattern.value,
tagFamily: tagFamily.value
});
}
// The Start PnP method already handles updating the backend so only a store update is required
useCameraSettingsStore().currentCameraSettings.currentPipelineIndex = WebsocketPipelineType.Calib3d;
// isCalibrating.value = true;
Expand Down
Loading