Class MotorSet
motor_specs is a dictionary such as
Declaration
class MotorSet(object)
source linkDocumentation
- {
OUTPUT_A : LargeMotor, OUTPUT_C : LargeMotor,
System Message: WARNING/2 (<string>, line 4)
Definition list ends without a blank line; unexpected unindent.
}
Methods
▶ def __init__(self, motor_specs, desc=None) motor_specs is a dictionary such as
- {
OUTPUT_A : LargeMotor, OUTPUT_C : LargeMotor,
System Message: WARNING/2 (<string>, line 4)
Definition list ends without a blank line; unexpected unindent.
}
Overrides
This method is overriden in:
@property
def is_holding(
self,
motors=None,
)
@property
def is_overloaded(
self,
motors=None,
)
@property
def is_ramping(
self,
motors=None,
)
@property
def is_running(
self,
motors=None,
)
@property
def is_stalled(
self,
motors=None,
)
▷ def off(self, motors=None, brake=True) Stop motors immediately. Configure motors to brake if ``brake`` is set.
▷ def reset(self, motors=None) ▷ def stop(self, motors=None, brake=True) ``stop`` is an alias of ``off``. This is deprecated but helps keep the API for MotorSet somewhat similar to Motor which has both ``stop`` and ``off``.
▷ def wait(self, cond, timeout=None, motors=None) ▷ def wait_until(self, s, timeout=None, motors=None) ▷ def wait_while(self, s, timeout=None, motors=None)
Subclasses