Autonomous excavators are gradually gaining attention because they can reduce the waste of human resources and improve the efficiency. This study proposed a complete coverage path planning algorithm for autonomous excavators based on the Rotating Calipers Path Planning (RCPP) algorithm, which called the Excavator-Rotating Calipers Path Planning (E-RCPP) algorithm. This study uses boustrophedon cellular decomposition (BCD) to decompose the construction area to obtain the convex and non-convex sub-areas without obstacles, and describes a non-decomposition principle to determine whether to decompose non-convex areas that are difficult to plan. To obtain the optimal path, an adaptive spacing adjustment model which is used to adjust the spacing between parallel paths is designed. To improve the coverage rate at the corner, this study proposed a novel boundary corner turning method. The algorithm's cost function considers the path length, the number of turns, the coverage rate and the overlap rate. The Digital Orthophoto Map (DOM) of the construction area is created by Unmanned Aerial Vehicle (UAV) and cropped into three polygonal areas, the 2D top-views of the them are used for simulation experiments to verify the performance of E-RCPP algorithm, the results show that the E-RCPP algorithm has better performance when applied to the complete coverage path planning for excavator compared with the traditional RCPP algorithm.