The invention provides an innovative local path re-planning
algorithm aiming at the problems existing in a traditional mechanical arm
obstacle avoidance path
planning method, and RRT, APF and VF-RRT methods are fused to deal with challenges of dynamic and static obstacle environments. According to the technical scheme, the method comprises the following steps: firstly, through
point cloud data tracking and capturing environment information of a
working space by an RGB-D camera, generating a three-dimensional
point cloud model of static and dynamic obstacles; and then, tracking a static obstacle by using an iterative
nearest point algorithm, and classifying and tracking a dynamic obstacle through
point cloud information obtained by subtracting an online image from an offline background. A protection area is created for obstacles possibly influencing a dangerous path, and local path re-planning is only carried out on the closest obstacle, so that the calculation amount is reduced. Then, on the basis of a mechanical arm motion model and a
collision detection method, an initial path is optimized through a
random tree path back-to-source updating
algorithm, and an
executable path is obtained; and finally, in combination with APF and RRT methods, a strategy of recursive replanning and dynamic proportion adjustment is adopted to realize
safe path replanning of the dynamic obstacle. The method has innovativeness and practicability in handling the
obstacle avoidance problem of the mechanical arm, and the
obstacle avoidance challenge in the complex environment can be effectively solved.