Skip to content

roscore_setup

Salvo Virga edited this page Jun 6, 2019 · 14 revisions

ROS Machine side

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

  2. Setup the ROS IP :
    Open
    gedit ~/.bashrc &
    and append these two lines at the end
    export ROS_IP=xxx.xxx.xxx.xxx
    export ROS_MASTER_URI=http://$ROS_IP:11311
    Where xxx.xxx.xxx.xxx is the IP address of your ROS machine, which we previously set to be under the same subnet of your SUNRISE Cabinet (Setup Guide Point # 2).
    Then run
    source ~/.bashrc

  3. Clone this repository to your workspace (you can omit the first 3 commands if you already have one) :
    mkdir iiwa_stack_ws && cd iiwa_stack_ws && mkdir src
    catkin_init_workspace
    git clone https://github.com/IFL-CAMP/iiwa_stack.git src/iiwa_stack

  4. Download the dependences :
    rosdep install --from-paths src --ignore-src -r -y

  5. Build the workspace :
    catkin build

  6. Source the workspace :
    source devel/setup.bash

Clone this wiki locally