libstp.step.servo.resolver¶
Exceptions¶
Raised when a servo reference cannot be resolved from the robot. |
Classes¶
Resolved servo lookup result with the chosen display name and object. |
Functions¶
|
Resolve a servo reference (instance or defs attribute name) into a concrete Servo. |
Module Contents¶
- exception libstp.step.servo.resolver.ServoResolutionError¶
Bases:
RuntimeErrorRaised when a servo reference cannot be resolved from the robot.
- class libstp.step.servo.resolver.ResolvedServo¶
Resolved servo lookup result with the chosen display name and object.
- servo: libstp.hal.Servo¶
- libstp.step.servo.resolver.resolve_servo(servo_ref: str | libstp.hal.Servo, robot: libstp.robot.api.GenericRobot) ResolvedServo¶
Resolve a servo reference (instance or defs attribute name) into a concrete Servo.