ros:install
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| ros:install [2013/12/08 09:15] – created redox | ros:install [2013/12/22 00:12] (current) – removed redox | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | #Installing ROS | ||
| - | __from source (' | ||
| - | |||
| - | 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 | ||
| - | |||
| - | 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: | ||
| - | |||
| - | |||
| - | ---- | ||
| - | ## Dependencies | ||
| - | !!!!! 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 ''' | ||
| - | |||
| - | !!!!! Collada-dom | ||
| - | {{tar -xzf collada-dom-2.4.0.tgz | ||
| - | cd collada-dom-2.4.0 | ||
| - | cmake . | ||
| - | make | ||
| - | sudo checkinstall make install | ||
| - | cd ../ | ||
| - | }} | ||
| - | Rename to ''' | ||
| - | |||
| - | !!!! Install Player (Gazebo dep) | ||
| - | Download: http:// | ||
| - | Implement this fix: http:// | ||
| - | |||
| - | {{This may be related to the API change in zlib from 1.2.5 to 1.2.6, | ||
| - | which is now installed on my system. According to another archlinux | ||
| - | user, there has been a change in zlib.h in 1.2.6: | ||
| - | |||
| - | - | ||
| - | + typedef struct gzFile_s *gzFile; | ||
| - | |||
| - | Fix: | ||
| - | 668c668 | ||
| - | < ret = gzseek(this-> | ||
| - | --- | ||
| - | > ret = gzseek((gzFile)this-> | ||
| - | 714c714 | ||
| - | < ret = (gzgets(this-> | ||
| - | --- | ||
| - | > ret = (gzgets((gzFile)this-> | ||
| - | |||
| - | }} | ||
| - | This is in file: ./ | ||
| - | {{ | ||
| - | tar -xzf player-3.0.2.tar.gz | ||
| - | #fix players libz bug | ||
| - | cd player-3.0.2/ | ||
| - | cmake . | ||
| - | make | ||
| - | sudo checkinstall make install | ||
| - | cd ../ | ||
| - | }} | ||
| - | |||
| - | !!!! Install sdformat (Gazebo dep) | ||
| - | {{hg clone https:// | ||
| - | cd sdformat | ||
| - | cmake . | ||
| - | make | ||
| - | sudo checkinstall make install | ||
| - | cd .. | ||
| - | }} | ||
| - | |||
| - | !!!! Install Gazebo | ||
| - | Need: | ||
| - | {{sudo apt-get install libtinyxml-dev libtbb-dev libxml2-dev libqt4-dev pkg-config | ||
| - | Go! | ||
| - | {{hg clone https:// | ||
| - | cd gazebo | ||
| - | hg up gazebo_1.9 | ||
| - | cmake . | ||
| - | make | ||
| - | sudo checkinstall make install | ||
| - | cd .. | ||
| - | }} | ||
| - | ---- | ||
| - | |||
| - | !!! Build ROS | ||
| - | |||
| - | Finally run the build and install command. To install somewhere other than your home directory use the --install-space option. | ||
| - | {{./ | ||
| - | echo " | ||
| - | }} | ||
| - | ---- | ||
| - | |||
| - | On Arch: | ||
| - | add to bashrc: {{source / | ||
| - | after install rqt_graph, run rqt --force-discover | ||
/home/share/www/redox.ws/wiki/data/attic/ros/install.1386494141.txt.gz · Last modified: 2023/11/24 21:55 (external edit)