Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best way to drive motors to absolute position #785

Open
IanLewis42 opened this issue Dec 19, 2022 · 0 comments
Open

Best way to drive motors to absolute position #785

IanLewis42 opened this issue Dec 19, 2022 · 0 comments

Comments

@IanLewis42
Copy link

  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant