MoveIt Cartesian Path

Preface

We have built MoveIt environments on both Jetson_Nano and Orin series motherboards. Due to the onboard performance of Jetson_Nano, running the MoveIt program on the motherboard will be slow and slow to load. It takes about 3 minutes to complete the loading. Therefore, we recommend that users of Jetson motherboards run the MoveIt program on the configured virtual machine we provide. Orin motherboards can run MoveIt smoothly on the motherboard without running it on a virtual machine. Whether running on a virtual machine or on the motherboard, the startup instructions are the same. The following tutorials will take running on the Orin motherboard as an example.

1. Introduction

Cartesian coordinate system is a general term for rectangular coordinate system and oblique coordinate system. Cartesian path is actually the line connecting any two points in space

2. Functional Description

After the program runs, the robot arm will move according to the posture set by the program, and the running path will be displayed in rviz.

3. Start

First, start MoveIt. Enter the following command in the terminal to start it.

After MoveIt is successfully started, set up rviz and add the [MarkerArray] plug-in, as shown in the figure below.

image-20241025185857488

Enter /rviz_visual_tools in [Marker Topic]. The setting is now complete. Press [Ctrl s] to save the rviz file.

Start Cartesian path node

image-20241025193436811

4. Core code analysis

Code path:/home/jetson/dofbot_pro_ws/src/arm_moveit_demo/src/rosrun arm_moveit_demo 04_cartesian.cpp