RaspberryPiFoundation / python-build-hat

Build HAT Python library
MIT License
55 stars 19 forks source link

weird motor movement after Motor.run_to_position() #199

Closed schultz77 closed 1 year ago

schultz77 commented 1 year ago

Hi there, sometimes after setting Motor.run_to_position() the motor swings to total different position (see picture attached). i've set Motor.run_to_position(-7.5) using Motor.get_aposition() it can be seen the motor moving to -156 and then to 166.

what can i do to fix it? Thank You in advance!

Weird_motor-behaviour

schultz77 commented 1 year ago

probably setting run_to_position very frequently