Zum Hauptinhalt springen

raydriver.smoothie.probe

Functions​

describe()​

describe(
version_lines: Sequence[str],
alpha_max_lines: Sequence[str],
beta_max_lines: Sequence[str],
alpha_max_rate_lines: Sequence[str],
beta_max_rate_lines: Sequence[str],
acceleration_lines: Sequence[str],
) -> Any

Builds the census dict from raw Smoothieware census-command responses.

Pure data transformation with no I/O; the caller is responsible for communicating with the device and passing the collected response lines. ok acknowledgements and <...> status reports are dropped, and non-numeric config-get replies yield None fields.

ParameterTypeDescription
version_linesSequence[str]
alpha_max_linesSequence[str]
beta_max_linesSequence[str]
alpha_max_rate_linesSequence[str]
beta_max_rate_linesSequence[str]
acceleration_linesSequence[str]
ReturnsAny