User Tools


Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cs:getting_started:start [2019/10/20 12:46]
Christofer Freeberg [Getting Prerequisite Software]
cs:getting_started:start [2020/09/17 19:41]
Chris Nathman [Getting our Code]
Line 21: Line 21:
 ==== Install ROS ==== ==== Install ROS ====
 Deprecated: <​del>​[[cs:​getting_started:​indigo:​|ROS Indigo (for Ubuntu 14.04 trusty or Linux Mint 17)]]</​del>​ \\ Deprecated: <​del>​[[cs:​getting_started:​indigo:​|ROS Indigo (for Ubuntu 14.04 trusty or Linux Mint 17)]]</​del>​ \\
-[[cs:​getting_started:​kinetic:​|ROS Kinetic (for Ubuntu 16.04 xenial or Linux Mint 18)]] \\+Deprecated: <del>[[cs:​getting_started:​kinetic:​|ROS Kinetic (for Ubuntu 16.04 xenial or Linux Mint 18)]]</​del>​ \\ 
 +ROS2 Foxy (for Ubuntu 20.04 focal or Linux Mint 20) \\
  
 ==== Getting our Code ==== ==== Getting our Code ====
Line 37: Line 38:
 </​code>​ </​code>​
  
-Just hit enter through all of the prompts. Don't type in a password, the entire point of this is to eliminate the need to use a password with github! Now, copy the contents of ''​id_rsa.pub''​ and paste the contents in a new key [[git>​settings/​keys|here]]. To test if this worked, run:+Just hit enter through all of the prompts. Don't type in a password, the entire point of this is to eliminate the need to use a password with gitlab! Now, copy the contents of ''​id_rsa.pub''​ and paste the contents in a new key [[https://​gitlab.com/​profile/​keys|here]]. To test if this worked, run:
  
 <code bash> <code bash>
Line 44: Line 45:
  
 If everything is set up correctly, you should expect to see a message like: If everything is set up correctly, you should expect to see a message like:
-  PTY allocation request failed on channel ​1 +  PTY allocation request failed on channel ​0 
-  ​Hi user! You've successfully authenticated,​ but GitHub does not provide shell access. +  ​Welcome to GitLab, @user! 
-  Connection to github.com closed.+  Connection to gitlab.com closed.
  
 Finally, we need to setup our ROS workspace with the robosub code. Finally, we need to setup our ROS workspace with the robosub code.
   source ~/.bashrc   source ~/.bashrc
 +  sudo apt install python3-rosdep2 python3-colcon-common-extensions ros-foxy-gazebo-ros ros-foxy-gazebo-plugins
   mkdir -p ~/ros/src   mkdir -p ~/ros/src
   cd ~/ros/src   cd ~/ros/src
-  catkin_init_workspace 
   git clone https://​gitlab.com/​PalouseRobosub/​Software/​robosub.git   git clone https://​gitlab.com/​PalouseRobosub/​Software/​robosub.git
   git clone https://​gitlab.com/​PalouseRobosub/​Software/​robosub_simulator.git   git clone https://​gitlab.com/​PalouseRobosub/​Software/​robosub_simulator.git
   git clone https://​gitlab.com/​PalouseRobosub/​Software/​robosub_msgs.git   git clone https://​gitlab.com/​PalouseRobosub/​Software/​robosub_msgs.git
 +  cd robosub
 +  git checkout ros2
 +  cd ../​robosub_msgs
 +  git checkout ros2
 +  cd ../​robosub_simulator
 +  git checkout ros2
   cd ~/ros   cd ~/ros
-  ​catkin_make +  ​colcon build 
-  echo "​source ~/ros/devel/​setup.bash"​ >> ~/.bashrc+  echo "​source ~/ros/install/​setup.bash"​ >> ~/.bashrc
   source ~/.bashrc   source ~/.bashrc
- 
-After this initial run of ''​catkin_make'',​ you should be able to use ''​rsmake''​ to compile the software. 
  
 ===== Now What? ===== ===== Now What? =====
-If you were able to successfully compile the software at the end, congrats! Next steps are to learn how to use [[cs:​git:​start|git]],​ and take a look at the [[cs:​sw_workflow:​|software workflow]]. After this, head over to the [[git>PalouseRobosub/​robosub/​issues|github ​issues page]] and see if a task looks interesting!+If you were able to successfully compile the software at the end, congrats! Next steps are to learn how to use [[cs:​git:​start|git]],​ and take a look at the [[cs:​sw_workflow:​|software workflow]]. After this, head over to the [[https://​gitlab.com/​PalouseRobosub/Software/robosub/-/issues|gitlab ​issues page]] and see if a task looks interesting!