5. MoveIt Cartesian Path

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).

5.1. Introduction

The Cartesian coordinate system is the collective name for the Cartesian coordinate system and the oblique coordinate system. A Cartesian path is actually a line connecting any two points in space

img

5.2. Start

Start the MoveIT

Start the Cartesian path node

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

img

The python code does not have a similar trajectory to C++, and there is no special effect after running.

5.3. Source code

5.3.1. py file

Set specific location

Add waypoint

Waypoint Planning

5.3.1.C++ file

Set specific location

Add waypoint

Waypoint planning