ubuntu16.04已經發布半年多了,ROS的Kinetic版本功能包也愈來愈豐富了,須要瞭解ROS發行版及支持維護的時間等,html
能夠參考以下網頁:http://wiki.ros.org/Distributionspython
+
git
ubuntu 16.04對中文支持很好,直接支持中文輸入,使用體驗不錯。github
安裝鏡像下載地址:http://www.ubuntu.com/download/desktopubuntu
下載後,使用U盤啓動安裝,安裝後設置更新源等,並配置經常使用的應用。ruby
鏡像選擇:
bash
參考的網址:http://wiki.ros.org/kineticapp
:http://wiki.ros.org/kinetic/Installation/Ubuntu學習
ROS Kinetic只支持Wily(15.10)和Xenial(16.04)對應內核分別爲4.2和4.4,使用下面命令:
~$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
~$ sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 0xB01FA116
Executing: /tmp/tmp.vZcRo5lOC8/gpg.1.sh --keyserver
hkp://ha.pool.sks-keyservers.net:80
--recv-key
0xB01FA116
~$ sudo apt-get update
~$ sudo apt-get install ros-kinetic-desktop-full
安裝功能包:
~$ sudo apt-get install ros-kinetic-PACKAGE
例如:
~$ sudo apt-get install ros-kinetic-slam-gmapping
查找在kinetic中可使用的功能包:
~$ apt-cache search ros-kinetic
~$ sudo rosdep init
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run
rosdep update
~$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml
Add distro "groovy"
Add distro "hydro"
Add distro "indigo"
Add distro "jade"
Add distro "kinetic"
updated cache in /home/relaybot/.ros/rosdep/sources.cache
~$ echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
~$ source ~/.bashrc
注意當安裝多個ROS發行版,使用kinetic須要用到下面命令:
~$ source /opt/ros/kinetic/setup.bash
~$ sudo apt-get install python-rosinstall
~$ roscore
有興趣也能夠測試一下小海歸的例子。
-End-