jacdac.weight_scale
Submodules
Package Contents
Classes
A weight measuring sensor. |
- class jacdac.weight_scale.WeightScaleClient(bus: jacdac.bus.Bus, role: str, *, missing_weight_value: float | None = None)
Bases:
jacdac.bus.SensorClient
A weight measuring sensor. Implements a client for the Weight Scale service.
- property zero_offset: float | None
(Optional) Calibrated zero offset error on the scale, i.e. the measured weight when nothing is on the scale. You do not need to subtract that from the reading, it has already been done., _: kg
- property weight_resolution: float | None
(Optional) Smallest, yet distinguishable change in reading., _: kg
- property variant: jacdac.weight_scale.constants.WeightScaleVariant | None
(Optional) The type of physical scale,