-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix for backwards compatibility, new feature ROIs and RODs for AutoFocus and new timeout mechanic for all clients #34
Conversation
…ation import if already existing on sensor
…reTime and fixed usage in test_imager.py
…socket instance and not globally. Also added new unittest test_timeout_with_invalid_ip in test_rpc.py
…ince newly implemented timeout mechanic for PCIC
…e newly implemented timeout mechanic for RPC
source/device/client.py
Outdated
self._autoconnect = autoconnect | ||
self._pcic = None | ||
self._rpc = None | ||
if autoconnect: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I would also favor the removal of the if
statement. The RPC client does not connect by itself anyway, and the PCIC client handles the autoconnect
itself (the flag is passed to it). Having both clients instantiated unconditionally this simplifies the later access, i.e. the added checks in lines 58-59 and 64-66 can be removed again.
…removed unnecessary autoconnect methods and added tests for timeout mechanic for PCIC and RPC client
No description provided.