ROS Installation NotesΒΆ

These ROS installation notes are only useful if the default installation does not work for you (for instance, you are running on an older version of Ubuntu or Debian).

If the packages python3-catkin-tools and python3-yaml are available for your distribution, install them, and you should be done. Head to the ROS + MORSE tutorial.

Otherwise, follow these steps to install them manually:

  1. Install ROS and run sudo rosdep init and rosdep update as mentionned in the installation wiki

  2. Install Python 3 using your system package manager (available in Ubuntu >= 11.04) or manually from the sources, and make sure your $PYTHONPATH variable includes the Python 3 libraries:

    sudo apt-get install python3-dev
    
  3. Install PyYAML with Python 3 support:

    sudo apt-get install python3-yaml
    

    or get it via pip the sources from http://pyyaml.org and build it using python3:

    sudo pip3 install pyyaml
    
  4. Install catkin for Python 3 support:

    git clone git://github.com/ros-infrastructure/catkin_pkg.git
    cd catkin_pkg
    sudo python3 setup.py install
    
    git clone git://github.com/ros/catkin.git
    cd catkin
    sudo python3 setup.py install
    
  5. Open a terminal and check if everything is correctly set. Therefore, open a terminal and type:

    morse check

    If successful, the following line will be printed after some other information about your configuration:

    * Your environment is correctly setup to run MORSE.

  6. Done. You can start having fun with MORSE and ROS! Check the ROS + MORSE tutorial, for instance.

This Page