So, I have a python script that runs the magician. I am using it to do a time-critical process.
I can command it to move, but I don't get any feedback of when the move actually is completed.
I am doing it in a very bad way right now:
destination = [x_commanded, y_commanded, z_commanded, r_commanded];
while(eucledian(dobot.pose() , destination) > 2) #tolerance is 2mm
What is a better way to achieve this, because I want to control other peripherals in a timed manner based on the location of the dobot magician.
Thanks for your help.