I'm writing code to control 2 robotic arms, one directly stepping to motors, the other receiving ASCII commands.
With both pieces of code, I'm just using time.sleep to time my commands, which works, but I'm running into a speed barrier. If I lower the sleep duration, it becomes unreliable. This gets even worse when other threads join the fight for processor time.
Would it be possible for PyParallel to do something to help in that area?
One thing that might work is a C loop that calls into the Python code at a given interval, but maybe there are better ideas?