Example #1
0
 def _defineConfig(self):
     AbstractAxisPlugin._defineConfig(self)
     AbstractHardwarePlugin._defineConfig(self)
     self._addConfigKey('_alternateDrive', 'ALTERNATE_DRIVE', default=DEFAULT_ALTERNATE_DRIVE)
     self._addConfigKey('_alternateDrive', 'ALTERNATE_DRIVE_ANGLE', default=DEFAULT_ALTERNATE_DRIVE_ANGLE)
     self._addConfigKey('_inertiaAngle', 'INERTIA_ANGLE', default=DEFAULT_INERTIA_ANGLE)
     self._addConfigKey('_overwriteEncoderFullCircle', 'OVERWRITE_ENCODER_FULL_CIRCLE', default=DEFAULT_OVERWRITE_ENCODER_FULL_CIRCLE)
     self._addConfigKey('_encoderFullCircle', 'ENCODER_FULL_CIRCLE', default=DEFAULT_ENCODER_FULL_CIRCLE)
Example #2
0
 def _defineConfig(self):
     AbstractAxisPlugin._defineConfig(self)
     AbstractHardwarePlugin._defineConfig(self)
     self._addConfigKey('_speedSlow',
                        'SPEED_SLOW',
                        default=DEFAULT_SPEED_SLOW)
     self._addConfigKey('_speedNormal',
                        'SPEED_NORMAL',
                        default=DEFAULT_SPEED_NORMAL)
     self._addConfigKey('_speedFast',
                        'SPEED_FAST',
                        default=DEFAULT_SPEED_FAST)
     self._addConfigKey('_parkPosition',
                        'PARK_POSITION',
                        default=DEFAULT_PARK_POSITION)
     if self.capacity == 'yawAxis':
         self._addConfigKey('_parkEnable', 'PARK_ENABLE', default=False)
     else:
         self._addConfigKey('_parkEnable', 'PARK_ENABLE', default=True)
Example #3
0
 def _defineConfig(self):
     AbstractAxisPlugin._defineConfig(self)
     AbstractHardwarePlugin._defineConfig(self)
     self._addConfigKey('_speed',
                        'SPEED',
                        default=DEFAULT_SPEED[self.capacity])
     self._addConfigKey('_acceleration',
                        'ACCEL',
                        default=DEFAULT_ACCEL[self.capacity])
     self._addConfigKey('_channel',
                        'CHANNEL',
                        default=DEFAULT_CHANNEL[self.capacity])
     self._addConfigKey('_direction',
                        'DIRECTION',
                        default=DEFAULT_DIRECTION[self.capacity])
     self._addConfigKey('_angle1ms',
                        'ANGLE_1MS',
                        default=DEFAULT_ANGLE_1MS[self.capacity])
     self._addConfigKey('_neutralPos',
                        'NEUTRAL_POSITION',
                        default=DEFAULT_NEUTRAL_POSITION[self.capacity])
     self._addConfigKey('_additionalDelay',
                        'ADDITIONAL_DELAY',
                        default=DEFAULT_ADDITIONAL_DELAY)
Example #4
0
 def _defineConfig(self):
     AbstractAxisPlugin._defineConfig(self)
     AbstractHardwarePlugin._defineConfig(self)
Example #5
0
 def _defineConfig(self):
     AbstractAxisPlugin._defineConfig(self)
     AbstractHardwarePlugin._defineConfig(self)
     self._addConfigKey('_speedIndex', 'SPEED_INDEX', default=DEFAULT_SPEED_INDEX)
     self._addConfigKey('_axisWithBreak', 'AXIS_WITH_BREAK', default=DEFAULT_AXIS_WITH_BREAK)
     self._addConfigKey('_axisAccuracy', 'AXIS_ACCURACY', default=DEFAULT_AXIS_ACCURACY)
Example #6
0
 def _defineConfig(self):
     AbstractAxisPlugin._defineConfig(self)
     self._addConfigKey('_speed', 'SPEED', default=DEFAULT_SPEED)