ev3-python3
ev3-python3 copied to clipboard
Duty cycle control
Hello,
I'd like to create my own servo system. To do this, I want to control the duty cycle of the motors. However, I haven't found any method of doing this. Is there one? Or is there a way to do it?
Thanks in advance
Hello Valentin, sorry for my late reaction. If you took a close look to my code, then you found a lengthy direct command, which reads the motor positions of two motors and then calculates the speed. I think, this is the way, you can code your own servo system. My version is not very smooth, and indeed can be improved. Kind regards, Christoph