1 of 6

An Introduction to Python�as part of the CPS lecture 190.001

Telefon: +43 3842 402 - 1901 �Email: cps@unileoben.ac.at

Univ.-Prof. Dr. Elmar Rueckert�

WO AUS FORSCHUNG ZUKUNFT WIRD

Chair of Cyber-Physical-Systems

MONTANUNIVERSITÄT LEOBEN

CYBER-PHYSICAL-SYSTEMS

2 of 6

What is Python?

2

  • Python is a general purpose programming language.
  • Python was invented by Guido van Rossum starting in 1989 as an easy-to-use open-source language.
  • Python supports object-oriented concepts and since 2000 it uses a Garbage-Collector for the memory management.
  • Python uses the feature Indentation to structure the code:

MONTANUNIVERSITÄT LEOBEN

CYBER-PHYSICAL-SYSTEMS

3 of 6

Why Python?

3

  • Easy-to-use and open-source.
  • Many tutorial and online resources, e.g., https://pythonbasics.org/.
  • Python is the most popular programming language, see the statistics from 2019-2020 on the right.
  • We use Python together with the Robot-Operating-System (ROS) to re-use algorithms with different sensors, actuators or robots.

MONTANUNIVERSITÄT LEOBEN

CYBER-PHYSICAL-SYSTEMS

4 of 6

Enough Theory, let’s programm in Python

4

MONTANUNIVERSITÄT LEOBEN

CYBER-PHYSICAL-SYSTEMS

5 of 6

Schedule and Report Submission Dates

5

  • Programming Robot Control Strategies in Python via JetBrains’ CodeWithME. Next time take your laptop along (at least per Team 1-2 laptops).
  • First out of five lectures on Kinematics, Dynamics & Simulations.
  • Weekly virtual discussion hours to ask questions.
  • Two virtual discussion meetings of the reports.
  • 17.12.2021 23:59 CET Report 1 on Inverse Kinematics
  • 04.02.2022 23:59 CET Report 2 on Reinforcement Learning

MONTANUNIVERSITÄT LEOBEN

CYBER-PHYSICAL-SYSTEMS

6 of 6

Thank you for your attention!

Univ.-Prof. Dr. Elmar Rückert

Chair of Cyber-Physical-Systems

Montanuniversität Leoben

Franz-Josef-Straße 18,

8700 Leoben, Austria

Phone: +43 3842 402 – 1901 (Sekretariat CPS)

Email: cps@unileoben.ac.at

Web: https://cps.unileoben.ac.at

6

Disclaimer: The lecture notes posted on this website are for personal use only. The material is intended for educational purposes only. Reproduction of the material for any purposes other than what is intended is prohibited. The content is to be used for educational and non-commercial purposes only and is not to be changed, altered, or used for any commercial endeavor without the express written permission of Professor Rueckert.

MONTANUNIVERSITÄT LEOBEN

CYBER-PHYSICAL-SYSTEMS