Lecture notes, interactive presentations, and Python examples for two subjects taught at ITMO University for Robotics and Artificial Intelligence students.
SRS 2026 / Моделирование робототехнических систем: course catalog · lecture materials. All six lectures have Russian and English notes and slides.
Instructor: Ivan Borisov, PhD, borisovii@itmo.ru
Assistant: Egor Rakshin, PhD, earakshin@itmo.ru
The design process is often not formalized and mostly relies on the designer’s imagination, engineering intuition, and experience. Within this subject we utilize computational design paradigm, that treats the design process as an optimization task, to optimize mechanics and control for robotic and mechatronic systems. Computational Design consists of two tasks: the user-driven the forward exploration to compute performance and behavior of a system with a given set of parameters and the optimization-driven inverse task to determine values that lead to a desired motion or behavior. The module discuss how computational design approach can be used for engineering purposes.
- Lecture notes
- Book: Hurbans, Rishal. "Artificial Intelligence Algorithms." Hurbans Rishal–Shelter Island, NY 11964 (2021) Link.
- Video course: Introduction to Computational Thinking
- Video course: Introduction to Computational Thinking and Data Science
- Papers: Computational Robotics Lab
- Papers: Disney Research
Modern robotic and mechatronic systems are complex in terms of all domains: mechanics, sensors, actuation, control, etc. To study the behavior and performance of an existing robotic system or a proposed one, we use models to focus on the essential features while keeping a reasonable tradeoff between realism and simplicity. The act of building a model is called modeling, while the process of using a model to study the behavior and performance of an actual or theoretical system is called simulation.
The 2026 course develops models from a vertical mass–spring–damper system to planar 2R and spatial 3R robots. Topics include analytical and numerical dynamics, bond graphs, feedback linearization, impedance/admittance control, SO(3)/SE(3), twists, wrenches, and Newton–Euler dynamics. Python examples use NumPy, Matplotlib, and the official MuJoCo bindings.
After completing the six lectures, students can:
- Choose modelling assumptions and distinguish model creation, simulation, verification, and validation.
- Derive equations of motion and compare forward Euler, backward Euler, and RK4 with an exact solution.
- Formulate forward/inverse kinematics and dynamics, and model energy exchange using bond graphs.
- Implement and compare computed-torque, impedance, and admittance controllers.
- Work with coordinate transformations, twists, wrenches, Jacobians, and spatial inertia.
- Check models and controllers using independent analytical calculations and MuJoCo experiments.
Open the HTML course catalog. Each lecture includes notes, interactive slides, and examples for a 90-minute class. HTML notes include an outline and Print/PDF controls; the slides include interactive plots and animations. A browser is sufficient for reading them; Python is needed only to run the examples.
| Lecture | Notes RU / EN | Slides RU / EN | Python examples |
|---|---|---|---|
| 1. Modelling and simulation | RU / EN | RU / EN | Mass–spring–damper |
| 2. Dynamics of a planar 2R robot | RU / EN | RU / EN | 2R tracking |
| 3. Bond graphs | RU / EN | RU / EN | Energy-based models |
| 4. Control of a 2R robot | RU / EN | RU / EN | Control experiments |
| 5. Spatial kinematics | RU / EN | RU / EN | Geometry and 3R |
| 6. Spatial dynamics | RU / EN | RU / EN | Rigid-body and 3R dynamics |
Original PDF lectures and earlier practical materials remain in SRS. Some older examples use Pinocchio, Meshcat, or URDF tools; these are not dependencies of the six SRS_2026 lectures and are not included in the base environment.
- Lecture presentations
- "Modern Robotics: Mechanics, Planning, and Control," Kevin M. Lynch and Frank C. Park, Cambridge University Press, 2017
- R. M. Murray, Z. Li, S. S. Sastry, and S. S. Sastry, A mathematical introduction to robotic manipulation. CRC press, 1994.
- Featherstone, Roy. Rigid body dynamics algorithms. Springer, 2014.
Install Conda or Miniforge, then run these commands from the repository root. The environment filename is enviroment.yml.
conda env create -f enviroment.yml
conda activate simrobsTo update an existing environment:
conda env update -n simrobs -f enviroment.yml
conda activate simrobsThe environment contains Python 3.13, NumPy 2.x, Matplotlib, JupyterLab, ipykernel, and MuJoCo. It covers all six SRS_2026 lectures. MuJoCo's built-in mujoco.viewer is used for interactive windows; the separate mujoco-python-viewer package is not needed. Per-example requirements.txt files describe smaller installations if Conda is not used.
Check the main imports:
python -c "import numpy, matplotlib, mujoco; print('NumPy:', numpy.__version__, 'Matplotlib:', matplotlib.__version__, 'MuJoCo:', mujoco.__version__)"Run the following from the repository root with simrobs active. Full options, exercises, units, and expected results are in each example's README linked above.
# Lecture 1: compare three ODE integrators and save plots.
python SRS_2026/lecture_1_modelling_n_simulation/mass_spring_damper/experiments.py --scenario all --plot
# Lecture 2: compare PD and gravity-compensated PD in MuJoCo.
python SRS_2026/lecture_2_2R_robot/two_link_robot/simulate.py --controller compare
# Lecture 3: mechanical, electrical, and electromechanical bond-graph models.
python SRS_2026/lecture_3_bond_graphs/examples/simulate.py --model all --plot
# Lecture 4: computed torque, impedance, and admittance control.
python SRS_2026/lecture_4_control/control_2r/simulate.py
# Lecture 5: spatial geometry and MuJoCo kinematics checks.
python SRS_2026/lecture_5_spatial_kinematics/spatial_kinematics/examples.py
python SRS_2026/lecture_5_spatial_kinematics/spatial_kinematics/mujoco_kinematics.py
# Lecture 6: spatial inertia, rigid-body dynamics, and 3R experiments.
python SRS_2026/lecture_6_spatial_dynamics/spatial_dynamics/inspect_model.py
python SRS_2026/lecture_6_spatial_dynamics/spatial_dynamics/simulate.pySimulation commands above run without opening viewer windows. Add the viewer options documented in the example READMEs to inspect the robots interactively; a graphical desktop is required. On macOS, launch scripts using mujoco.viewer with mjpython as described in the MuJoCo examples. Outputs are written to each example's results/ directory unless an output path is supplied.
For notebooks, run jupyter lab and select the simrobs kernel. If it is not listed, register it:
python -m ipykernel install --user --name simrobs --display-name "Python (simrobs)"