We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Summary
Auto-focus is not working. There seems to be a key error for the setting "default"
self.opts[Focuser.OPT_FOCUS]["DEF_VALUE"] = ctrl['default'] openscan Node-RED[4233]: KeyError: 'default'
Screenshots/Video
Steps to reproduce On launch, the camera attempts to auto-focus and fails due to key error.
The text was updated successfully, but these errors were encountered:
Focuser get_ctrls(self.fd) returns the following: [{'id': 10092545, 'type': 6, 'name': b'Camera Controls', 'minimum': 0, 'maximum': 0, 'step': 0, 'default_value': 0, 'flags': 68}, {'id': 10094858, 'type': 1, 'name': b'Focus, Absolute',>
[{'id': 10092545, 'type': 6, 'name': b'Camera Controls', 'minimum': 0, 'maximum': 0, 'step': 0, 'default_value': 0, 'flags': 68}, {'id': 10094858, 'type': 1, 'name': b'Focus, Absolute',>
Updating the following in Arducam.py seems to hav fixed the error:
try: self.opts[Focuser.OPT_FOCUS]["DEF_VALUE"] = ctrl['default'] except KeyError as e: self.opts[Focuser.OPT_FOCUS]["DEF_VALUE"] = ctrl['default_value']
Sorry, something went wrong.
No branches or pull requests
Summary
Auto-focus is not working. There seems to be a key error for the setting "default"
self.opts[Focuser.OPT_FOCUS]["DEF_VALUE"] = ctrl['default']
openscan Node-RED[4233]: KeyError: 'default'
Screenshots/Video
Steps to reproduce
On launch, the camera attempts to auto-focus and fails due to key error.
The text was updated successfully, but these errors were encountered: