libstp.step.calibration.sensors.ir_confirm_screen

Classes

IRConfirmScreen

Confirm IR sensor calibration results.

Module Contents

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

Bases: libstp.ui.UIScreen[libstp.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() libstp.ui.Widget
async on_black_change(value: float)
async on_white_change(value: float)
async on_retry()
async on_confirm()