Realizing efficient and accurate positional movement of industrial robots is one of the key technologies to accelerate industrial development. In this paper, a four-wheel-drive McNamee mobile robot is selected as the research object, and the improved IPSO-IDE algorithm is proposed, which is combined with a PID controller to realize the accurate positioning and optimal path planning of industrial machines. The experimental results of robot kinematic parameter calibration show that the distance error of the robot calibrated with the algorithm is greatly reduced, and not only that, the IPSO-IDE algorithm reduces the average distance error of the robot to only 0.124 mm, which is much smaller than that of the PSO algorithm and the DE algorithm. The IPSO-IDE algorithm is capable of planning the optimal motion path in a short time, as demonstrated by the results of robot map environment simulation experiments. In the simulated map environment of 10 m × 10 m, the convergence speed of the algorithm’s planning path is 12.69 seconds, and the generated optimal path length is 15.0221 m, which is better than other algorithms. In conclusion, the proposed IPSO-IDE algorithm has an excellent performance in terms of path-planning capabilities for industrial robots.