0x01 更新源
sudo apt-get update
0x02 安装功能包Moveit!
注:不同版本不同命令
- Ubuntu16.04
sudo apt-get install ros-kinetic-moveit
source /opt/ros/kinetic/setup.bash
sudo apt-get install ros-kinetic-moveit-resources
- Ubuntu18.04
sudo apt-get install ros-melodic-moveit
source /opt/ros/melodic/setup.bash
sudo apt-get install ros-melodic-moveit-resources
- Ubuntu20.04
sudo apt-get install ros-noetic-moveit
source /opt/ros/noetic/setup.bash
sudo apt-get install ros-noetic-moveit-resources
0x03 检查是否安装成功
先打开一个roscore
roscore
再运行moveit
roslaunch moveit_setup_assistant setup_assistant.launch
出现如下界面,即安装成功!