Skip to content

TypeError in protocol.py @ line "self.device_worn_confidence = 1 - (status_info & 3)/3" #7

Description

@prakash1895

Sometimes the status_info returns a NaN value, which is of float datatype. So, the '&' operation at line "self.device_worn_confidence = 1 - (status_info & 3)/3" in protocol.py throws a TypeError:

Error Msg:
TypeError: unsupported operand type(s) for &: 'float' and 'int'

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