Changes for page Project Documentation

Last modified by Soeren Domroes on 2025/01/30 12:18

From version 11.1
edited by stu104225
on 2020/03/03 17:15
Change comment: There is no comment for this version
To version 21.1
edited by stu104225
on 2023/07/06 14:48
Change comment: Renamed from xwiki:PP18.Project Documentation

Summary

Details

Page properties
Parent
... ... @@ -1,0 +1,1 @@
1 +Pinball Project - Winter Term 201920
Content
... ... @@ -1,81 +1,24 @@
1 -== Project Milestones ==
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.
2 2  
3 -(% class="wrapped" %)
4 -|=(((
5 -Date
6 -)))|=(((
7 -Milestone
8 -)))|=(((
9 -Comment
10 -)))
11 -|(((
12 -23.10
13 -)))|(((
14 -Kick-Off Meeting
15 -)))|(((
16 -\\
17 -)))
18 -|(((
19 -22.11
20 -)))|(((
21 -Proposal talk
22 -)))|(((
23 -\\
24 -)))
25 -|(% colspan="1" %)(% colspan="1" %)
26 -(((
27 -06.12
28 -)))|(% colspan="1" %)(% colspan="1" %)
29 -(((
30 -First fully operative
31 -prototype
32 -)))|(% colspan="1" %)(% colspan="1" %)
33 -(((
34 -program actuates flippers dependent on ball recognition
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]].
35 35  
36 -logic only rudimentary - repeatedly trigger both flippers if ball is below threshold
9 +== Overview ==
37 37  
38 -([[see video>>url:https://youtu.be/heWC7CDigWQ||shape="rect"]])
39 -)))
40 -|(((
41 -\\
42 -)))|(((
43 -\\
44 -)))|(((
45 -\\
46 -)))
47 47  
48 -\\
49 49  
50 -== Components ==
13 +{{children all="true" depth="2"/}}
51 51  
52 -This section is meant to collect the latest considerations for the system components.
15 +== Gameplay Footage ==
53 53  
54 -=== Vision/Ball Detection ===
17 +[[https:~~/~~/mega.nz/#!EF4TlZgB!3PzVmVmV3gVvEKSXyu5i_ZB1tX02m4dEaIi26us9kVk>>url:https://mega.nz/#!EF4TlZgB!3PzVmVmV3gVvEKSXyu5i_ZB1tX02m4dEaIi26us9kVk||shape="rect"]]
55 55  
56 -* Flashing lights need to be masked or excluded by means of color to prevent misdetections
57 -* The pixel coordinates should be translated to a custom coordinate system, s.t. chnages in resolution or exact camera position can be abstracted from
58 -
59 -=== Pinball Controller ===
60 -
61 -=== Ball Physics Model ===
62 -
63 -* For now the physics model passes a single number, the time the ball is predicted to be in range, i.e. when to trigger the flippers.
64 -For the logic to be able to perform meaningful computation more information needs to be passed, e.g.:
65 -** **Position** the ball is predicted to be at at the corresponding time
66 -** **Velocity **vector of the ball
67 -* Gravity on (% lang="en" %)inclined plane
68 -
69 -* (% lang="en" %)Different ball behavior when rolling down the inlanes
70 -
71 -* (% lang="en" %)Bounce back on collision, especially with the resting flippers (not all shot should be taken as a volley)
72 -
73 -=== Main Program ===
74 -
75 -\\
76 -
77 77  == Hardware ==
78 78  
21 +* Sega Pinballmachine: Mary Shelley's Frankenstein
79 79  * Raspberry Pi 3 B+
80 80  (((
81 81  * 4 CPU-Core
... ... @@ -93,5 +93,3 @@
93 93  ** Four 5V-relays (three in use)(((
94 94  * To actuate the three flippers
95 95  )))
96 -
97 -[[image:attach:2020-03-03-181059_1920x1200_scrot.png]]
2020-03-03-181059_1920x1200_scrot.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +838.6 KB
Content
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -71401584
1 +65667683
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/PP18/pages/71401584/Project Documentation
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/PP18/pages/65667683/Project Documentation