def _PrintServos(name, limits, print_header):
  if print_header:
    print ('%15s         A1    A2    A4    A5    A7    A8'
           '    E1    E2    R1    R2' % '')
  print ('%15s min:' + ' %5.1f' * 10) % (
      (name,) + tuple([math.degrees(limits[_SERVOS[i]][0])
                       for i in range(len(_SERVOS))]))
  print ('%15s max:' + ' %5.1f' * 10) % (
      ('',) + tuple([math.degrees(limits[_SERVOS[i]][1])
                     for i in range(len(_SERVOS))]))