Hi Pololu Maestro fans and experts,
I have Pololu Maestor 6 Channel that I’ve been trying to program using Python 3, which deals with bytes conversion in a more complex way than Python 2.
I have a very similar situation with 8-bit mode where I can send servos to typical 0, 90, 180 agles which correspond with min (720), mid (1360), and max (2000) positions set up on the Control Centre.
However, problem occured as I try it in an incremental loop, such as below:
for degree in range(0,180): setAngle(0, degree) time.sleep(0.1)
I sweeped through all angles 0 and 90 sweetly, but as soon as it reaches 91 it goes back to 89 and then go back up, then down, then stuck, then up again erracticly. What could be the problem?
I know this is topic was raised 6 years ago, but I couldn’t find the solution anywhere else. The only solution I can think of is to abandon 8-bit command or Python 3 altogether.
Has anyone gone far with Python 3 pyserial commands for the Maestro?