Exemple #1
0
def inside_curve2():
    pose_or_location = dtu.geo.SE2_from_translation_angle([0.35, -0.1],
                                                          np.deg2rad(15))

    for lane_filter_name in lane_filter_names:
        outd = dirn(lane_filter_name)
        test_synthetic(actual_map_name, template, robot_name,
                       line_detector_name, image_prep_name, lane_filter_name,
                       pose_or_location, outd)
Exemple #2
0
def start_curve():
    res = np.zeros((), dtype=TemplateBeforeCurve.DATATYPE_COORDS)
    # x is unused (projection)
    res['phi'] = 0
    res['d'] = 0
    pose_or_location = res

    for lane_filter_name in lane_filter_names:
        outd = dirn(lane_filter_name)
        test_synthetic(actual_map_name, template, robot_name,
                       line_detector_name, image_prep_name, lane_filter_name,
                       pose_or_location, outd)