Skip to content
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

front end sending properties not in the current pipeline #1377

Open
gerth2 opened this issue Jul 25, 2024 · 0 comments
Open

front end sending properties not in the current pipeline #1377

gerth2 opened this issue Jul 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gerth2
Copy link
Contributor

gerth2 commented Jul 25, 2024

Describe the bug
When switching into driver mode, the front end still sends a lot of properties which driver mode does not have.

solvePNPEnabled for example

[2024-07-25 14:06:44] [VisionModule - VisionModuleChangeSubscriber - USB_Camera] [ERROR] Could not set prop solvePNPEnabled with value false on CVPipelineSettings{pipelineIndex=-1, pipelineType=DriverMode, inputImageRotationMode=DEG_0, pipelineNickname='Driver Mode', cameraExposureRaw=20.0, cameraBrightness=50, cameraGain=-1, cameraRedGain=-1, cameraBlueGain=-1, cameraVideoModeIndex=4, streamingFrameDivisor=NONE, ledMode=false, inputShouldShow=true, outputShouldShow=true}: solvePNPEnabled
[2024-07-25 14:06:44] [VisionModule - VisionModuleChangeSubscriber - USB_Camera] [ERROR] java.lang.NoSuchFieldException: solvePNPEnabled
        at java.base/java.lang.Class.getField(Class.java:2117)
        at org.photonvision.vision.processes.VisionModuleChangeSubscriber.onDataChangeEvent(VisionModuleChangeSubscriber.java:205)
        at org.photonvision.common.dataflow.DataChangeService.dispatchFromQueue(DataChangeService.java:65)
        at java.base/java.lang.Thread.run(Thread.java:840)

To Reproduce
Steps to reproduce the behavior:
go to driver mode, look at logs

Screenshots / Videos
If applicable, add screenshots to help explain your problem. Additionally, provide journalctl logs and settings zip export. If your issue is regarding the web dashboard, please provide screenshots and the output of the browser console.

Platform:

  • reproduced on pi

Additional context
no

@gerth2 gerth2 added the bug Something isn't working label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant