poseidon
poseidon copied to clipboard
GUI number not updating
Alright so moving on to the next bug I guess.
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
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.
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 ?
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.