Skip to content

MoveJoystick super() bug  #575

Closed
Closed

Description

@scprotz

Using the MoveJoystick function with a Logitech F710 and evdev. Set everything up and created a separate thread to update MoveJoystick function from motor.py.

The MoveJoystick function has a small bug. It tries to call MoveTank.off(), but MoveTank.off() is not a static method and so throws an error. it should be super.off() since MoveTank is parent to MoveJoystick.

In 2.0.0b it is line 1957 of motor.py. If I knew how to push the change, I'd do it, but I'm not very good with git.

Activity

  1. WasabiFan commented on Dec 17, 2018

    @WasabiFan
    Member

    Thanks for reporting! Yes, this looks like a bug we introduced when changing how off works.

  2. self-assigned this
    on Dec 17, 2018
  3. added a commit that references this issue on Dec 19, 2018
    5c031bc
  4. added a commit that references this issue on Dec 19, 2018
    056f721
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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