Package dics :: Module wheel :: Class wheel
[hide private]
[frames] | no frames]

Class wheel
source code

mechanism.mechanism --+
                      |
                     wheel

Class represent a filter or mask wheel mechanism, based on the generic mechanism class mechanism. Many added features.

Instance Methods [hide private]
  __init__(self, cortex, icu_num, axis_num, base_speed, max_speed, acceleration, deceleration, position, steps_per_rev, num_positions, name='mechanism')
Initialiser for mechanism class.

Inherited from mechanism.mechanism: getMotorParams, getPosition, moveBy, moveTo, setMotorParams, setPosition, updateConfig


Method Details [hide private]

__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__