TurtleBot2:Installation(Kinetic)

From RobotForAll
Jump to: navigation, search

Reference: http://wiki.ros.org/turtlebot/Tutorials/indigo/Turtlebot%20Installation

Source Installation

This is for people who'd like to hack on the turtlebot sources and contribute. For more information, please ask us for more information at <ros-sig-turtlebot AT googlegroups DOT com>.

Preparation

> sudo apt-get install python-rosdep python-wstool ros-kinetic-ros
> sudo rosdep init
> rosdep update

Workspaces

We are using chained workspaces here, but you could just as simply merge them into one.

> mkdir ~/rocon
> cd ~/rocon
> wstool init -j5 src https://raw.github.com/robotics-in-concert/rocon/release/kinetic/rocon.rosinstall
> source /opt/ros/kinetic/setup.bash
> rosdep install --from-paths src -i -y
> catkin_make
> mkdir ~/kobuki
> cd ~/kobuki
> wstool init src -j5 https://raw.github.com/yujinrobot/yujin_tools/kinetic-devel/rosinstalls/kinetic/kobuki.rosinstall
> source ~/rocon/devel/setup.bash
> rosdep install --from-paths src -i -y
> catkin_make
> mkdir ~/turtlebot
> cd ~/turtlebot
> wstool init src -j5 https://raw.github.com/yujinrobot/yujin_tools/kinetic-devel/rosinstalls/kinetic/turtlebot.rosinstall
> source ~/kobuki/devel/setup.bash
> rosdep install --from-paths src -i -y
> catkin_make