8. MoveIt trajectory planning

This lesson takes the MoveIT simulation as an example. If you need to set the synchronization between the real machine and the simulation, please refer to the lesson [02, MoveIt Precautions and Controlling the Real Machine]. ! ! ! be careful! ! !

The effect demonstration is a virtual machine, and other masters are running (related to the performance of the master, depending on the actual situation).

8.1. Start

Start the MoveIT

Start trajectory planning node

Effect drawing

To view the track, you need to add the [MarkerArray] plugin and select the [/rviz_visual_tools] topic.

0801

Given three reachable target points of the robotic arm, MoveIT will plan three feasible trajectories according to the target points, and then combine the three trajectories into a continuous trajectory.

8.2. Source code analysis

Set three reachable target points (any target point can be reached, it must be reachable)

Plan each trajectory

Trajectory merge

Track display

Perform trajectory planning