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

Button on robot frame function #19

Open
cristhoper opened this issue May 11, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@cristhoper
Copy link
Collaborator

commented May 11, 2019

Overview

Relevant issues:
#5
Opentrons/opentrons#531

The work made it, was based on the scheme of the following image.

The script conf_button.py has the implementation of the states. Also, there is a couple of method to incorporate external functions that runs at startup and pause states.
The example test_button.py, shows how to use the callbacks and set states from GUI.

Note: The double tap, was not implemented.

Relevant Links

https://github.com/cristhoper/hack-a-tron.git

Next iteration possibilities

The implementation with while True is not a strong solution. Is better try to implement callbacks and interrupts. But to do that, the opentrons.drivers.rpi_drivers needs to be implemented with low-level APIs, because the implementation with Linux Kernel is not the fastest and the interrupts are not completely supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.