pachterlab / poseidon

poseidon system - open source syringe pumps and microscope for laboratories
https://pachterlab.github.io/poseidon
BSD 2-Clause "Simplified" License
171 stars 54 forks source link

GUI number not updating #12

Open Xqua opened 5 years ago

Xqua commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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.