ev3dev-lang-python icon indicating copy to clipboard operation
ev3dev-lang-python copied to clipboard

Best way to drive motors to absolute position

Open IanLewis42 opened this issue 3 years ago • 0 comments

  • ev3dev version: 1.0.19(0.48/3/2)
  • ev3dev-lang-python version: | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii micropython-ev 2.1.0 all Python language bindings for ev3d ii python3-ev3dev 1.2.0 all Python language bindings for ev3d ii python3-ev3dev 2.1.0 all Python language bindings for ev3d

Hi,

I'm trying to drive large EV3 motors to absolute positions. I've been reading the docs here but there seem to be multiple ways to do it.

What is the difference between : run_to_abs_pos(**kwargs) and on_to_position(speed, position, brake=True, block=True)

and how do these relate to the command: COMMAND_RUN_TO_ABS_POS = 'run-to-abs-pos'

Thanks,

Ian.

IanLewis42 avatar Dec 19 '22 17:12 IanLewis42