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:
Install ROS and run sudo rosdep init and rosdep update as mentionned in the installation wiki
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
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
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
Open a terminal and check if everything is correctly set. Therefore, open a terminal and type:
If successful, the following line will be printed after some other information about your configuration:
* Your environment is correctly setup to run MORSE.
Done. You can start having fun with MORSE and ROS! Check the ROS + MORSE tutorial, for instance.