-
Notifications
You must be signed in to change notification settings - Fork 0
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
First push of modified take_stuttered code #100
base: develop
Are you sure you want to change the base?
Conversation
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.
Instead of adding change_focus
to the CameraExposure
class, add the checkpoint
method. To make typing easier I would do something like this:
# In CameraExposure
checkpoint: None | typing.Coroutine[None, None, None]
Then in _handle_expose_shift
you would do:
if camera_exposure.checkpoint is not None:
await camera_exposure.checkpoint(f"Shifting {camera_exposure.row_shift} rows.")
That will make the code more general.
Hi Tiago. I've finally gotten back to this, and I've made those changes, but there is a conflict that I don't understand. In CameraExpose I put: |
Hi Tiago. Me again. I've updated the typing for "checkpoint" in camera_exposure to match what is in the other take commands, and now the linter checks pass. I also tested in a notebook whether the "async def offset_hexapod" method is being passed, and I think it is. The only thing failing now is updating the version history. Do I just update that manually? Other than that maybe it is ready to test? I will try commenting out the row shift command and test it at the TTS. I'd appreciate your inputs. |
No description provided.