text: # -*- coding: utf-8 -*-
  
  description = 'Hexapod control via TCP/IP'
  group = 'optional'
  display_order = 70
  
  excludes = ['hexapod_inixlib']
  
  tango_base = 'tango://phys.kws1.frm2:10000/kws1/'
  hexapod = tango_base + 'hexapod/h_'
  
  devices = dict(
      hexapod_dt = device('nicos.devices.entangle.Motor',
          description = 'Hexapod rotation table',
          tangodevice = hexapod + 'omega',
          unit = 'deg',
          precision = 0.01,
          fmtstr = '%.2f',
      ),
      hexapod_rx = device('nicos.devices.entangle.Motor',
          description = 'Hexapod rotation around X',
          tangodevice = hexapod + 'rx',
          unit = 'deg',
          precision = 0.01,
          fmtstr = '%.2f',
      ),
      hexapod_ry = device('nicos.devices.entangle.Motor',
          description = 'Hexapod rotation around Y',
          tangodevice = hexapod + 'ry',
          unit = 'deg',
          precision = 0.01,
          fmtstr = '%.2f',
      ),
      hexapod_rz = device('nicos.devices.entangle.Motor',
          description = 'Hexapod rotation around Z',
          tangodevice = hexapod + 'rz',
          unit = 'deg',
          precision = 0.01,
          fmtstr = '%.2f',
      ),
      hexapod_tx = device('nicos.devices.entangle.Motor',
          description = 'Hexapod translation in X',
          tangodevice = hexapod + 'tx',
          unit = 'mm',
          precision = 0.1,
          fmtstr = '%.1f',
      ),
      hexapod_ty = device('nicos.devices.entangle.Motor',
          description = 'Hexapod translation in Y',
          tangodevice = hexapod + 'ty',
          unit = 'mm',
          precision = 0.1,
          fmtstr = '%.1f',
      ),
      hexapod_tz = device('nicos.devices.entangle.Motor',
          description = 'Hexapod translation in Z',
          tangodevice = hexapod + 'tz',
          unit = 'mm',
          precision = 0.1,
          fmtstr = '%.1f',
      ),
  )
  