Wiki source code of Project Documentation
Version 21.2 by stu104225 on 2023/07/06 14:48
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 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. | ||
| 3 | |||
| 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:Image ProcessingBall Detection]]). | ||
| 5 | This pixel position is then transformed into a [[doc:World Coordinate System]] for further processing and passed to the [[doc:SCChart Controller]], which is the main logic component of the system. | ||
| 6 | To allow for timely reactions the [[doc:SCChart Controller]] calls the [[doc:Ball Physics]], which performs a ball trajectory prediction. | ||
| 7 | \\For a quick overview on how to build and run the system see [[doc:Dependencies and Compilation]]. | ||
| 8 | |||
| 9 | == Overview == | ||
| 10 | |||
| 11 | |||
| 12 | |||
| 13 | {{children all="true" depth="2"/}} | ||
| 14 | |||
| 15 | == Gameplay Footage == | ||
| 16 | |||
| 17 | [[https:~~/~~/mega.nz/#!EF4TlZgB!3PzVmVmV3gVvEKSXyu5i_ZB1tX02m4dEaIi26us9kVk>>url:https://mega.nz/#!EF4TlZgB!3PzVmVmV3gVvEKSXyu5i_ZB1tX02m4dEaIi26us9kVk||shape="rect"]] | ||
| 18 | |||
| 19 | == Hardware == | ||
| 20 | |||
| 21 | * Sega Pinballmachine: Mary Shelley's Frankenstein | ||
| 22 | * Raspberry Pi 3 B+ | ||
| 23 | ((( | ||
| 24 | * 4 CPU-Core | ||
| 25 | * 1 GB RAM | ||
| 26 | * 26 GPIO-Pins | ||
| 27 | ))) | ||
| 28 | |||
| 29 | * Pi NoIR Camera V2((( | ||
| 30 | * Sony IMX219 sensor | ||
| 31 | * 3280 x 2464 resolution | ||
| 32 | * Up to 90 frames per second (at 640x480) | ||
| 33 | ))) | ||
| 34 | |||
| 35 | * Relais box | ||
| 36 | ** Four 5V-relays (three in use)((( | ||
| 37 | * To actuate the three flippers | ||
| 38 | ))) |