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

From Control Systems Technology Group
Jump to navigation Jump to search
 
(5 intermediate revisions by 3 users not shown)
Line 5: Line 5:
* Open a terminal (''ctrl-alt-t'')
* Open a terminal (''ctrl-alt-t'')
* Download the install script:<pre>wget https://raw.githubusercontent.com/tue-robotics/emc-env/master/install.bash</pre>
* Download the install script:<pre>wget https://raw.githubusercontent.com/tue-robotics/emc-env/master/install.bash</pre>
* And run it:<pre>source install.bash</pre>
* And run it ('''Remark: This last step may not work when booting Ubuntu from an USB. Dual booting is thus recommended'''):<pre>source install.bash</pre>
 


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!
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 =
Head to [[ Embedded Motion Control/Tutorials/Setting up your project | the next tutorial ]] to 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:<pre>mkdir ~/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.
 
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.

Latest revision as of 11:28, 27 March 2020

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 (Remark: This last step may not work when booting Ubuntu from an USB. Dual booting is thus recommended):
    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!

Head to the next tutorial to set-up your workspace.