A_star 需要提前安装opencv库。 编译过程: cd A_star cmake ../A_star make ./A_star 最终是效果: 其中黄色为进行过搜索的节点,绿色为起点,红色为终点,蓝色为最终路径