Skip to content

roscore_setup

Salvo Virga edited this page Nov 11, 2015 · 14 revisions

Roscore side

  1. Install ROS INDIGO (if not already there) as described at http://wiki.ros.org/indigo/Installation/Ubuntu. (till section 1.7)
    It's also a good idea to install the python catkin tools
    sudo apt-get install python-catkin-tools

  2. Clone this repository to your workspace :
    mkdir my_ws
    mkdir my_ws/src
    git clone https://campgit.in.tum.de/ros/iiwa_stack.git my_ws/src/

  3. Download dependences :
    cd my_ws
    rosdep install --from-paths src --ignore-src -r -y

  4. Build the workspace :
    catkin build

  5. Source workspace :
    source devel/setup.bash

  6. Setup network :
    Open
    gedit ~/.bashrc &
    and append these two lines at the end
    export ROS_MASTER_URI=http://xxx.xxx.xxx.xxx:11311
    export ROS_IP=xxx.xxx.xxx.xxx
    Configure the network interface you want to use to connect to the IIWA Cabinet with the same ip xxx.xxx.xxx.xxx

Everything should work now!

Clone this wiki locally