7.2.11. MoveIt 2
220.127.116.11. Learning Objectives
This tutorial is supplementary to the Tutorials provided on the MoveIt Humble website.
18.104.22.168. Getting Started
Make sure to source your ROS 2 installation from the terminal before running Isaac Sim. If sourcing ROS 2 is a part of your
bashrc then Isaac Sim can be run directly.
Complete ROS & ROS 2 Installation.
FASTRTPS_DEFAULT_PROFILES_FILEenvironment variable per instructions in ROS & ROS 2 Installation before launching Isaac Sim, as well as any terminal where ROS messages will be sent or received, and ROS2 Extension is enabled.
22.214.171.124. Running MoveIt 2 Tutorial in Docker
Follow the instructions on the MoveIt Humble website to clone the repo, build the docker, and launch both Isaac Sim and Moveit via Python scripts.
Once Rviz is launched, you can start playing with the planner. Under
Planning Group, the
handoption should be selected. Under
Goal State, select
Plan. The planned movement of the hand will now be visualized.
Execute. The hand will start moving as planned earlier.
To plan the movement for the arm, under
Planning Group, select
panda_arm. Use the displayed arrows and rotation disks to set a goal position for the robot. Alternatively you can choose to select
Commands, click on
Executeto visualize the planned motion of the arm and then move it!
If your Rviz window is showing a black screen for where the robot should be, you may need to update your mesa driver. Add the following commands to
moveit2_tutorials/doc/how_to_guides/isaac_panda/.docker/Dockerfile after line 17.
# update mesa driver
RUN apt update && apt install -y software-properties-common && add-apt-repository ppa:kisak/kisak-mesa && apt install -y mesa-utils
RUN apt -y upgrade
Tips for running MoveIt2’s Isaac Sim tutorial.
126.96.36.199.1. Next Steps
Continue on to the next tutorial in our ROS2 Tutorials series, ROS2 Bridge in Standalone Workflow to learn how to run the ROS2 Bridge in the standalone workflow.
188.8.131.52.2. Further Learning
Learn more about MoveIt 2.