Skip to content

Motor Ramping Assistance #787

Description

@TheDoctor2017
ev3dev version: 4.14.117-ev3dev-2.3.5-ev3
ev3dev-lang-python version:
Desired=Unknown/Install/Remove/Purge/Hold
| 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-ev3dev2 2.1.0 all Python language bindings for ev3dev for MicroPython
ii python3-ev3dev 1.2.0 all Python language bindings for ev3dev
ii python3-ev3dev2 2.1.0 all Python language bindings for ev3dev

I am trying to add ramping to my builds. I know it is supported by the Lego software, but I want Python practice so I am using ev3dev. I can't find anything in the basic motor commands. I did find this:
https://ev3dev-lang.readthedocs.io/projects/python-ev3dev/en/stable/motors.html
But it appears to require a custom class, which is beyond my programming knowledge. Is there anyone out there in ev3dev land that understands how this works that could give me a code example or any other method to support ramping on the motors to avoid the sharp jerk at initial start? Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions