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

GUI number not updating #12

Open
Xqua opened this issue Dec 14, 2018 · 3 comments
Open

GUI number not updating #12

Xqua opened this issue Dec 14, 2018 · 3 comments

Comments

@Xqua
Copy link
Contributor

Xqua commented Dec 14, 2018

Alright so moving on to the next bug I guess.

image

This part of the GUI is not updating ? Whatever one does, it either stays to 0 or display some cryptic (.59??) number for pump 1 only

@sbooeshaghi
Copy link
Collaborator

This feature has not been successfully implemented yet, maybe I should remove it from the GUI so as to not confuse users.

I was having an issue with the amount of Serial Prints I was sending from the Arduino to display these positions so I left it at that..

Sina B.

@Xqua
Copy link
Contributor Author

Xqua commented Dec 14, 2018

Hum ...
Could you not do an estimate ?
As the arduino is going to run until a new command is sent, it should take milliseconds for the command to go through.
Therfore you can either measure it, or just assume t = 0 and then run an estimate based on the speed of the motor ?

And send from the arduino the current position every ... 10 / 100 loop ? just to adjust ?

@sbooeshaghi
Copy link
Collaborator

Hmm not a bad idea! I'll play around with it and see what sort of results I get. Thank you again for the suggestions!

Sina B.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants