MRC/Tutorials/Installing the MRC environment: Difference between revisions
Line 11: | Line 11: | ||
= Set-up your workspace = | = Set-up your workspace = | ||
Of course, we not only want to ''use'' software during this course, but we want to create some! Let's create a workspace directory in which we will put this code. Also, note that you'll want to be able to ''share'' this code with your | Of course, we not only want to ''use'' software during this course, but we want to create some! Let's create a workspace directory in which we will put this code. Also, note that you'll want to be able to ''share'' this code with your teammates. We will use SVN for that, a tool that we will explain in detail in a minute. So, let's go: | ||
# Create an ''emc'' directory in your home folder:<pre>mkdir ~/emc</pre> | # Create an ''emc'' directory in your home folder:<pre>mkdir ~/emc</pre> | ||
# Navigate to this directory:<pre>cd ~/emc</pre> | # Navigate to this directory:<pre>cd ~/emc</pre> | ||
# Now ''check-out'' your group's folder from the SVN. This directory will be synced with your team mates. If your team mates beat you at doing this tutorial, there might already me some files and folders in there...:<pre>svn co https://roboticssrv.wtb.tue.nl/svn/emc/2015/groups/emc<YOUR_GROUP_NUMER> # i.e., emc01, emc02, etc</pre>Validate the certificate by pressing p (permanently). You will then be prompted for your username and password. Use the account credentials that were sent to your group. The term ''check-out'' is SVN-terminology for downloading. More information on SVN will be provided later. | # Now ''check-out'' your group's folder from the SVN. This directory will be synced with your team mates. If your team mates beat you at doing this tutorial, there might already me some files and folders in there...:<pre>svn co https://roboticssrv.wtb.tue.nl/svn/emc/2015/groups/emc<YOUR_GROUP_NUMER> # i.e., emc01, emc02, etc</pre>Validate the certificate by pressing p (permanently). You will then be prompted for your username and password. Use the account credentials that were sent to your group. The term ''check-out'' is SVN-terminology for downloading. More information on SVN will be provided later. | ||
Run the ''ls'' command; you will see the emc<YOUR_GROUP_NUMBER> is there. ''cd'' to it, and take a look inside. If you are the first, it will be empty. If some teammates already did this tutorial, there will be some folders and files inside. |
Revision as of 17:14, 28 April 2015
Install software
To get you up speed as soon as possible, we created a nice little installer script that will set-up your computer in no-time. It will download, install and compile all necessary software and if all goes well, you can start using our robot simulator within 30 minutes. Just do the following:
- Open a terminal (ctrl-alt-t)
- Download the install script:
wget https://raw.githubusercontent.com/tue-robotics/emc-env/master/install.bash
- And run it:
source install.bash
That's it! The installer may ask for confirmation a few times because it has to install some programs system wide. Just enter your password, and you'll be good to go!
Set-up your workspace
Of course, we not only want to use software during this course, but we want to create some! Let's create a workspace directory in which we will put this code. Also, note that you'll want to be able to share this code with your teammates. We will use SVN for that, a tool that we will explain in detail in a minute. So, let's go:
- Create an emc directory in your home folder:
mkdir ~/emc
- Navigate to this directory:
cd ~/emc
- Now check-out your group's folder from the SVN. This directory will be synced with your team mates. If your team mates beat you at doing this tutorial, there might already me some files and folders in there...:
svn co https://roboticssrv.wtb.tue.nl/svn/emc/2015/groups/emc<YOUR_GROUP_NUMER> # i.e., emc01, emc02, etc
Validate the certificate by pressing p (permanently). You will then be prompted for your username and password. Use the account credentials that were sent to your group. The term check-out is SVN-terminology for downloading. More information on SVN will be provided later.
Run the ls command; you will see the emc<YOUR_GROUP_NUMBER> is there. cd to it, and take a look inside. If you are the first, it will be empty. If some teammates already did this tutorial, there will be some folders and files inside.