Welcome 🤗! In the next ~4h we will cover:

A collaborative robot UR16e from Universal Robots. Source Auledas / Wikimedia Commons CC BY-SA 4.0
Before we begin with the class:
Activate notifications for Discussions, if you did not do it yet.
Answer the poll in 📊 Live poll: How much time did you spent for homework and preparation?
Intro i RobotLabben ved Morten¶
Introduktion til laboratoriet, og kort quiz om labbet => adgangsgivende
Introduktion til UR robotter og sikkerhed
Test i brug af robotter.
Test¶
(20 min)
E: Group name and picture¶
Coding environment continued¶
Submission from the editor¶
Find an assignment you have already accepted and which is not locked, or accept a new one, e.g., the next homework. Open its repository on GitHub.
Copy the address of your repository:

Open a terminal in your editor. In the terminal, change your directory to your
codefolder. For example:cd Desktop/uni/26WS/indprog/codeGet a copy of your repository on your computer using the address you copied before. This copy is also called clone:
git clone REPOSITORY_ADDRESSFor example:
git clone https://github.com/indprog/indprog-global-venture-calculator-geko-st
Open the folder you have cloned.
Make your changes in the files. For experimenting, change a file in
srcfolder.After modification you will see that the Source Control icon in the left panel has a number of changes[1].

Click the Source Control icon .
(optional)You will see a list of all the files that have been modified. Check carefully, whether you have modified the correct files:

(optional)You can also get an overview of your changes by clicking on the file name:

Write a short message that summarizes your changes, for example:

Click Commit & Push to send your changes to your repository on the cloud.

This will be also automatically a submission like you have done using the GitHub website.
You can check whether you have submitted or not by visiting your cloud repository or .
Downloading the notebooks from ThinkPython¶
In the next step we will run notebooks, so download them first.
Clone it like we have done in Submission from the editor into your
codefolder.Alternatively you can download the notebooks as a ZIP file.
Click Code -> Download ZIP.
You can also this tutorial.
Then Unzip the downloaded file and move the files in your
codefolder.
The used notebook files are in chapters folder.
Running notebooks in your editor¶
Install Jupyter plugin for your editor:
codium --install-extension ms-toolsai.jupyterIn your editor, open the folder with the notebooks and find the notebook folder in the Explorer:

Click the notebook you want to open.
On the cell you want to run, click to run the cell. You can also use the keyboard shortcut CtrlEnter. If the cell prints an output, then you will see an output as follows[2].

(On Windows) You will be prompted whether you want to give your editor network access. Click Allow
You will be asked to install
ipykernelpackage. Click Install.
It will take some time to install.
After running you get the output below the cell:

E: Reflection¶

You also see a M in the file name in the Explorer, which indicates that the file has been modified. And a colorful circle octicon:circle-16 on the right of the folder, which has changes compared to the last commit.
In the particular case (ThinkPython notebook), you won’t see an output if you run the notebook for the second time, because the script checks whether the file is downloaded and does not download it again, if the file exists.