QbDevice

class QbDevice(self)

Bases: pybind11_object

Interface for qbrobotics devices.

See https://qbrobotics.com/ for more details.

This class was tested with the qbSoftHand .

Default constructor that does nothing. To connect to a device call init() .

Methods

__init__

Default constructor that does nothing.

getCurrentMax

Return the maximum current supported by the device.

getPositionLimits

return:

Position limits as a 2-dim vector with min and max values.

setMaxRepeats

Set the maximum number of consecutive repetitions to mark retrieved data as corrupted.

Inherited Methods

Operators

__doc__

__init__

Default constructor that does nothing.

__module__

Attributes

__annotations__

__init__(self)

Default constructor that does nothing. To connect to a device call init() .

getCurrentMax(self) float

Return the maximum current supported by the device.

getPositionLimits(self) list[int]
Returns:

Position limits as a 2-dim vector with min and max values.

setMaxRepeats(self, max_repeats: int) None

Set the maximum number of consecutive repetitions to mark retrieved data as corrupted. This value is set by default to 1.