Introduction - If you have any usage issues, please Google them yourself
Based on the ant colony algorithm, the path of the robot with the obstacle is modeled by the method of grid discretization, and the environment is stored by the adjacency matrix, so that the problem is transformed into the ant colony algorithm to find the shortest path.