ROS kinetic详细安装步骤
时间: 2023-04-08 22:04:51 浏览: 242
我可以回答这个问题。首先,你需要在Ubuntu 16.04上安装ROS Kinetic。可以按照以下步骤进行安装:
1. 添加ROS源
```
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
```
2. 添加ROS key
```
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
```
3. 更新软件包
```
sudo apt-get update
```
4. 安装ROS Kinetic
```
sudo apt-get install ros-kinetic-desktop-full
```
5. 初始化rosdep
```
sudo rosdep init
rosdep update
```
6. 设置环境变量
```
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
```
7. 安装rosinstall
```
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
```
完成以上步骤后,ROS Kinetic就已经安装好了。
阅读全文