Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
installation:environment [2013/12/12 15:17] gkazhoyainstallation:environment [2013/12/17 13:40] (current) gkazhoya
Line 9: Line 9:
 == Catkin Part == == Catkin Part ==
  
-''source /opt/ros/hydro/setup.bash'' +<code bash> 
- +source /opt/ros/hydro/setup.bash 
-''cd ~/workspace''+cd ~/workspace 
 +</code>
  
 or ''cd ~/work'' or ''mkdir ~/workspace && cd ~/workspace'', whatever. or ''cd ~/work'' or ''mkdir ~/workspace && cd ~/workspace'', whatever.
  
-''mkdir -p catkin/src'' +<code bash> 
- +mkdir -p catkin/src 
-''cd catkin'' +cd catkin 
- +catkin_make 
-''catkin_make''+</code>
  
 You might want to call ''catkin_init_workspace'' from ''src'' before ''catkin_make'', but this is actually not needed, as ''catkin_make'' does that for you as well. You might want to call ''catkin_init_workspace'' from ''src'' before ''catkin_make'', but this is actually not needed, as ''catkin_make'' does that for you as well.
Line 25: Line 26:
 == Rosbuild part == == Rosbuild part ==
  
-''source devel/setup.bash'' +<code bash> 
- +source devel/setup.bash 
-''mkdir ~/workspace/rosbuild'' +mkdir ~/workspace/rosbuild 
- +cd ~/workspace/rosbuild 
-''cd ~/workspace/rosbuild'' +rosws init . ../catkin/devel 
- +</code>
-''rosws init . ../catkin/devel''+
  
 Make sure you use ''rosws'' here instead of ''wstool''. Make sure you use ''rosws'' here instead of ''wstool''.
  
-<code>echo -e "\n# ROS\nsource \$HOME/workspace/rosbuild/setup.bash\n" >> ~/.bashrc</code>+<code bash>echo -e "\n# ROS\nsource \$HOME/workspace/rosbuild/setup.bash\n" >> ~/.bashrc</code>
  
 The quotation marks and the 2 'bigger' signs in ''echo'' might not work if you copy paste. Do ''cat ~/.bashrc'' to check if it worked. The quotation marks and the 2 'bigger' signs in ''echo'' might not work if you copy paste. Do ''cat ~/.bashrc'' to check if it worked.
  
-''source ~/.bashrc''+<code bash>source ~/.bashrc</code>