Skip to content

MoveTank on_for_rotations method problem #393

Closed

Description

@gregcowell
  • ev3dev version: 4.4.87-22-ev3dev-ev3
  • ev3dev-lang-python version: develop branch

If I run the code below, the wheels/tracks do not rotate in opposite directions as expected:

tank = ev3.MoveTank('outB', 'outC')
tank.on_for_rotations(left_speed_pct=5, right_speed_pct=-5, rotations=1.35)

This also affects the MoveSteering on_for_rotations method since it uses the MoveTank equivalent. I will submit a proposed fix as a pull request.

Activity

  1. dlech commented on Oct 4, 2017

    @dlech
    Member

    I notice that you are using kernel 4.4.87-22-ev3dev-ev3, which is ev3dev-jessie. The develop branch of ev3dev-lang-python is for ev3dev-stretch (the next generation ev3dev release). Did you intent for this problem to be fixed in ev3dev-jessie as well?

  2. WasabiFan commented on Oct 4, 2017

    @WasabiFan
    Member

    I don't think the steering classes exist in the Jessie branch... Not sure though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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