__init__(self,
cortex,
icu_num,
axis_num,
base_speed,
max_speed,
acceleration,
deceleration,
position,
steps_per_rev,
num_positions,
name='mechanism')
(Constructor)
| source code |
Initialiser for mechanism class.
Arguments:
cortex: String containing the name of the cortex based
ICU daisy chain instance that this mechanism is a
part of.
icuNum: Which ICU in the chain this mechanism is connected
to.
axisNum: Which axis of the ICU the mechansism is connected
to.
baseSpeed: Starting speed (steps/half steps per sec?)
maxSpeed: Peak speed (steps/half steps per sec?)
acceleration: Acceleration (steps/half steps per sec^2?)
deceleration: Deceleration (steps/half steps per sec^2?)
position: Initial position of the mechanism (steps)
steps_per_rev:Number of motor steps per revolution of the wheel
num_positions:Number of filters/masks in the wheel
name: Label used for logging purposes.
-
- Overrides:
mechanism.mechanism.__init__
|