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()
def configure(self): Logger().trace("PixOrbAxis.configure()") AbstractAxisPlugin.configure(self) self._hardware.configure(self._config['SPEED_INDEX'])
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'])