libstp.step.base¶
Classes¶
Base async action executed by missions and higher-level step combinators. |
Module Contents¶
- class libstp.step.base.Step¶
Bases:
libstp.class_name_logger.ClassNameLoggerBase async action executed by missions and higher-level step combinators.
- async run_step(robot: libstp.robot.api.GenericRobot) None¶
Execute the step with logging and optional timing instrumentation.
- to_simulation_step() libstp.step.model.SimulationStep¶
Convert this step to a simulation-friendly summary.
The default implementation uses timing history only when it can query the tracker synchronously; otherwise it returns conservative defaults. Override in subclasses that know their motion delta or exact duration.