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

startCalibration not handled correctly when processing settings changes #1728

Open
mdurrani808 opened this issue Jan 15, 2025 · 2 comments
Open
Labels
bug Something isn't working

Comments

@mdurrani808
Copy link
Contributor

Describe the bug
When calling processSettingChanges in VisionModuleChangeSubscriber, the switch statement is not matching to the "startCalibration" case and is throwing an error saying that the prop could not be set due to a NoSuchFieldException (which makes sense, because no such field exists).

To Reproduce
Don't have time to reproduce at this time. Logs here: https://discord.com/channels/725836368059826228/725848198794706994/1328911877283119144

Screenshots / Videos
See logs above.

Platform:

  • Hardware Platform (ex. Raspberry Pi 4, Windows x64): Orange Pi 5
  • Network Configuration (Connection between the Radio and any devices in between, such as a Network Switch): Unkown
  • PhotonVision Version: v2025.0.0-beta-8
  • Browser (with Version) (Chrome, Edge, Firefox, etc.):
  • Camera(s) Used: 2 innomaker 9281m USB cameras

Additional context
Symptom was that whenever the user would start calibration, they would lose their camera feed, I presume this is because of this error being thrown and start calibration never actually happening.

@mdurrani808 mdurrani808 added the bug Something isn't working label Jan 15, 2025
@royerboat
Copy link

For what it's worth, I tried this again on a different Orange Pi 5 with the latest PhotonVision beta 8 image and another innomaker camera and ran into the same issue.

@royerboat
Copy link

I was able to eventually get the cameras to calibrate, which was the original issue that caused this. However, I'm only able to calibrate if I do not select a resolution during calibration. If I select a resolution, the camera disconnects and I cannot complete the calibration.

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

2 participants