mxcubecore.HardwareObjects.abstract.AbstractMotor#
Abstract Motor class. Defines the MotorStates enum, get/set velocity, home and set_value_relative methods. Emits signals valueChanged and limitsChanged.
Classes
|
Abstract motor class |
|
Motor states definitions. |
- class mxcubecore.HardwareObjects.abstract.AbstractMotor.AbstractMotor(name)[source]#
Bases:
AbstractActuator
Abstract motor class
- SPECIFIC_STATES#
alias of
MotorStates
- set_value_relative(relative_value, timeout=0)[source]#
Set actuator to relative to the current value :param value: target value :type value: float :param timeout: optional - timeout [s],
If timeout == 0: return at once and do not wait; if timeout is None: wait forever.