The invention discloses a mechanical arm task planning
system based on a behavior tree and an application method. The mechanical arm task planning
system comprises a track segmentation module, a target
pose detection module, a behavior tree design module, a
dynamic motion primitive generalization module, an upper computer
system and a Kinova Jaco mechanical arm. On the one hand, a Kinova Jaco mechanical arm is controlled by
teleoperation to perform multiple grabbing task demonstration, an upper computer system obtains action elements from collected demonstration data through a track segmentation module, and an action element
library is constructed; on the other hand, according to the grabbing task execution logic, a grabbing task behavior tree is created through a behavior tree design module; the Kinect sensor captures an object depth image, after the object position and posture are estimated through the target posture detection module, generalization is carried out through the
dynamic motion primitive generalization module in combination with corresponding motion primitives in the motion primitive
library, the motion primitives obtained through generalization serve as action nodes of a behavior tree, the behavior tree transmits an execution instruction to the upper computer system, and the action primitives serve as action nodes of the
dynamic motion primitive generalization module. And the Kinova Jaco mechanical arm is controlled to execute the grabbing task.