def rotctld_angle(rotctl):
    """
    Get azimuth,elevation from rotctld server connection.
    """
    rotctl.send(b'p\n')
    azimuth, elevation = rotctl.recv(1024).decode('ascii').splitlines()
    return azimuth, elevation