ev3-python3 icon indicating copy to clipboard operation
ev3-python3 copied to clipboard

Duty cycle control

Open valentin-burillier opened this issue 1 year ago • 1 comments

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

valentin-burillier avatar Jun 04 '24 11:06 valentin-burillier

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

ChristophGaukel avatar Jul 23 '24 15:07 ChristophGaukel