Changes between Version 21 and Version 22 of FawkesOnFedora


Ignore:
Timestamp:
01/16/17 16:06:38 (4 years ago)
Author:
tneumann
Comment:

Add description for kinetic

Legend:

Unmodified
Added
Removed
Modified
  • FawkesOnFedora

    v21 v22  
    2121}}} 
    2222 
    23 == Installing ROS (Indigo) == 
    24 You can find the official guide [http://wiki.ros.org/indigo/Installation/Source here]. This assumes installation in {{{/opt/ros}}} (which should belong to a user other than root). We leave out rosdep since it is not well maintained and fawkes-devenv will take care of everything we need. The instructions are for ROS Indigo, replacing the name with others should also work (it does for indigo, hydro requires a patch if used with system Gazebo). 
     23== Installing ROS == 
     24You can find the official guide [http://wiki.ros.org/kinetic/Installation/Source here]. This assumes installation in {{{/opt/ros}}} (which should belong to a user other than root). We leave out rosdep since it is not well maintained and fawkes-devenv will take care of everything we need. The instructions are for ROS Indigo and Kinetic, replacing the name with others should also work (it does for indigo, hydro requires a patch if used with system Gazebo). 
    2525 
     26=== Kinetic (tested for Fedora 25) === 
     27Install the following dependencies (in addition to the Fawkes dependencies). 
     28{{{ 
     29sudo dnf install python-rosdep python-rosinstall_generator python-wstool python-rosinstall @buildsys-build python-qt5-devel python-defusedxml 
     30}}} 
     31 
     32Make qmake visible for the system by executing the following as admin 
     33{{{ 
     34echo "export PATH=$PATH:/usr/lib64/qt5/bin/" > /etc/profile.d/custom.sh 
     35}}} 
     36 
     37First create a working directory. The chosen format allows for well separable parallel installations of multiple versions.  
     38{{{ 
     39mkdir -p /opt/ros/catkin_ws_kinetic 
     40cd /opt/ros/catkin_ws_kinetic 
     41}}} 
     42 
     43Then download and build the packages. This will take some time and requires decent bandwidth.  
     44{{{ 
     45rosinstall_generator desktop --rosdistro kinetic --deps --wet-only --tar > kinetic-desktop-wet.rosinstall 
     46wstool init -j8 src kinetic-desktop-wet.rosinstall 
     47 
     48rosinstall_generator navigation --rosdistro kinetic --deps --wet-only --tar > kinetic-navigation.rosinstall 
     49rosinstall_generator ar_track_alvar --rosdistro kinetic --deps --wet-only --tar > kinetic-ar_track_alvar.rosinstall 
     50wstool merge -t src kinetic-navigation.rosinstall 
     51wstool merge -t src kinetic-ar_track_alvar.rosinstall 
     52wstool update -t src 
     53}}} 
     54 
     55Next, build the whole workspace (you may also build with !RelWithDebInfo if you want to be able to step into ROS code for debugging).  
     56{{{ 
     57./src/catkin/bin/catkin_make_isolated --install --install-space=/opt/ros/kinetic -DCMAKE_BUILD_TYPE=Release 
     58}}} 
     59 
     60Add the setup.bash to your .bashrc  
     61{{{ 
     62echo 'source /opt/ros/kinetic/setup.bash' >> ~/.bashrc 
     63source ~/.bashrc  
     64}}} 
     65 
     66=== Indigo (Tested for Fedora 23, 24 and 25) === 
    2667If you use Fedora 25, do not install ar_track_alvar. It requires OpenCV 2.4 and is not currently compatible with OpenCV 3.1 that comes with Fedora 25. 
    2768