这是indexloc提供的服务,不要输入任何密码
Skip to content

Sensor name pattern matching makes certain sensors inaccessible  #295

@CarsonThompson

Description

@CarsonThompson

I am unable to receive data from certain sensors I believe due to the pattern matching finding the first sensor that has that sequence. This behavior only causes a problem when there is a sensor above the target one that holds the entirety of name of the target sensor in it's name.

This is shown for the target sensor "BMI160 Gyroscope". The prior entry "BMI160 Gyroscope Uncalibrated" renders the first one inaccessible through any means. Pictures illustrating this behavior are below.

Screenshot_20191018-185559

Screenshot_20191018-185705

I believe this could be fixed by first trying to match the entire name of a sensor before looking for partial matches. This would allow any sensor to be accessible while maintaining parity with the current partial string matching functionality.

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