MRC/Tutorials/Installing the MRC environment: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
Line 15: Line 15:
# 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>
# 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.

Revision as of 17:13, 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 team mates. We will use SVN for that, a tool that we will explain in detail in a minute. So, let's go:

  1. Create an emc directory in your home folder:
    mkdir ~/emc
  2. Navigate to this directory:
    cd ~/emc
  3. 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.