Changes for page Ball Physics
Last modified by Soeren Domroes on 2025/01/30 12:18
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,119 +3,55 @@ 1 -The **ball physics model** is meant to do things ... [TODO] 2 - 3 3 \\ 4 4 3 +== Task == 5 5 5 +The ball physics model is meant to do things ... 6 6 7 - {{toc/}}7 +\\ 8 8 9 -== Ball trajectory==9 +== Configuration == 10 10 11 - ----11 +=== Points of interest === 12 12 13 -The trajectory of a ball can be modeled to be parabolic. 14 -\\\\\\like so: .... [TODO] 13 +\\ 15 15 16 - == Configuration==15 +[[image:attach:physics_points.png]] 17 17 18 - ----17 +=== Flipper range === 19 19 20 - === Prediction parameters ===19 +\\ 21 21 22 -|=((( 23 -Parameter 24 -)))|=((( 25 -Description 26 -)))|=((( 27 -Default value 28 -))) 29 -|((( 30 -PREDICTION_FRAME 31 -)))|((( 32 -window size for prediction - How far 21 +\\ 33 33 34 -into the future are predctions calculated at most. 35 -)))|((( 36 -70ms 37 -))) 38 -|((( 39 -PREDICTION_STEP_SIZE 40 -)))|((( 41 -size of the steps for the forward search 42 -)))|((( 43 -10ms 44 -))) 45 -|((( 46 -REFINEMENT_FACTOR 47 -)))|((( 48 -The prediction step size for the reverse search is 49 -PREDICTION_STEP_SIZE divided by REFINEMENT_FACTOR. 50 -)))|((( 51 -10 52 -))) 23 +\\ 53 53 54 -with the default values up to 7 predictions are calculated if the ball is not predicted to be in flipper range roughly within the next two frames. 55 - 56 56 \\ 57 57 58 - So this number isalso theworst case number of predictions calculated during the reverse searchpart of the prediction process.27 +[[image:attach:physics2.png]] 59 59 60 60 \\ 61 61 62 -=== Flipperrange ===31 +=== Inlane Area === 63 63 64 - Themodel of thearea, wherethethe flippers can hit a ball iscomputed from a set of five points. These points are set to real worldcoordinates inmeter33 +[[image:attach:physics_inlane.png]] 65 65 66 - and should not need further adjustment after the camera is correctly calibrated (see [[doc:World Coordinate System]]).35 +\\ 67 67 68 - Thevalues fortheleftflipperare set to be symmetrical.37 +=== Prediction parameters === 69 69 70 - [[image:attach:physics_points.png]]39 +\\ 71 71 72 -(% class="wrapped" %) 73 -|=((( 74 -Point# 75 -)))|=((( 76 -Description 77 -))) 78 -|((( 79 -1 80 -)))|((( 81 -center point of the circle that the flippers tip moves o 82 -))) 83 -|((( 84 -2 85 -)))|((( 86 -highest point a ball can be at when it hits the resting flipper 87 -))) 88 -|((( 89 -3 90 -)))|((( 91 -lowest point a ball can be at when it hits the resting flipper 92 -))) 93 -|((( 94 -4 95 -)))|((( 96 -lowest point a ball can be at when it hits the fully triggered flipper 97 -))) 98 -|((( 99 -5 100 -)))|((( 101 -highest point a ball can be at when it hits the fully triggered flipper 102 -))) 41 +\\ 103 103 104 104 \\ 105 105 106 - From these points an area, where the ball is deemed to be hittable, is computed.45 +\\ 107 107 108 - [[image:attach:physics2.png]]47 +\\ 109 109 110 110 \\ 111 111 112 - === Inlane Area ===51 +\\ 113 113 114 -Since the trajectory prediction does not consider collisions in general, we need a different kind of predictions for the inlanes, 115 -i.e. the path feeding a falling ball from the playfield to the flippers, behind the slingshot. 116 -A ball is considered to be in an inlane, when it is in a rectangualar area, with one edge given by the begin of the flipper 117 -and the other by a point at highest, outermost position of the angled part of the inlane. 53 +\\ 118 118 119 - [[image:attach:physics_inlane.png]]55 +\\
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -714016 431 +71401639 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/PP18/pages/714016 43/Ball Physics1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/PP18/pages/71401639/Ball Physics