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

is_calibrating incoherent behaviour #4

@lorrandal

Description

@lorrandal

is_calibrating property exhibits an incoherent behaviour: it gives different results if it is called before or after the first calibration. eg:

In [3]: b.is_calibrating
Out[3]: True

In [4]: b.calibrate()

In [5]: b.is_calibrating
Out[5]: False

Function:

    @property #TODO: after the first calibration, different resultss
    def is_calibrating(self):
#        r = self._dll.LCP_IsCalibrationFinished(self._handle[0])
#        return bool(r)
        r = self._call('LCP_IsCalibrationFinished', self._handle[0])
        if r == 0:
            return True
        else:
            return False

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