User Tools

Site Tools


#Installing ROS

Extracted from the official Wiki:

Need some extra repositories

  deb wheezy main
  deb-src unstable main contrib non-free
  deb wheezy-backports main
  wget -O - | sudo apt-key add -
  sudo apt-get update


  sudo apt-get install python-rosdep python-rosinstall-generator python-wstool build-essential checkinstall python-kitchen libflann-dev libxml2-dev python-nose python-empy libpoco-dev libgtest-dev python-sip-dev python-qt4-dev libbz2-dev  libfltk1.3-dev  libxft-dev libfontconfig1-dev libxinerama-dev
  sudo apt-get install libtinyxml-dev libtbb-dev libxml2-dev libqt4-dev pkg-config  libprotoc-dev libfreeimage-dev libprotobuf-dev protobuf-compiler libboost-all-dev freeglut3-dev libogre-dev libtar-dev libcurl4-openssl-dev libcegui-mk2-dev libopenal-dev

Let's go

  sudo rosdep init
  rosdep update
  mkdir ros 
  cd ros
  rosinstall_generator desktop_full --rosdistro hydro --deps --wet-only > hydro-desktop-full-wet.rosinstall
  wstool init -j8 src hydro-desktop-full-wet.rosinstall
  rosdep install --from-paths src --ignore-src --rosdistro hydro -y -r --os=debian:wheezy


###Deb packages I have built theses packages for Debian Wheezy x86\_64, and since it takes quite a lot of time, Here they are. I'm not sure I will be maintaining them over time, but for now, feel free to use them =)

###From source #### Bullet

cd src
mkdir bullet
cd bullet
sudo apt-get build-dep libbullet-dev
sudo apt-get -b source libbullet-dev
sudo dpkg -i *.deb
cd ../

#### Pointcloud

  git clone
  cd pcl
  cmake .
  sudo checkinstall make install
  cd ../

Rename to libpcl-all-dev in the checkinstall step

#### Collada-dom Download collada-dom from its website, my version was 2.4.0, adapt the following to yours.

  tar -xzf collada-dom-2.4.0.tgz
  cd collada-dom-2.4.0
  cmake .
  sudo checkinstall make install

## Build ROS

Finally run the build and install command. To install somewhere other than your home directory use the –install-space option.

  ./src/catkin/bin/catkin_make_isolated --install --install-space /opt/ros/hydro
  echo "source /opt/ros/hydro/setup.bash" >> ~/.bashrc

## Troubleshooting Make sure you source the ROS environment file in your .bashrc: `source /opt/ros/groovy/setup.bash`

After installing rqt\_graph or any other rqt\_plugin, run `rqt –force-discover`

/home/share/www/ · Last modified: 2023/11/24 21:55 by