def get_FTPdetect_coordinates(FTPdetect_file_content, ff_bin, meteor_no = 1):
    """ Returns a list of FF*.bin coordinates of a specific bin file and a meteor on that image as a list of tuples e.g. [(15, 20), (16, 21), (17, 22)] and the rotation angle of the meteor.
    """

    if int(FTPdetect_file_content[0].split('=')[1]) == 0: #Solving issue when no meteors are in the file
        return [], 0, 0

    skip = 0
    skip_to_end = False
    coord_list = []
    HT_rho = 0
    HT_phi = 0

    found_bin = False
    found_meteor = False
    read_angle = False

    for line in FTPdetect_file_content[12:]:

        if skip_to_end:
            if ("-------------------------------------------------------" in line):
                skip_to_end = False
                continue
            continue

        if skip>0:
            skip -= 1
            continue

        if ff_bin in line:
            found_bin = True
            skip = 1
            continue

        if found_bin and not found_meteor:
            line = line.split()
            if int(float(line[1])) == meteor_no:
                found_meteor = True
            else:
                skip_to_end = True

        if found_bin and found_meteor:
            if read_angle == False:
                HT_phi = float(line[-1])
                HT_rho = float(line[-2])
                read_angle = True
                continue

            if ("-------------------------------------------------------" in line):
                break

            line = line.split()
            coord_list.append((float(line[0]), int(round(float(line[1]), 0)), int(round(float(line[2]), 0))))

    return (coord_list, HT_rho, HT_phi)