示例#1
0
 def configure(self):
     AbstractAxisPlugin.configure(self)
     AbstractHardwarePlugin.configure(self)
     if self._config['OVERWRITE_ENCODER_FULL_CIRCLE']:
         self._hardware.overwriteEncoderFullCircle(self._config['ENCODER_FULL_CIRCLE'])
     else:
         self._hardware.useFirmwareEncoderFullCircle()
示例#2
0
 def configure(self):
     Logger().trace("PixOrbAxis.configure()")
     AbstractAxisPlugin.configure(self)
     self._hardware.configure(self._config['SPEED_INDEX'])
示例#3
0
 def configure(self):
     Logger().trace("PanoduinoAxis.configure()")
     AbstractAxisPlugin.configure(self)
     self._hardware.setAxis(self._config['CHANNEL'])
     self._hardware.configure(self._config['SPEED'], self._config['ACCEL'])
示例#4
0
 def configure(self):
     Logger().trace("PanoduinoAxis.configure()")
     AbstractAxisPlugin.configure(self)
     self._hardware.setAxis(self._config['CHANNEL'])
     self._hardware.configure(self._config['SPEED'], self._config['ACCEL'])