Skip to content

Commit

Permalink
Dont send SolvePNPEnabled in drivermode. (PhotonVision#1454)
Browse files Browse the repository at this point in the history
There are no settings for solvePNPEnabled while in driver mode but the
UI tries to set it. Let us not do that.
Fixes PhotonVision#1377

Co-authored-by: Chris Gerth <[email protected]>
  • Loading branch information
Juniormunk and gerth2 authored Oct 11, 2024
1 parent 91da7af commit d9b6199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion photon-client/src/components/dashboard/tabs/InputTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const handleResolutionChange = (value: number) => {
useCameraSettingsStore().changeCurrentPipelineSetting({ streamingFrameDivisor: getNumberOfSkippedDivisors() }, false);
useCameraSettingsStore().currentPipelineSettings.streamingFrameDivisor = 0;
if (!useCameraSettingsStore().isCurrentVideoFormatCalibrated) {
if (!useCameraSettingsStore().isCurrentVideoFormatCalibrated && !useCameraSettingsStore().isDriverMode) {
useCameraSettingsStore().changeCurrentPipelineSetting({ solvePNPEnabled: false }, true);
}
};
Expand Down

0 comments on commit d9b6199

Please sign in to comment.