dev:ros:install_deb
Differences
This shows you the differences between two versions of the page.
— | dev:ros:install_deb [2023/11/24 21:55] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | #Installing ROS | ||
+ | |||
+ | Extracted from the official Wiki: http:// | ||
+ | |||
+ | Need some extra repositories | ||
+ | deb http:// | ||
+ | deb-src http:// | ||
+ | deb http:// | ||
+ | wget http:// | ||
+ | sudo apt-get update | ||
+ | |||
+ | Deps: | ||
+ | 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 | ||
+ | sudo apt-get install libtinyxml-dev libtbb-dev libxml2-dev libqt4-dev pkg-config | ||
+ | |||
+ | 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: | ||
+ | |||
+ | |||
+ | ## | ||
+ | |||
+ | ###Deb packages | ||
+ | I have built theses packages for Debian Wheezy x86\_64, and since it takes quite __a lot__ of time, [[http:// | ||
+ | |||
+ | ###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 https:// | ||
+ | cd pcl | ||
+ | cmake . | ||
+ | make | ||
+ | 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 . | ||
+ | make | ||
+ | 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. | ||
+ | ./ | ||
+ | echo " | ||
+ | |||
+ | ## Troubleshooting | ||
+ | Make sure you source the ROS environment file in your __.bashrc__: | ||
+ | |||
+ | After installing rqt\_graph or any other rqt\_plugin, | ||