def lane_pose_test1(): outdir = get_comptests_output_dir() dm = load_map('udem1') print(get_object_tree(dm, attributes=True)) res = get_skeleton_graph(dm) # area = RectangularArea((0, 0), (3, 3)) draw_static(res.root2, outdir + '/root2') # draw_static(dm, outdir + '/orig') print(get_object_tree(res.root2, attributes=True))
def lane_pose_segment1(): outdir = get_comptests_output_dir() dm = load_map("udem1") _ = get_object_tree(dm, attributes=True) res = get_skeleton_graph(dm) # area = RectangularArea((0, 0), (3, 3)) draw_static(res.root2, outdir + "/root2") # draw_static(dm, outdir + '/orig') _ = get_object_tree(res.root2, attributes=True)
def tag_positions(): map_yaml_data = yaml.load(map_yaml, Loader=yaml.Loader) m = construct_map(map_yaml_data) print(get_object_tree(m, attributes=True)) outdir = get_comptests_output_dir() draw_static(m, outdir)