Automatic dining car system based on A* algorithm
Abstract
To solve the problem of selling dining and getting the most profit in a certain time by two devices, this project is divided into two parts, one is the detection and the other is route planning, these two parts are combined to find the nearest suitable selling position and plan the optimal path from the current position to that point. Firstly, achieve the function of detecting the center points of the densely populated areas based on the work of tracing the areas’ contours and the center point of the object by OpenCV, then select the nearest point. Then find out whether the point is on the road, if yes, the point will be the endpoint, if not, use BFS (Breadth-first search) to find the nearest point of the selected point which is on the road. Finally, use the A* algorithm to plan an optimal route between the current position of the car and the endpoint. Furthermore, the heuristic function is used to optimize the algorithm to achieve maximum profit.
References
- Jing.Z.(2020) Arriving of the food truck.J.Auto Observation, 03:117.
- Shuai.G, (2012). Image denoising based on mathematical morphology. D, TP391.41
- Bin,H, Wenzhi. Z, Yuancheng.D, Hongqiang.T,(2018) Method of objects’color and contour recognition based on OpenCV. Modern Electronics Technique. [J].37:96-97
- E. Žunić, A. Djedović and B. Žunić, (2016) Software solution for optimal planning of sales persons work based on Depth-First Search and Breadth-First Search algorithms. Electronics and Microelectronics (MIPRO), pp. 1248-1253
- Mingliang.Y, Ning L, (2022) Study on Mobile Robot Path Planning based on Improved A* Algorithm. Mechanical Science and Technology for Aerospace Engineering. J. 41: 795-800
- Daokui.Q, Zhenjun.D, Dianguo.X, (2008) Research on Path Planning for a Mobile Robot, Robot, J. 30(2):97-101
- Xiao.Z, Zheng.W, Chengkan.H, Yanwei.Z, (2018) Mobile Robot Path Planning Based on an Improved A* Algorithm. ROBOT. 40
- R. M. Haralick, S. R. Sternberg and X. Zhuang, "Image Analysis Using Mathematical Morphology," in IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. PAMI-9, no. 4, pp. 532-550, July 1987, doi: 10.1109/TPAMI.1987.4767941.
- OpenStreetMap[EB]/[OL]https://master.apis.dev.openstreetmap.org/#map=15/28.1504/112.9427 10/07/2022
- BaiduMaps[EB]/[OL]https://map.baidu.com/@12573521.69543578,3248407.054473594,17.06z 10/07/2022