code: def convert_to_xml(cls, value):
          
          # modulo normalizes negative and >360 degree values
          rot = int(round(value * cls.DEGREE_INCREMENTS)) % cls.THREE_SIXTY
          return str(rot)
docs: Convert signed angle float like -42.42 to int 60000 per degree,
          normalized to positive value.