Wiki source code of Project Documentation
Version 26.1 by stu120505 on 2023/07/06 14:48
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
20.1 | 1 | The described system is an autopilot for the pinball machine "Mary Shelley's Frankenstein". |
| 2 | A Raspberry Pi with attached camera is mounted above the pinball machine and the computer is connected to the triggers of the pinball machine to allow for their actuation. | ||
| |
19.1 | 3 | |
| |
24.1 | 4 | The different parts of the system interact in the following way. From the live camera footage a ball position is extracted in a series of image processing steps (see [[doc:PP18.Pinball Project - Winter Term 201920.Project Documentation.Image ProcessingBall Detection.WebHome]]). |
| |
26.1 | 5 | This pixel position is then transformed into a [[doc:PP18.Pinball Project - Winter Term 201920.Project Documentation.World Coordinate System.WebHome]] for further processing and passed to the [[doc:PP18.Pinball Project - Winter Term 201920.Project Documentation.SCChart Controller.WebHome]], which is the main logic component of the system. |
| |
25.1 | 6 | To allow for timely reactions the [[doc:PP18.Pinball Project - Winter Term 201920.Project Documentation.SCChart Controller.WebHome]] calls the [[doc:PP18.Pinball Project - Winter Term 201920.Project Documentation.Ball Physics.WebHome]], which performs a ball trajectory prediction. |
| |
23.1 | 7 | \\For a quick overview on how to build and run the system see [[doc:PP18.Pinball Project - Winter Term 201920.Project Documentation.Dependencies and Compilation.WebHome]]. |
| |
19.1 | 8 | |
| |
14.1 | 9 | == Overview == |
| |
3.1 | 10 | |
| |
14.1 | 11 | |
| 12 | |||
| 13 | {{children all="true" depth="2"/}} | ||
| 14 | |||
| |
16.1 | 15 | == Gameplay Footage == |
| |
3.1 | 16 | |
| |
17.1 | 17 | [[https:~~/~~/mega.nz/#!EF4TlZgB!3PzVmVmV3gVvEKSXyu5i_ZB1tX02m4dEaIi26us9kVk>>url:https://mega.nz/#!EF4TlZgB!3PzVmVmV3gVvEKSXyu5i_ZB1tX02m4dEaIi26us9kVk||shape="rect"]] |
| |
3.1 | 18 | |
| |
4.1 | 19 | == Hardware == |
| 20 | |||
| |
18.1 | 21 | * Sega Pinballmachine: Mary Shelley's Frankenstein |
| |
21.3 | 22 | * Raspberry Pi 3 B+((( |
| |
4.1 | 23 | * 4 CPU-Core |
| 24 | * 1 GB RAM | ||
| 25 | * 26 GPIO-Pins | ||
| 26 | ))) | ||
| 27 | |||
| 28 | * Pi NoIR Camera V2((( | ||
| 29 | * Sony IMX219 sensor | ||
| 30 | * 3280 x 2464 resolution | ||
| 31 | * Up to 90 frames per second (at 640x480) | ||
| 32 | ))) | ||
| 33 | |||
| 34 | * Relais box | ||
| 35 | ** Four 5V-relays (three in use)((( | ||
| 36 | * To actuate the three flippers | ||
| 37 | ))) |