step.calibration.sensors.ir_confirm_screen

Classes

IRConfirmScreen

Confirm IR sensor calibration results.

Module Contents

class step.calibration.sensors.ir_confirm_screen.IRConfirmScreen(black_threshold: float, white_threshold: float, collected_values: List[float] = None)

Bases: UIScreen[step.calibration.sensors.dataclasses.IRConfirmResult]

Confirm IR sensor calibration results.

Shows black/white thresholds and collected values.

title = 'IR Sensor Calibration'
black_threshold
white_threshold
collected_values = []
property is_good: bool
build() Widget
async on_black_change(value: float)
async on_white_change(value: float)
async on_retry()
async on_confirm()