Skip to content

Installation [English]

Masaru Morita edited this page Feb 15, 2016 · 4 revisions

Installation

We use ROS. So, It's necessary both Ubuntu (Linux) machine and ROS.
And be careful, we use indigo version.

Procedure

  1. Install ROS on your Ubuntu machine. If you want to know more, go ROS Installation page.

  2. Create catkinized workspace.
    NOTE : Frome here <catkin_ws> means catkinized directory path that you like.

    mkdir -p <catkin_ws>/src
    cd <catkin_ws>/src
    catkin_init_workspace
    cd <catkin_ws>
    catkin_make
  3. Clone this Repository.

    cd <catkin_ws>/src
    git clone https://github.com/Nishida-Lab/forest_robot_project.git
  4. use wstool

    cd <catkin_ws>
    wstool init src src/forest_robot_project/dependencies.rosinstall
  5. use rosdep and get the packages we need

    rosdep install -i --from-paths src
  6. build and set the system environment path

    cd <catkin_ws>
    catkin_make
    source devel/setup.bash

About additional packages

If you want to add external pkg, you should use wstool.

  1. add snippets in forest_robot_project/dependencies.rosinstall

  2. cd your_catkin_ws

  3. wstool merge -t src src/forest_robot_project/dependencies.rosinstall

  4. wstool update -t src