Due to there are complex application environmental conditions and interference factors for the robot arm,the space division is complex for the accuracy test algorithm of existing mechanical arm grab trajectory.For solving this problem,the authors supposed that six-freedomdegree mechanical arm is a constant,defined relative symbols,established connecting rod coordinate for mechanical arm,effectively used the trajectory of the scraping process,and calculated each trajectory endpoint.The angle area of the robot arm was calculated,the movement distance from the coordinate origin to the target was obtained,and tracking accuracy test wad realized.Experimental results show that the algorithm could obtain better mechanical arm trajectory parameters,trajectory accuracy was verified by testing the feasibility and effectiveness of the algorithm.