# Ros installation for Ubuntu 13.10 Saucy Salamander

## Preparation Remove any previous python-ros packages as:

  sudo aptitude remove python-rosdep python-rosdistro python-wstool python-rosinstall-generator python-rosinstall python-rospkg

Add the repository, with the name of your disto name:

  sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu saucy main" > /etc/apt/sources.list.d/ros-latest.list'

Reinstall python-ros install packages (as explained in the ros wiki):

  sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential

## Installation Follow http://wiki.ros.org/hydro/Installation/Source instructions:

  rosdep update

In the future workspace:

  rosinstall_generator desktop_full --rosdistro hydro --deps --wet-only --tar > hydro-desktop-full-wet.rosinstall
  
  rosdep install --from-paths src --ignore-src --rosdistro hydro -y -r

(added -r option to ignore gazebo 2 error)

  sudo ./src/catkin/bin/catkin_make_isolated --install --install_space /... (wherever you want exept /opt/ros/hydro)

This is the main idea, you will probably need to solve different issues, please see a list bellow.

## Issues

### encoding error with python If python returns an encoding error with builder.py, try https://github.com/ros/catkin/commit/16731b137514be478942277be254dc6312e1ef88

### gazebo missing I'm now having an error with gazebo → trying to install from http://gazebosim.org/ → it worked!

### error with Qt while compiling rviz

Rviz returns a segfault:

We tried:

* set qt4 by default (instead of qt5) → no significant change

* remove libshiboken-dev (seen somewhere, thx google)

romoving libshiboken-dev worked for us, maybe you can keep Qt5 by default…

### error with rqt_graph

I had a `NameError: global name 'dot_parser' is not defined` error. solved it installing python-pip and following http://stackoverflow.com/questions/15951748/pydot-and-graphviz-error-couldnt-import-dot-parser-loading-of-dot-files-will

  sudo pip uninstall pyparsing
  sudo pip install -Iv https://pypi.python.org/packages/source/p/pyparsing/pyparsing-1.5.7.tar.gz#md5=9be0fcdcc595199c646ab317c1d9a709
  sudo pip install pydot