Skip to content
This repository was archived by the owner on Nov 23, 2019. It is now read-only.
This repository was archived by the owner on Nov 23, 2019. It is now read-only.

absolute IMU class, fails to find ports in new version of ev3dev #76

Description

@Horsevad

When trying to generate an instance of class AbsoluteIMU, you can only specify the port as an integer value, and then it checks in /sys/class / ... uevent for LEGO_ADDRESS=in2' but the port name for an the absolute IMU-ACG sensor from mindsensors mounts on port in2:i2c17 or something like this.

Thus the code breaks, when trying to make the sensor. A quick fix is to use .startswith() instead of an exact match.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions