RacingGameState
| Attribute | Type | Description |
|---|---|---|
state.tick |
int |
The tick number starting at 0. Each new state is usually 1 more than the last, but if your algo takes longer than a tick, the states in between are skipped. |
state.elapsed_seconds |
float |
Seconds of the race gone. One tick is 1/30 of a second. |
state.time_left |
float |
Seconds until the engine takes this tick's controls and moves the race on. |
state.rank |
int |
Your current position in the race |
state.laps_left |
float |
Laps remaining, so 0.5 means half a lap to go. |
state.car |
Car |
Your own car |
state.surroundings |
list[SensedEntity] |
Everything your car can see within 300 m: the walls, and the other cars still racing. |
Car
| Attribute | Type | Description |
|---|---|---|
car.pos |
tuple[float, float] |
The (x, y) of the car's center, in meters. |
car.heading |
float |
The direction the car points, in radians counter-clockwise from the x axis, from just over -π up to π: 0 points along the x axis, π/2 along the y axis, and π back along the x axis. |
car.yaw_rate |
float |
How fast the car is turning, in radians per second, positive turning right. The heading counts the other way, counter-clockwise, so it falls while the yaw rate is positive. |
car.yaw_acceleration |
float |
How fast yaw_rate is changing, in radians per second squared, positive as the car swings harder to the right. |
car.velocity |
tuple[float, float] |
(forward, lateral) in meters per second, lateral positive to the right. At speed, a large lateral component means the car is sliding. |
car.acceleration |
tuple[float, float] |
(forward, lateral) in meters per second squared, lateral positive to the right, so it is positive through a right-hand corner: everything that pushes the car, its tires, drag and rolling resistance, which is what the car feels. A knock from a wall or another car is not in it. |
car.engine_rpm |
float |
How fast the engine turns, in revolutions per minute. An automatic gearbox of eight gears picks the gear by the car's speed. Never exceeds 12,800. |
car.steering_angle |
float |
How far the front wheels are turned, in radians, positive turning right as steering does. It is never further from 0 than full lock, RacingInterface.MAX_STEERING_ANGLE, which is 0.35 (about 20°). |
car.steering, car.throttle, car.brake |
float |
The controls the car drove on in the last tick, held to their ranges. |
SensedEntity
Something your car can see, given as the line segment defined by vectors from your car to the line segment’s endpoints. Both its ends are in your car’s frame: the origin is your car’s center, the positive x axis is straight ahead, and the positive y axis is to your right. An angle is from straight ahead, positive to your right and negative to your left, from just over -π up to π, so something straight behind you is at π.
Your car sees every piece of wall and every other car that is within 300 m of its center.
Each entry is one visible piece of one segment. A wall behind another car contributes only the parts you can actually see, so a single wall or car may appear as several entries, or none at all. The ends of a piece that were cut by something in front of it have end1_is_true_endpoint or end2_is_true_endpoint set to False, which is how you tell “the wall stops here” from “I cannot see past here”. The track border is a is a line of segments and another car is four segments, so the same wall or car usually shows up as multiple entires.
Each piece runs clockwise from its first end to its second, the way its angles grow, so a piece ahead of you runs from your left to your right. The pieces are in order of the angles of their first ends, from behind you on your left, round through straight ahead, to behind you on your right.
| Attribute | Type | Description |
|---|---|---|
entity.entity_id |
int |
The seat of the car being sensed or -1 for a wall. |
entity.is_wall |
bool |
True when entity_id is -1. |
entity.start_angle, entity.end_angle |
float |
The angles, in radians, to the piece's first and second ends. |
entity.start_distance, entity.end_distance |
float |
The distances, in meters, to the piece's first and second ends. |
entity.end1, entity.end2 |
tuple[float, float] |
The ends of the line segment as (x, y) in your car's frame |
entity.end1_is_true_endpoint, entity.end2_is_true_endpoint |
bool |
False when that end is where something nearer hid the rest of the segment, rather than where it actually ends. |
Track
Handed to your algo once, before the race, as the track your setup takes.
| Attribute | Type | Description |
|---|---|---|
track.name |
str |
The name of the circuit, 'melbourne'. |
track.lap_length |
float |
The length of one lap along the centerline, in meters. |
track.centerline |
list[tuple[float, float]] |
The (x, y) points of the centerline, in meters, a closed loop in the order the race runs. It does not start at the start line: see start_pos. |
track.widths |
list[tuple[float, float]] |
For each point of the centerline, how far the walls stand from it, (left, right) in meters as the race runs. The track is 13.2 to 19.3 m wide. These walls are the ones your car sees and hits. |
track.start_pos |
tuple[float, float] |
Where the start line crosses the centerline. The grid stands behind it. |
track.start_heading |
float |
Which way the race runs at the start line, in radians counter-clockwise from the x axis, from just over -π up to π as car.heading is. |
Example
Five seconds into a race of two, your car is second and 0.7 m behind the leader, drafting down the start straight. The leader’s tail is straight ahead, from a little to your left to a little to your right, and it hides the walls past about 30 m ahead.
Rendered State
{
"tick": 150,
"leader": 0,
"cars": [
{"seat": 0, "pos": [-81.643, -111.472], "heading": -2.258, "speed": 47.992, "yaw_rate": 0.0, "sideslip": 0.0, "throttle": 0.978, "brake": 0.0, "steering": 0.0, "steering_angle": 0.0, "lap_progress": 108.998, "rank": 1, "finished": false, "disqualified": false, "wall_contact": false, "wall_contacts": 0, "vehicle_contact": false, "vehicle_contacts": 0, "front_saturated": false, "rear_saturated": false, "lateral_error": -0.002, "heading_error": 0.0},
{"seat": 1, "pos": [-77.635, -106.585], "heading": -2.257, "speed": 49.657, "yaw_rate": 0.001, "sideslip": 0.0, "throttle": 1.0, "brake": 0.0, "steering": 0.001, "steering_angle": 0.0, "lap_progress": 102.678, "rank": 2, "finished": false, "disqualified": false, "wall_contact": false, "wall_contacts": 0, "vehicle_contact": false, "vehicle_contacts": 0, "front_saturated": false, "rear_saturated": false, "lateral_error": -0.003, "heading_error": 0.0}
],
"track": {
"name": "melbourne",
"lap_length": 5261.327,
"centerline": [[5.529, -4.558], [0.782, -10.391], [-3.951, -16.235], [-8.676, -22.086], [-13.401, -27.937], [-18.131, -33.784], [-22.87, -39.624], [-27.619, -45.455], [-32.376, -51.28], [-37.138, -57.101], [-41.9, -62.921], [-46.662, -68.743], [-51.422, -74.564], [-56.183, -80.386], [-60.944, -86.207], [-65.708, -92.027], [-70.474, -97.845], [-75.241, -103.661], [-80.01, -109.477], [-84.778, -115.292], [-89.547, -121.107], [-94.315, -126.923], [-99.081, -132.74], [-103.846, -138.559], [-108.608, -144.38], [-113.368, -150.202], [-118.127, -156.025], [-122.885, -161.849], [-127.643, -167.673], [-132.4, -173.498], [-137.157, -179.323], [-141.914, -185.148], [-146.672, -190.972], [-151.43, -196.796], [-156.189, -202.619], [-160.946, -208.444], [-165.699, -214.272], [-170.446, -220.105], [-175.189, -225.942], [-179.935, -231.776], [-184.697, -237.596], [-189.487, -243.394], [-194.304, -249.169], [-199.117, -254.948], [-203.862, -260.782], [-208.47, -266.725], [-212.924, -272.784], [-217.358, -278.858], [-222.114, -284.673], [-227.632, -289.731], [-234.144, -293.346], [-241.405, -294.946], [-248.851, -294.49], [-256.087, -292.524], [-263.108, -289.836], [-270.112, -287.1], [-277.248, -284.742], [-284.544, -282.941], [-291.957, -281.709], [-299.439, -280.984], [-306.952, -280.715], [-314.467, -280.885], [-321.958, -281.509], [-329.394, -282.606], [-336.744, -284.182], [-343.976, -286.23], [-351.063, -288.736], [-357.98, -291.678], [-364.7, -295.045], [-371.195, -298.829], [-377.43, -303.026], [-383.373, -307.629], [-388.996, -312.616], [-394.294, -317.949], [-399.288, -323.569], [-404.029, -329.405], [-408.589, -335.384], [-413.048, -341.441], [-417.467, -347.526], [-421.886, -353.611], [-426.318, -359.687], [-430.766, -365.751], [-435.227, -371.806], [-439.701, -377.85], [-444.196, -383.88], [-448.719, -389.889], [-453.277, -395.87], [-457.877, -401.82], [-462.525, -407.732], [-467.226, -413.602], [-471.981, -419.428], [-476.788, -425.212], [-481.638, -430.96], [-486.524, -436.677], [-491.439, -442.369], [-496.376, -448.042], [-501.328, -453.701], [-506.291, -459.352], [-511.266, -464.992], [-516.264, -470.612], [-521.3, -476.197], [-526.389, -481.733], [-531.536, -487.217], [-536.733, -492.652], [-541.972, -498.048], [-547.246, -503.409], [-552.553, -508.738], [-557.894, -514.033], [-563.269, -519.293], [-568.672, -524.523], [-574.099, -529.73], [-579.543, -534.918], [-585.006, -540.087], [-590.492, -545.231], [-596.009, -550.342], [-601.566, -555.409], [-607.17, -560.424], [-612.824, -565.383], [-618.519, -570.295], [-624.245, -575.17], [-629.99, -580.023], [-635.747, -584.862], [-641.513, -589.69], [-647.29, -594.505], [-653.084, -599.3], [-658.902, -604.065], [-664.757, -608.786], [-670.654, -613.453], [-676.594, -618.064], [-682.572, -622.627], [-688.584, -627.146], [-694.625, -631.625], [-700.696, -636.063], [-706.795, -640.463], [-712.917, -644.831], [-719.058, -649.172], [-725.217, -653.488], [-731.4, -657.77], [-737.611, -662.01], [-743.847, -666.213], [-750.089, -670.408], [-756.309, -674.635], [-762.491, -678.918], [-768.674, -683.199], [-774.991, -687.275], [-781.651, -690.732], [-788.787, -692.955], [-796.217, -693.26], [-803.347, -691.228], [-809.446, -686.995], [-814.106, -681.172], [-817.432, -674.458], [-819.853, -667.347], [-821.835, -660.093], [-823.71, -652.81], [-825.639, -645.541], [-827.661, -638.298], [-829.742, -631.071], [-831.826, -623.845], [-833.855, -616.603], [-835.801, -609.339], [-837.7, -602.062], [-839.696, -594.812], [-842.058, -587.678], [-845.135, -580.833], [-849.243, -574.572], [-854.523, -569.282], [-860.857, -565.325], [-867.923, -562.882], [-875.345, -561.863], [-882.852, -561.95], [-890.328, -562.724], [-897.77, -563.812], [-905.203, -564.955], [-912.646, -566.03], [-920.101, -567.014], [-927.565, -567.938], [-935.03, -568.846], [-942.494, -569.771], [-949.953, -570.729], [-957.407, -571.73], [-964.854, -572.778], [-972.293, -573.879], [-979.725, -575.033], [-987.15, -576.223], [-994.576, -577.413], [-1002.008, -578.567], [-1009.447, -579.67], [-1016.891, -580.739], [-1024.334, -581.811], [-1031.775, -582.908], [-1039.217, -583.986], [-1046.68, -584.908], [-1054.177, -585.444], [-1061.686, -585.317], [-1069.115, -584.271], [-1076.305, -582.147], [-1083.082, -578.938], [-1089.329, -574.781], [-1095.046, -569.91], [-1100.352, -564.586], [-1105.423, -559.033], [-1110.417, -553.409], [-1115.422, -547.796], [-1120.459, -542.212], [-1125.512, -536.642], [-1130.555, -531.063], [-1135.575, -525.464], [-1140.574, -519.845], [-1145.561, -514.215], [-1150.546, -508.585], [-1155.541, -502.963], [-1160.547, -497.35], [-1165.553, -491.737], [-1170.534, -486.103], [-1175.458, -480.419], [-1180.29, -474.657], [-1184.995, -468.791], [-1189.548, -462.805], [-1193.932, -456.696], [-1198.147, -450.468], [-1202.195, -444.131], [-1206.085, -437.696], [-1209.823, -431.17], [-1213.42, -424.566], [-1216.894, -417.897], [-1220.276, -411.179], [-1223.599, -404.433], [-1226.894, -397.673], [-1230.182, -390.909], [-1233.473, -384.147], [-1236.765, -377.385], [-1240.054, -370.622], [-1243.341, -363.858], [-1246.637, -357.098], [-1249.972, -350.357], [-1253.38, -343.653], [-1256.896, -337.006], [-1260.538, -330.426], [-1264.298, -323.914], [-1268.158, -317.46], [-1272.101, -311.055], [-1276.127, -304.704], [-1280.263, -298.423], [-1284.547, -292.243], [-1289.011, -286.192], [-1293.649, -280.272], [-1298.377, -274.424], [-1302.999, -268.493], [-1307.199, -262.266], [-1310.569, -255.569], [-1312.691, -248.393], [-1313.276, -240.94], [-1312.287, -233.524], [-1309.944, -226.405], [-1306.625, -219.67], [-1302.735, -213.238], [-1298.624, -206.94], [-1294.558, -200.614], [-1290.717, -194.151], [-1287.206, -187.504], [-1284.07, -180.672], [-1281.319, -173.675], [-1278.943, -166.542], [-1276.935, -159.298], [-1275.299, -151.96], [-1274.059, -144.545], [-1273.239, -137.073], [-1272.837, -129.565], [-1272.796, -122.047], [-1273.002, -114.53], [-1273.308, -107.015], [-1273.571, -99.5], [-1273.671, -91.981], [-1273.525, -84.463], [-1273.087, -76.957], [-1272.338, -69.475], [-1271.279, -62.031], [-1269.925, -54.635], [-1268.29, -47.295], [-1266.394, -40.019], [-1264.244, -32.814], [-1261.841, -25.689], [-1259.174, -18.658], [-1256.23, -11.74], [-1253.002, -4.949], [-1249.495, 1.702], [-1245.722, 8.206], [-1241.697, 14.557], [-1237.434, 20.751], [-1232.946, 26.784], [-1228.239, 32.647], [-1223.317, 38.332], [-1218.184, 43.827], [-1212.845, 49.12], [-1207.3, 54.199], [-1201.553, 59.047], [-1195.61, 63.653], [-1189.483, 68.012], [-1183.192, 72.131], [-1176.753, 76.014], [-1170.177, 79.66], [-1163.468, 83.055], [-1156.632, 86.185], [-1149.678, 89.046], [-1142.627, 91.659], [-1135.504, 94.068], [-1128.332, 96.331], [-1121.132, 98.504], [-1113.92, 100.634], [-1106.702, 102.747], [-1099.482, 104.853], [-1092.262, 106.956], [-1085.041, 109.056], [-1077.819, 111.154], [-1070.596, 113.251], [-1063.374, 115.346], [-1056.15, 117.44], [-1048.926, 119.53], [-1041.701, 121.619], [-1034.477, 123.709], [-1027.255, 125.807], [-1020.038, 127.921], [-1012.825, 130.05], [-1005.611, 132.176], [-998.383, 134.251], [-991.12, 136.2], [-983.801, 137.925], [-976.415, 139.327], [-968.964, 140.325], [-961.467, 140.864], [-953.951, 140.92], [-946.446, 140.498], [-938.979, 139.625], [-931.572, 138.339], [-924.242, 136.668], [-917.009, 134.617], [-909.902, 132.167], [-902.952, 129.303], [-896.177, 126.046], [-889.568, 122.46], [-883.089, 118.643], [-876.688, 114.695], [-870.316, 110.701], [-863.929, 106.731], [-857.485, 102.855], [-850.938, 99.156], [-844.246, 95.729], [-837.381, 92.666], [-830.34, 90.037], [-823.141, 87.875], [-815.82, 86.167], [-808.417, 84.854], [-800.966, 83.847], [-793.489, 83.042], [-786.0, 82.354], [-778.506, 81.72], [-771.01, 81.108], [-763.514, 80.506], [-756.017, 79.907], [-748.521, 79.312], [-741.023, 78.719], [-733.526, 78.129], [-726.029, 77.542], [-718.531, 76.955], [-711.034, 76.365], [-703.537, 75.767], [-696.041, 75.156], [-688.547, 74.53], [-681.053, 73.898], [-673.558, 73.283], [-666.059, 72.714], [-658.554, 72.228], [-651.043, 71.857], [-643.527, 71.623], [-636.007, 71.539], [-628.487, 71.61], [-620.97, 71.839], [-613.461, 72.23], [-605.961, 72.785], [-598.475, 73.502], [-591.005, 74.369], [-583.553, 75.379], [-576.121, 76.53], [-568.714, 77.825], [-561.334, 79.271], [-553.985, 80.869], [-546.67, 82.612], [-539.389, 84.495], [-532.146, 86.517], [-524.947, 88.691], [-517.801, 91.033], [-510.714, 93.547], [-503.686, 96.221], [-496.71, 99.031], [-489.781, 101.954], [-482.899, 104.987], [-476.077, 108.15], [-469.331, 111.473], [-462.672, 114.967], [-456.1, 118.622], [-449.605, 122.412], [-443.178, 126.317], [-436.82, 130.334], [-430.54, 134.47], [-424.346, 138.735], [-418.246, 143.133], [-412.242, 147.661], [-406.332, 152.311], [-400.513, 157.075], [-394.784, 161.946], [-389.15, 166.927], [-383.621, 172.024], [-378.205, 177.242], [-372.9, 182.572], [-367.7, 188.004], [-362.602, 193.533], [-357.613, 199.16], [-352.748, 204.894], [-348.014, 210.737], [-343.411, 216.684], [-338.924, 222.719], [-334.523, 228.817], [-330.172, 234.951], [-325.838, 241.097], [-321.504, 247.243], [-317.161, 253.383], [-312.81, 259.517], [-308.456, 265.649], [-304.103, 271.781], [-299.753, 277.916], [-295.411, 284.057], [-291.084, 290.208], [-286.773, 296.37], [-282.466, 302.535], [-278.138, 308.686], [-273.751, 314.794], [-269.279, 320.839], [-264.743, 326.838], [-260.256, 332.873], [-256.036, 339.093], [-252.399, 345.661], [-249.687, 352.652], [-248.149, 359.985], [-247.824, 367.476], [-248.523, 374.951], [-249.916, 382.336], [-251.66, 389.651], [-253.491, 396.945], [-255.258, 404.255], [-256.911, 411.592], [-258.482, 418.946], [-260.052, 426.301], [-261.719, 433.634], [-263.555, 440.927], [-265.534, 448.182], [-267.475, 455.447], [-269.011, 462.802], [-269.651, 470.273], [-268.966, 477.724], [-266.819, 484.893], [-263.44, 491.587], [-259.278, 497.843], [-254.776, 503.866], [-250.238, 509.863], [-245.813, 515.943], [-241.521, 522.118], [-237.317, 528.354], [-233.142, 534.609], [-228.954, 540.855], [-224.739, 547.084], [-220.501, 553.296], [-216.249, 559.499], [-211.993, 565.699], [-207.738, 571.901], [-203.487, 578.105], [-199.239, 584.311], [-194.992, 590.517], [-190.746, 596.724], [-186.498, 602.93], [-182.249, 609.135], [-178.002, 615.342], [-173.758, 621.55], [-169.518, 627.762], [-165.275, 633.971], [-161.016, 640.169], [-156.725, 646.345], [-152.389, 652.49], [-148.004, 658.6], [-143.573, 664.676], [-139.092, 670.716], [-134.542, 676.704], [-129.887, 682.61], [-125.087, 688.398], [-120.116, 694.04], [-114.964, 699.517], [-109.632, 704.82], [-104.129, 709.944], [-98.464, 714.889], [-92.649, 719.657], [-86.694, 724.248], [-80.61, 728.668], [-74.408, 732.921], [-68.098, 737.011], [-61.688, 740.943], [-55.187, 744.723], [-48.604, 748.359], [-41.948, 751.858], [-35.223, 755.225], [-28.435, 758.46], [-21.588, 761.571], [-14.692, 764.571], [-7.757, 767.48], [-0.796, 770.326], [6.181, 773.135], [13.162, 775.93], [20.144, 778.726], [27.122, 781.529], [34.099, 784.338], [41.075, 787.146], [48.054, 789.948], [55.037, 792.742], [62.021, 795.53], [69.006, 798.318], [75.988, 801.111], [82.968, 803.913], [89.944, 806.721], [96.919, 809.534], [103.893, 812.349], [110.867, 815.164], [117.841, 817.978], [124.815, 820.791], [131.789, 823.605], [138.765, 826.417], [145.741, 829.225], [152.719, 832.029], [159.701, 834.825], [166.685, 837.614], [173.674, 840.39], [180.67, 843.15], [187.673, 845.891], [194.68, 848.624], [201.679, 851.374], [208.658, 854.177], [215.613, 857.038], [222.575, 859.882], [229.628, 862.483], [236.875, 864.436], [244.32, 865.2], [251.719, 864.264], [258.596, 861.405], [264.486, 856.827], [269.239, 851.043], [273.079, 844.59], [276.417, 837.853], [279.621, 831.049], [282.9, 824.281], [286.302, 817.575], [289.789, 810.912], [293.299, 804.26], [296.788, 797.598], [300.242, 790.918], [303.673, 784.225], [307.101, 777.532], [310.545, 770.846], [314.015, 764.174], [317.511, 757.515], [321.022, 750.865], [324.534, 744.215], [328.036, 737.56], [331.518, 730.893], [334.974, 724.214], [338.411, 717.525], [341.845, 710.834], [345.298, 704.153], [348.79, 697.493], [352.32, 690.852], [355.846, 684.21], [359.264, 677.511], [362.413, 670.685], [365.096, 663.666], [367.114, 656.432], [368.314, 649.021], [368.602, 641.521], [367.956, 634.043], [366.401, 626.699], [363.986, 619.59], [360.762, 612.809], [356.786, 606.44], [352.126, 600.552], [346.887, 595.168], [341.205, 590.249], [335.224, 585.694], [329.073, 581.369], [322.847, 577.149], [316.608, 572.95], [310.383, 568.731], [304.176, 564.485], [297.979, 560.224], [291.782, 555.962], [285.582, 551.706], [279.379, 547.454], [273.177, 543.201], [266.977, 538.944], [260.781, 534.682], [254.589, 530.413], [248.408, 526.129], [242.252, 521.809], [236.144, 517.423], [230.099, 512.949], [224.111, 508.398], [218.14, 503.827], [212.111, 499.332], [205.967, 494.997], [199.737, 490.784], [193.618, 486.417], [188.078, 481.375], [183.958, 475.193], [182.301, 468.019], [183.687, 460.798], [187.71, 454.576], [193.34, 449.654], [199.661, 445.592], [206.14, 441.773], [212.53, 437.81], [218.761, 433.602], [224.879, 429.228], [230.968, 424.814], [237.096, 420.456], [243.279, 416.174], [249.472, 411.907], [255.574, 407.514], [261.439, 402.813], [266.886, 397.641], [271.73, 391.906], [275.819, 385.613], [279.06, 378.845], [281.412, 371.717], [282.854, 364.351], [283.356, 356.863], [282.876, 349.374], [281.393, 342.019], [278.945, 334.926], [275.65, 328.179], [271.699, 321.788], [267.308, 315.685], [262.677, 309.761], [257.946, 303.915], [253.188, 298.091], [248.425, 292.271], [243.658, 286.454], [238.887, 280.641], [234.116, 274.827], [229.35, 269.01], [224.583, 263.194], [219.803, 257.387], [215.0, 251.6], [210.175, 245.831], [205.34, 240.071], [200.514, 234.303], [195.71, 228.517], [190.93, 222.711], [186.169, 216.89], [181.415, 211.062], [176.663, 205.233], [171.909, 199.406], [167.153, 193.58], [162.395, 187.756], [157.636, 181.933], [152.876, 176.111], [148.115, 170.289], [143.354, 164.467], [138.593, 158.645], [133.834, 152.822], [129.078, 146.996], [124.327, 141.167], [119.579, 135.335], [114.835, 129.5], [110.091, 123.664], [105.349, 117.827], [100.605, 111.991], [95.862, 106.155], [91.118, 100.32], [86.374, 94.484], [81.63, 88.648], [76.887, 82.812], [72.145, 76.976], [67.401, 71.14], [62.655, 65.306], [57.907, 59.474], [53.156, 53.644], [48.403, 47.816], [43.65, 41.987], [38.897, 36.16], [34.142, 30.333], [29.382, 24.511], [24.615, 18.694], [19.841, 12.883], [15.064, 7.075], [10.291, 1.263]],
"start_pos": [-12.69, -27.056],
"start_heading": -2.25,
"inner_wall": [[-1.028, 0.792], [-5.734, -5.101], [-10.432, -10.993], [-15.127, -16.877], [-19.815, -22.754], [-24.497, -28.626], [-29.194, -34.482], [-33.938, -40.301], [-38.693, -46.117], [-43.445, -51.941], [-48.203, -57.765], [-52.96, -63.591], [-57.718, -69.417], [-62.474, -75.241], [-67.229, -81.064], [-71.992, -86.881], [-76.762, -92.692], [-81.533, -98.503], [-86.304, -104.315], [-91.076, -110.127], [-95.849, -115.94], [-100.622, -121.754], [-105.395, -127.568], [-110.169, -133.383], [-114.943, -139.198], [-119.717, -145.013], [-124.49, -150.826], [-129.262, -156.639], [-134.035, -162.452], [-138.807, -168.265], [-143.579, -174.078], [-148.35, -179.891], [-153.122, -185.703], [-157.893, -191.515], [-162.665, -197.329], [-167.439, -203.144], [-172.216, -208.963], [-176.993, -214.782], [-181.765, -220.595], [-186.527, -226.398], [-191.279, -232.185], [-196.024, -237.968], [-200.762, -243.787], [-205.519, -249.678], [-210.337, -255.64], [-215.185, -261.654], [-219.998, -267.602], [-224.562, -273.29], [-228.73, -278.421], [-232.386, -283.131], [-236.508, -287.099], [-241.935, -288.153], [-247.505, -286.315], [-253.215, -283.725], [-259.751, -281.155], [-267.05, -278.599], [-274.812, -276.289], [-282.803, -274.501], [-290.866, -273.399], [-298.892, -272.737], [-306.897, -272.428], [-314.894, -272.819], [-322.864, -273.65], [-330.781, -274.93], [-338.592, -276.745], [-346.289, -278.956], [-353.834, -281.613], [-361.169, -284.784], [-368.23, -288.521], [-375.055, -292.672], [-381.652, -297.184], [-387.859, -302.218], [-393.808, -307.523], [-399.415, -313.137], [-404.53, -319.115], [-409.383, -325.19], [-413.996, -331.333], [-418.507, -337.449], [-423.001, -343.507], [-427.468, -349.548], [-431.936, -355.577], [-436.399, -361.61], [-440.868, -367.639], [-445.327, -373.671], [-449.798, -379.683], [-454.298, -385.663], [-458.812, -391.621], [-463.391, -397.52], [-467.984, -403.4], [-472.576, -409.276], [-477.268, -415.074], [-482.052, -420.804], [-486.838, -426.543], [-491.642, -432.28], [-496.554, -437.934], [-501.536, -443.539], [-506.52, -449.15], [-511.508, -454.76], [-516.485, -460.37], [-521.461, -465.957], [-526.407, -471.547], [-531.376, -477.102], [-536.51, -482.505], [-541.681, -487.885], [-546.866, -493.265], [-552.111, -498.595], [-557.376, -503.904], [-562.716, -509.137], [-568.077, -514.352], [-573.432, -519.585], [-578.799, -524.814], [-584.163, -530.053], [-589.587, -535.224], [-595.12, -540.266], [-600.657, -545.285], [-606.181, -550.3], [-611.696, -555.315], [-617.229, -560.319], [-622.873, -565.213], [-628.574, -570.065], [-634.282, -574.93], [-639.994, -579.799], [-645.748, -584.621], [-651.586, -589.333], [-657.425, -594.027], [-663.25, -598.714], [-669.059, -603.399], [-674.897, -608.039], [-680.836, -612.553], [-686.802, -617.042], [-692.755, -621.559], [-698.729, -626.05], [-704.781, -630.438], [-710.873, -634.778], [-716.963, -639.135], [-723.062, -643.484], [-729.15, -647.842], [-735.243, -652.18], [-741.409, -656.411], [-747.625, -660.6], [-753.88, -664.798], [-760.148, -669.04], [-766.43, -673.231], [-772.705, -677.169], [-778.711, -680.864], [-784.479, -683.86], [-790.064, -685.578], [-795.36, -686.049], [-800.196, -684.572], [-804.125, -681.298], [-807.502, -676.963], [-810.184, -671.445], [-812.391, -665.059], [-814.45, -658.134], [-816.491, -650.923], [-818.598, -643.624], [-820.68, -636.318], [-822.762, -629.059], [-824.839, -621.859], [-826.905, -614.699], [-829.001, -607.541], [-831.066, -600.283], [-833.274, -592.867], [-835.69, -585.2], [-838.722, -577.317], [-843.608, -569.992], [-850.077, -563.698], [-857.758, -558.836], [-866.261, -555.925], [-874.889, -554.577], [-883.25, -555.007], [-891.148, -556.16], [-898.804, -556.918], [-906.255, -557.897], [-913.621, -558.973], [-921.024, -559.804], [-928.461, -560.638], [-935.936, -561.47], [-943.434, -562.32], [-950.928, -563.307], [-958.424, -564.329], [-965.923, -565.375], [-973.432, -566.371], [-980.919, -567.459], [-988.31, -568.985], [-995.652, -570.592], [-1003.007, -571.982], [-1010.407, -573.09], [-1017.855, -574.038], [-1025.327, -575.003], [-1032.786, -575.987], [-1040.152, -577.02], [-1047.344, -578.098], [-1054.358, -578.816], [-1061.184, -578.941], [-1067.767, -578.057], [-1073.947, -575.969], [-1079.755, -573.055], [-1085.212, -569.325], [-1090.37, -564.854], [-1095.149, -559.622], [-1099.949, -554.103], [-1104.98, -548.571], [-1110.043, -542.972], [-1115.133, -537.395], [-1120.158, -531.794], [-1125.143, -526.191], [-1130.115, -520.586], [-1135.095, -514.981], [-1140.083, -509.364], [-1145.079, -503.736], [-1150.145, -498.159], [-1155.292, -492.663], [-1160.445, -487.202], [-1165.457, -481.66], [-1170.229, -475.962], [-1174.939, -470.268], [-1179.52, -464.514], [-1183.906, -458.636], [-1188.26, -452.742], [-1192.396, -446.687], [-1196.237, -440.428], [-1200.079, -434.16], [-1203.907, -427.865], [-1207.41, -421.365], [-1210.681, -414.715], [-1213.959, -408.033], [-1217.256, -401.325], [-1220.561, -394.59], [-1223.862, -387.835], [-1227.158, -381.073], [-1230.454, -374.314], [-1233.749, -367.557], [-1237.047, -360.794], [-1240.353, -354.012], [-1243.716, -347.22], [-1247.221, -340.459], [-1250.727, -333.667], [-1254.281, -326.889], [-1258.173, -320.314], [-1262.204, -313.847], [-1266.224, -307.384], [-1270.244, -300.902], [-1274.418, -294.474], [-1278.908, -288.21], [-1283.457, -281.969], [-1287.954, -275.74], [-1292.548, -269.797], [-1297.286, -264.348], [-1301.409, -258.875], [-1303.924, -252.939], [-1304.818, -246.937], [-1304.637, -241.174], [-1303.559, -235.524], [-1301.359, -229.913], [-1298.449, -224.146], [-1295.19, -217.979], [-1291.348, -211.653], [-1287.386, -205.049], [-1283.706, -198.083], [-1280.134, -190.991], [-1276.983, -183.688], [-1274.176, -176.267], [-1271.73, -168.742], [-1269.76, -161.091], [-1268.033, -153.376], [-1266.726, -145.56], [-1265.767, -137.682], [-1265.374, -129.786], [-1265.574, -121.968], [-1265.826, -114.285], [-1266.037, -106.74], [-1266.153, -99.321], [-1266.238, -92.003], [-1266.294, -84.744], [-1265.816, -77.533], [-1265.146, -70.346], [-1264.342, -63.159], [-1262.987, -56.042], [-1261.341, -48.974], [-1259.34, -41.99], [-1257.068, -35.093], [-1254.94, -28.16], [-1252.625, -21.293], [-1249.7, -14.68], [-1246.521, -8.196], [-1243.167, -1.8], [-1239.601, 4.492], [-1235.66, 10.569], [-1231.499, 16.503], [-1227.201, 22.343], [-1222.675, 28.008], [-1217.934, 33.49], [-1212.951, 38.747], [-1207.866, 43.896], [-1202.552, 48.798], [-1197.091, 53.53], [-1191.339, 57.904], [-1185.392, 62.02], [-1179.359, 66.033], [-1173.051, 69.613], [-1166.707, 73.113], [-1160.293, 76.464], [-1153.703, 79.443], [-1147.008, 82.216], [-1140.189, 84.776], [-1133.237, 87.131], [-1126.165, 89.311], [-1119.021, 91.436], [-1111.833, 93.538], [-1104.622, 95.629], [-1097.406, 97.732], [-1090.188, 99.83], [-1082.97, 101.931], [-1075.751, 104.033], [-1068.532, 106.137], [-1061.313, 108.24], [-1054.095, 110.343], [-1046.877, 112.445], [-1039.657, 114.55], [-1032.434, 116.66], [-1025.205, 118.778], [-1017.971, 120.889], [-1010.749, 123.01], [-1003.554, 125.103], [-996.423, 127.192], [-989.327, 129.085], [-982.286, 130.802], [-975.27, 132.25], [-968.223, 133.119], [-961.175, 133.501], [-954.13, 133.54], [-947.065, 133.331], [-940.02, 132.455], [-932.984, 131.301], [-925.973, 129.896], [-919.148, 127.805], [-912.483, 125.339], [-905.905, 122.681], [-899.457, 119.63], [-893.241, 115.966], [-887.005, 112.148], [-880.663, 108.303], [-874.254, 104.393], [-867.726, 100.521], [-861.119, 96.623], [-854.433, 92.663], [-847.448, 89.042], [-840.123, 85.967], [-832.71, 82.989], [-825.08, 80.599], [-817.296, 78.972], [-809.557, 77.56], [-801.853, 76.533], [-794.209, 75.821], [-786.639, 75.107], [-779.113, 74.413], [-771.601, 73.81], [-764.097, 73.226], [-756.597, 72.631], [-749.097, 72.043], [-741.597, 71.451], [-734.097, 70.861], [-726.598, 70.27], [-719.102, 69.68], [-711.61, 69.089], [-704.123, 68.501], [-696.639, 67.909], [-689.154, 67.286], [-681.655, 66.659], [-674.131, 66.023], [-666.573, 65.398], [-658.972, 64.905], [-651.338, 64.513], [-643.683, 64.223], [-636.013, 64.144], [-628.342, 64.313], [-620.668, 64.498], [-612.992, 64.801], [-605.332, 65.379], [-597.688, 66.074], [-590.084, 67.049], [-582.513, 68.212], [-574.932, 69.312], [-567.354, 70.488], [-559.843, 72.06], [-552.348, 73.683], [-544.868, 75.358], [-537.496, 77.452], [-530.149, 79.645], [-522.765, 81.757], [-515.409, 84.018], [-508.199, 86.705], [-501.043, 89.474], [-493.889, 92.189], [-486.827, 95.104], [-479.864, 98.275], [-472.882, 101.466], [-465.929, 104.784], [-459.196, 108.533], [-452.506, 112.315], [-445.837, 116.086], [-439.331, 120.109], [-432.911, 124.273], [-426.47, 128.427], [-420.073, 132.671], [-413.901, 137.24], [-407.737, 141.813], [-401.615, 146.434], [-395.777, 151.399], [-390.026, 156.458], [-384.199, 161.443], [-378.45, 166.538], [-373.068, 172.02], [-367.807, 177.6], [-362.509, 183.127], [-357.236, 188.681], [-352.07, 194.352], [-347.18, 200.277], [-342.285, 206.2], [-337.44, 212.154], [-332.956, 218.347], [-328.593, 224.574], [-324.224, 230.744], [-319.884, 236.899], [-315.541, 243.031], [-311.207, 249.166], [-306.866, 255.299], [-302.526, 261.438], [-298.182, 267.58], [-293.835, 273.726], [-289.484, 279.877], [-285.132, 286.032], [-280.782, 292.182], [-276.447, 298.315], [-272.131, 304.415], [-267.843, 310.487], [-263.545, 316.552], [-259.136, 322.634], [-254.612, 328.863], [-250.007, 335.389], [-245.616, 342.486], [-242.346, 350.473], [-240.731, 359.053], [-240.378, 367.662], [-241.176, 375.985], [-242.787, 383.858], [-244.497, 391.404], [-246.276, 398.723], [-248.037, 405.941], [-249.673, 413.18], [-251.317, 420.476], [-252.987, 427.858], [-254.663, 435.324], [-256.389, 442.806], [-258.231, 450.153], [-260.031, 457.217], [-261.661, 463.88], [-263.23, 470.253], [-263.348, 476.636], [-260.666, 482.44], [-256.794, 487.718], [-252.82, 493.286], [-248.585, 499.21], [-244.217, 505.393], [-239.819, 511.679], [-235.439, 517.955], [-231.091, 524.177], [-226.775, 530.349], [-222.468, 536.486], [-218.166, 542.617], [-213.858, 548.753], [-209.526, 554.888], [-205.171, 561.018], [-200.811, 567.151], [-196.452, 573.286], [-192.093, 579.42], [-187.736, 585.552], [-183.389, 591.689], [-179.052, 597.832], [-174.713, 603.977], [-170.374, 610.125], [-166.053, 616.288], [-161.748, 622.454], [-157.45, 628.609], [-153.166, 634.746], [-148.895, 640.863], [-144.62, 646.961], [-140.305, 653.03], [-135.994, 659.102], [-131.679, 665.15], [-127.435, 671.203], [-123.1, 677.122], [-118.471, 682.743], [-113.722, 688.219], [-108.941, 693.661], [-104.056, 699.026], [-98.775, 704.006], [-93.364, 708.861], [-87.851, 713.623], [-81.988, 717.961], [-76.059, 722.222], [-70.166, 726.559], [-64.137, 730.73], [-57.86, 734.535], [-51.528, 738.269], [-45.114, 741.884], [-38.58, 745.293], [-32.021, 748.67], [-25.347, 751.827], [-18.582, 754.809], [-11.807, 757.816], [-4.978, 760.769], [1.955, 763.546], [8.925, 766.3], [15.905, 769.08], [22.9, 771.854], [29.884, 774.662], [36.861, 777.475], [43.83, 780.293], [50.801, 783.096], [57.793, 785.845], [64.793, 788.584], [71.797, 791.332], [78.794, 794.11], [85.771, 796.94], [92.744, 799.773], [99.715, 802.603], [106.684, 805.433], [113.652, 808.262], [120.619, 811.091], [127.587, 813.919], [134.554, 816.749], [141.521, 819.574], [148.483, 822.406], [155.45, 825.221], [162.44, 827.975], [169.433, 830.713], [176.417, 833.46], [183.402, 836.197], [190.384, 838.952], [197.386, 841.71], [204.409, 844.504], [211.467, 847.267], [218.608, 849.732], [225.593, 852.113], [232.234, 854.3], [238.39, 856.242], [244.232, 857.714], [249.911, 857.468], [255.076, 855.362], [259.624, 851.831], [263.391, 846.935], [266.47, 840.994], [269.582, 834.55], [272.99, 827.882], [276.507, 821.112], [280.052, 814.354], [283.557, 807.637], [287.045, 800.973], [290.513, 794.333], [293.982, 787.695], [297.458, 781.041], [300.945, 774.37], [304.438, 767.685], [307.934, 760.996], [311.425, 754.312], [314.907, 747.636], [318.382, 740.971], [321.852, 734.318], [325.317, 727.67], [328.784, 721.022], [332.255, 714.364], [335.735, 707.688], [339.225, 700.992], [342.721, 694.288], [346.206, 687.604], [349.659, 680.989], [353.005, 674.472], [356.054, 668.006], [358.58, 661.517], [360.366, 654.949], [361.344, 648.325], [361.595, 641.688], [361.13, 635.056], [359.733, 628.53], [357.503, 622.221], [354.739, 616.107], [351.35, 610.27], [347.219, 604.86], [342.248, 600.085], [336.696, 595.8], [330.869, 591.644], [324.831, 587.514], [318.678, 583.322], [312.47, 579.078], [306.233, 574.826], [300.01, 570.56], [293.832, 566.254], [287.671, 561.945], [281.508, 557.645], [275.341, 553.344], [269.168, 549.043], [262.993, 544.74], [256.819, 540.435], [250.637, 536.131], [244.445, 531.811], [238.281, 527.404], [232.127, 522.933], [225.972, 518.451], [219.839, 513.999], [213.807, 509.562], [207.917, 505.114], [202.058, 500.655], [196.173, 495.914], [189.977, 490.928], [183.339, 485.45], [177.043, 478.177], [173.981, 468.174], [176.547, 457.932], [182.783, 450.315], [189.863, 445.03], [196.472, 440.412], [202.661, 436.021], [208.673, 431.853], [214.63, 427.657], [220.695, 423.417], [226.86, 419.093], [233.083, 414.738], [239.301, 410.415], [245.408, 406.138], [251.394, 402.013], [257.158, 397.908], [262.157, 393.179], [266.346, 387.908], [269.805, 382.238], [272.267, 376.111], [274.105, 369.804], [275.293, 363.361], [275.592, 356.851], [275.144, 350.397], [273.789, 344.088], [271.578, 337.982], [268.606, 332.064], [264.774, 326.411], [260.368, 320.891], [255.798, 315.233], [251.111, 309.473], [246.338, 303.692], [241.561, 297.892], [236.781, 292.095], [232.0, 286.292], [227.213, 280.487], [222.429, 274.681], [217.652, 268.886], [212.887, 263.103], [208.125, 257.328], [203.359, 251.543], [198.597, 245.722], [193.838, 239.868], [189.072, 234.005], [184.308, 228.145], [179.553, 222.294], [174.805, 216.452], [170.062, 210.617], [165.32, 204.784], [160.578, 198.95], [155.836, 193.116], [151.092, 187.282], [146.343, 181.452], [141.592, 175.624], [136.84, 169.794], [132.088, 163.964], [127.334, 158.132], [122.579, 152.298], [117.824, 146.464], [113.069, 140.631], [108.316, 134.799], [103.563, 128.969], [98.812, 123.14], [94.061, 117.311], [89.309, 111.482], [84.558, 105.653], [79.806, 99.823], [75.054, 93.993], [70.302, 88.163], [65.551, 82.334], [60.801, 76.507], [56.052, 70.68], [51.298, 64.858], [46.526, 59.048], [41.751, 53.241], [36.977, 47.43], [32.201, 41.623], [27.431, 35.815], [22.658, 30.014], [17.894, 24.209], [13.162, 18.373], [8.44, 12.518], [3.705, 6.661]],
"outer_wall": [[12.049, -9.878], [7.291, -15.675], [2.541, -21.486], [-2.221, -27.299], [-6.985, -33.122], [-11.757, -38.949], [-16.529, -44.779], [-21.301, -50.608], [-26.07, -56.434], [-30.836, -62.256], [-35.6, -68.075], [-40.363, -73.894], [-45.126, -79.713], [-49.89, -85.533], [-54.655, -91.353], [-59.421, -97.175], [-64.187, -102.996], [-68.952, -108.817], [-73.716, -114.637], [-78.48, -120.457], [-83.244, -126.275], [-88.006, -132.094], [-92.769, -137.91], [-97.529, -143.729], [-102.274, -149.56], [-107.017, -155.393], [-111.762, -161.226], [-116.506, -167.061], [-121.251, -172.895], [-125.996, -178.729], [-130.74, -184.563], [-135.481, -190.402], [-140.222, -196.241], [-144.963, -202.08], [-149.703, -207.918], [-154.441, -213.753], [-159.177, -219.586], [-163.913, -225.418], [-168.652, -231.256], [-173.401, -237.105], [-178.162, -242.97], [-182.928, -248.839], [-187.678, -254.691], [-192.404, -260.473], [-197.077, -266.171], [-201.728, -271.815], [-206.414, -277.553], [-211.334, -283.514], [-216.532, -289.948], [-222.421, -296.964], [-230.421, -303.182], [-240.562, -305.74], [-250.35, -303.594], [-258.472, -299.834], [-265.946, -297.174], [-273.038, -295.222], [-279.682, -293.187], [-286.288, -291.4], [-293.084, -290.285], [-300.001, -289.467], [-307.005, -288.752], [-314.058, -288.604], [-321.08, -289.128], [-328.031, -290.146], [-334.921, -291.514], [-341.71, -293.355], [-348.322, -295.781], [-354.816, -298.516], [-361.235, -301.449], [-367.431, -304.833], [-373.337, -308.691], [-378.969, -312.94], [-384.362, -317.521], [-389.457, -322.494], [-394.184, -327.906], [-398.8, -333.521], [-403.168, -339.447], [-407.464, -345.523], [-411.887, -351.578], [-416.298, -357.678], [-420.744, -363.764], [-425.176, -369.86], [-429.621, -375.945], [-434.05, -382.048], [-438.514, -388.136], [-443.109, -394.136], [-447.755, -400.109], [-452.375, -406.109], [-457.035, -412.088], [-461.802, -417.987], [-466.638, -423.829], [-471.546, -429.601], [-476.47, -435.348], [-481.377, -441.098], [-486.282, -446.839], [-491.186, -452.57], [-496.144, -458.246], [-501.118, -463.905], [-506.097, -469.57], [-511.083, -475.251], [-516.092, -480.938], [-521.255, -486.502], [-526.545, -491.945], [-531.838, -497.37], [-537.112, -502.797], [-542.398, -508.207], [-547.662, -513.64], [-552.966, -519.035], [-558.44, -524.254], [-563.944, -529.429], [-569.421, -534.622], [-574.909, -539.799], [-580.389, -544.988], [-585.885, -550.173], [-591.378, -555.38], [-596.9, -560.575], [-602.581, -565.603], [-608.38, -570.492], [-614.171, -575.369], [-619.948, -580.237], [-625.717, -585.095], [-631.478, -589.95], [-637.241, -594.803], [-643.005, -599.664], [-648.783, -604.524], [-654.563, -609.405], [-660.369, -614.278], [-666.312, -618.991], [-672.362, -623.563], [-678.405, -628.129], [-684.448, -632.685], [-690.48, -637.255], [-696.531, -641.799], [-702.695, -646.178], [-708.909, -650.475], [-715.111, -654.781], [-721.321, -659.08], [-727.533, -663.393], [-733.754, -667.695], [-739.949, -672.005], [-746.133, -676.262], [-752.35, -680.405], [-758.643, -684.473], [-765.007, -688.683], [-771.69, -692.96], [-778.773, -697.726], [-787.217, -702.018], [-797.374, -703.002], [-807.49, -699.98], [-815.508, -693.486], [-820.971, -685.548], [-824.516, -677.404], [-826.807, -669.478], [-828.987, -661.99], [-830.98, -654.71], [-832.874, -647.511], [-834.795, -640.321], [-836.711, -633.079], [-838.658, -625.787], [-840.665, -618.469], [-842.684, -611.159], [-844.679, -603.934], [-846.606, -596.906], [-848.468, -590.172], [-850.917, -584.004], [-854.48, -578.829], [-858.694, -574.522], [-863.609, -571.086], [-869.413, -569.114], [-875.758, -568.463], [-882.454, -568.878], [-889.434, -569.888], [-896.699, -570.95], [-904.15, -572.013], [-911.675, -573.056], [-919.196, -574.09], [-926.683, -575.124], [-934.134, -576.15], [-941.559, -577.175], [-948.971, -578.201], [-956.376, -579.228], [-963.774, -580.253], [-971.171, -581.279], [-978.577, -582.306], [-986.01, -583.341], [-993.477, -584.378], [-1000.967, -585.424], [-1008.456, -586.459], [-1015.917, -587.506], [-1023.356, -588.522], [-1030.799, -589.589], [-1038.332, -590.586], [-1046.021, -591.671], [-1053.984, -592.509], [-1062.242, -592.39], [-1070.664, -591.415], [-1078.937, -589.04], [-1086.695, -585.326], [-1093.756, -580.649], [-1099.888, -575.146], [-1105.346, -569.35], [-1110.53, -563.632], [-1115.661, -558.076], [-1120.859, -552.673], [-1125.984, -547.21], [-1130.961, -541.576], [-1135.977, -535.945], [-1141.019, -530.326], [-1146.036, -524.693], [-1151.07, -519.094], [-1156.054, -513.47], [-1160.877, -507.713], [-1165.745, -501.986], [-1170.688, -496.297], [-1175.659, -490.588], [-1180.632, -484.829], [-1185.682, -479.079], [-1190.653, -473.21], [-1195.216, -466.994], [-1199.667, -460.693], [-1203.941, -454.279], [-1208.034, -447.76], [-1212.078, -441.222], [-1215.886, -434.557], [-1219.512, -427.811], [-1223.094, -421.072], [-1226.608, -414.332], [-1229.924, -407.532], [-1233.187, -400.736], [-1236.478, -393.971], [-1239.773, -387.213], [-1243.083, -380.459], [-1246.383, -373.698], [-1249.691, -366.949], [-1252.975, -360.211], [-1256.265, -353.513], [-1259.506, -346.831], [-1262.867, -340.237], [-1266.622, -333.866], [-1270.441, -327.524], [-1274.248, -321.155], [-1278.046, -314.77], [-1281.929, -308.453], [-1286.142, -302.396], [-1290.392, -296.423], [-1294.591, -290.435], [-1298.978, -284.514], [-1303.656, -278.615], [-1308.555, -272.525], [-1313.543, -265.981], [-1318.097, -258.547], [-1321.334, -249.992], [-1322.688, -240.685], [-1321.762, -231.353], [-1318.82, -222.779], [-1314.799, -215.195], [-1310.317, -208.472], [-1305.682, -202.369], [-1301.499, -196.323], [-1297.721, -190.223], [-1294.196, -184.056], [-1291.066, -177.693], [-1288.242, -171.164], [-1286.071, -164.369], [-1284.25, -157.47], [-1282.571, -150.542], [-1281.342, -143.537], [-1280.396, -136.489], [-1279.781, -129.361], [-1279.948, -122.125], [-1280.401, -114.782], [-1280.674, -107.294], [-1281.046, -99.68], [-1281.235, -91.958], [-1280.918, -84.175], [-1280.433, -76.374], [-1279.535, -68.603], [-1278.316, -60.887], [-1277.033, -53.193], [-1275.304, -45.601], [-1273.508, -38.031], [-1271.428, -30.532], [-1268.818, -23.19], [-1265.98, -15.921], [-1262.964, -8.708], [-1259.641, -1.623], [-1255.847, 5.217], [-1251.957, 11.988], [-1247.818, 18.6], [-1243.392, 25.015], [-1238.788, 31.299], [-1233.9, 37.368], [-1228.884, 43.339], [-1223.478, 48.965], [-1217.777, 54.297], [-1212.118, 59.68], [-1206.236, 64.839], [-1199.948, 69.494], [-1193.598, 74.039], [-1187.106, 78.358], [-1180.37, 82.266], [-1173.619, 86.154], [-1166.753, 89.874], [-1159.631, 93.09], [-1152.376, 95.947], [-1145.096, 98.628], [-1137.78, 101.035], [-1130.476, 103.276], [-1123.22, 105.496], [-1116.002, 107.716], [-1108.796, 109.911], [-1101.569, 112.012], [-1094.339, 114.093], [-1087.112, 116.184], [-1079.885, 118.269], [-1072.659, 120.358], [-1065.432, 122.444], [-1058.204, 124.532], [-1050.977, 126.62], [-1043.751, 128.706], [-1036.531, 130.792], [-1029.317, 132.874], [-1022.108, 134.96], [-1014.886, 137.039], [-1007.639, 139.145], [-1000.324, 141.24], [-992.936, 143.408], [-985.364, 145.275], [-977.591, 146.598], [-969.726, 147.736], [-961.761, 148.28], [-953.771, 148.293], [-945.795, 148.015], [-937.916, 146.946], [-930.189, 145.232], [-922.552, 143.28], [-914.865, 141.447], [-907.2, 139.316], [-899.807, 136.355], [-892.667, 132.91], [-885.907, 128.932], [-879.34, 124.862], [-872.788, 120.968], [-866.349, 117.057], [-860.029, 113.108], [-853.815, 109.149], [-847.49, 105.561], [-841.139, 102.219], [-834.68, 99.265], [-827.998, 96.996], [-821.243, 94.997], [-814.362, 93.273], [-807.299, 92.014], [-800.074, 91.19], [-792.75, 90.447], [-785.356, 89.646], [-777.904, 88.962], [-770.423, 88.358], [-762.932, 87.773], [-755.439, 87.176], [-747.944, 86.586], [-740.45, 85.992], [-732.955, 85.4], [-725.459, 84.807], [-717.961, 84.214], [-710.459, 83.622], [-702.951, 83.027], [-695.441, 82.424], [-687.937, 81.799], [-680.447, 81.184], [-672.983, 80.554], [-665.549, 79.957], [-658.139, 79.499], [-650.75, 79.142], [-643.372, 78.944], [-636.0, 78.878], [-628.634, 78.996], [-621.273, 79.188], [-613.916, 79.446], [-606.58, 80.075], [-599.26, 80.915], [-591.928, 81.702], [-584.595, 82.561], [-577.309, 83.736], [-570.04, 84.981], [-562.798, 86.355], [-555.615, 88.022], [-548.444, 89.754], [-541.303, 91.611], [-534.173, 93.49], [-527.109, 95.56], [-520.115, 97.817], [-513.154, 100.186], [-506.34, 103.0], [-499.575, 105.982], [-492.774, 108.896], [-486.012, 111.871], [-479.233, 114.754], [-472.525, 117.753], [-466.116, 121.34], [-459.793, 125.105], [-453.427, 128.831], [-447.057, 132.578], [-440.694, 136.339], [-434.545, 140.418], [-428.588, 144.755], [-422.641, 149.093], [-416.695, 153.441], [-410.922, 158.029], [-405.293, 162.804], [-399.693, 167.608], [-394.063, 172.369], [-388.486, 177.186], [-383.221, 182.34], [-378.135, 187.681], [-373.023, 193.005], [-367.93, 198.35], [-363.025, 203.854], [-358.366, 209.553], [-353.713, 215.25], [-349.148, 221.036], [-344.83, 227.045], [-340.529, 233.114], [-336.18, 239.2], [-331.827, 245.32], [-327.457, 251.448], [-323.088, 257.581], [-318.722, 263.712], [-314.377, 269.853], [-310.039, 275.993], [-305.703, 282.129], [-301.371, 288.26], [-297.041, 294.387], [-292.708, 300.519], [-288.364, 306.67], [-283.996, 312.85], [-279.579, 319.042], [-275.135, 325.219], [-270.735, 331.331], [-266.412, 337.247], [-262.186, 342.872], [-258.626, 348.577], [-256.302, 354.614], [-254.967, 360.842], [-254.841, 367.3], [-255.971, 373.902], [-257.511, 380.716], [-259.109, 387.828], [-260.762, 395.154], [-262.431, 402.58], [-264.094, 410.015], [-265.731, 417.398], [-267.345, 424.694], [-268.946, 431.903], [-270.534, 439.096], [-272.168, 446.39], [-273.887, 453.922], [-275.747, 461.814], [-277.66, 470.297], [-277.748, 479.425], [-274.395, 487.912], [-269.473, 495.099], [-264.816, 501.749], [-260.419, 508.109], [-256.144, 514.246], [-251.954, 520.311], [-247.825, 526.433], [-243.723, 532.651], [-239.585, 538.919], [-235.429, 545.216], [-231.268, 551.52], [-227.111, 557.816], [-222.96, 564.103], [-218.815, 570.381], [-214.673, 576.656], [-210.532, 582.93], [-206.39, 589.204], [-202.247, 595.481], [-198.102, 601.758], [-193.959, 608.038], [-189.813, 614.313], [-185.636, 620.563], [-181.45, 626.804], [-177.254, 633.045], [-173.063, 639.307], [-168.836, 645.572], [-164.636, 651.885], [-160.357, 658.161], [-155.73, 664.189], [-151.023, 670.155], [-146.346, 676.162], [-141.622, 682.184], [-136.875, 688.26], [-131.842, 694.173], [-126.416, 699.776], [-120.963, 705.352], [-115.387, 710.8], [-109.441, 715.836], [-103.497, 720.838], [-97.581, 725.86], [-91.423, 730.566], [-85.11, 735.044], [-78.671, 739.314], [-72.135, 743.412], [-65.538, 747.389], [-58.854, 751.193], [-52.125, 754.891], [-45.286, 758.364], [-38.426, 761.779], [-31.577, 765.212], [-24.616, 768.382], [-17.574, 771.318], [-10.55, 774.224], [-3.553, 777.122], [3.444, 779.95], [10.426, 782.764], [17.395, 785.578], [24.364, 788.389], [31.335, 791.203], [38.312, 794.018], [45.294, 796.835], [52.274, 799.653], [59.252, 802.468], [66.223, 805.282], [73.191, 808.091], [80.165, 810.886], [87.141, 813.678], [94.119, 816.474], [101.099, 819.269], [108.081, 822.066], [115.063, 824.862], [122.045, 827.658], [129.027, 830.455], [136.01, 833.254], [142.993, 836.057], [149.978, 838.862], [156.965, 841.666], [163.953, 844.473], [170.947, 847.28], [177.943, 850.09], [184.937, 852.895], [191.91, 855.699], [198.854, 858.485], [205.762, 861.301], [212.72, 864.096], [219.801, 867.022], [227.282, 869.851], [235.35, 872.69], [244.428, 874.408], [253.962, 872.696], [262.642, 868.353], [269.782, 862.269], [274.992, 855.084], [278.962, 847.792], [282.56, 840.821], [286.045, 834.118], [289.413, 827.511], [292.812, 820.929], [296.217, 814.29], [299.657, 807.603], [303.079, 800.872], [306.47, 794.125], [309.856, 787.393], [313.223, 780.676], [316.603, 773.983], [320.096, 767.352], [323.621, 760.732], [327.143, 754.097], [330.674, 747.452], [334.214, 740.798], [337.735, 734.125], [341.177, 727.413], [344.602, 720.704], [348.024, 714.016], [351.434, 707.348], [354.853, 700.694], [358.308, 694.033], [361.786, 687.301], [365.348, 680.466], [368.954, 673.439], [371.981, 665.936], [373.953, 657.934], [375.36, 649.724], [375.865, 641.347], [375.04, 632.99], [373.124, 624.852], [370.459, 616.962], [366.912, 609.442], [362.46, 602.442], [357.587, 595.757], [351.771, 589.991], [345.653, 584.774], [339.557, 579.775], [333.214, 575.37], [326.944, 571.083], [320.738, 566.836], [314.554, 562.606], [308.369, 558.37], [302.168, 554.132], [295.924, 549.935], [289.661, 545.76], [283.401, 541.587], [277.146, 537.416], [270.931, 533.191], [264.752, 528.915], [258.585, 524.633], [252.424, 520.371], [246.297, 516.111], [240.176, 511.891], [234.098, 507.616], [228.146, 503.109], [222.157, 498.51], [216.073, 493.87], [209.967, 489.205], [204.002, 484.645], [198.585, 480.264], [193.811, 476.446], [190.032, 472.572], [188.093, 467.911], [189.2, 463.011], [193.214, 459.337], [198.112, 456.0], [203.678, 452.116], [209.869, 447.939], [216.247, 443.551], [222.613, 439.144], [228.855, 434.751], [234.991, 430.418], [241.092, 426.15], [247.18, 421.822], [253.422, 417.516], [259.709, 412.955], [265.972, 408.008], [272.152, 402.61], [277.384, 396.105], [282.152, 389.168], [286.12, 381.686], [288.504, 373.574], [290.248, 365.319], [291.054, 356.874], [290.654, 348.346], [289.114, 339.919], [286.532, 331.777], [283.044, 324.101], [278.854, 317.01], [274.039, 310.637], [269.177, 304.59], [264.845, 298.305], [260.248, 292.318], [255.429, 286.535], [250.626, 280.739], [245.73, 275.025], [240.953, 269.221], [236.202, 263.395], [231.479, 257.529], [226.771, 251.628], [222.018, 245.753], [217.095, 240.033], [212.012, 234.479], [207.097, 228.816], [202.344, 223.032], [197.583, 217.252], [192.818, 211.459], [188.042, 205.659], [183.263, 199.85], [178.491, 194.034], [173.72, 188.216], [168.949, 182.4], [164.18, 176.584], [159.41, 170.769], [154.64, 164.953], [149.871, 159.138], [145.103, 153.324], [140.335, 147.512], [135.571, 141.7], [130.824, 135.875], [126.091, 130.037], [121.357, 124.197], [116.622, 118.356], [111.886, 112.514], [107.15, 106.672], [102.413, 100.829], [97.677, 94.987], [92.942, 89.146], [88.206, 83.304], [83.47, 77.462], [78.735, 71.619], [73.999, 65.775], [69.262, 59.929], [64.525, 54.083], [59.788, 48.238], [55.053, 42.393], [50.317, 36.55], [45.583, 30.704], [40.843, 24.86], [36.107, 19.006], [31.358, 13.161], [26.536, 7.38], [21.699, 1.622], [16.867, -4.127]],
"lap_time_limit": 120.0
}
}Values in Code
def setup(track):
RacingInterface.log(track.name)
# > melbourne
RacingInterface.log(track.lap_length)
# > 5261.327
RacingInterface.log(len(track.centerline))
# > 700
RacingInterface.log(track.centerline[0])
# > (5.529, -4.558)
RacingInterface.log(track.widths[0])
# > (8.415, 8.463)
RacingInterface.log(track.start_pos)
# > (-12.69, -27.056)
RacingInterface.log(track.start_heading)
# > -2.25
def on_update(state):
RacingInterface.log(state.tick)
# > 150
RacingInterface.log(state.elapsed_seconds)
# > 5.0
RacingInterface.log(state.rank)
# > 2
RacingInterface.log(state.laps_left)
# > 1.9804844330426643
RacingInterface.log(state.car.pos)
# > (-77.63484688722933, -106.58509465118973)
RacingInterface.log(state.car.heading)
# > -2.257488652160854
RacingInterface.log(state.car.velocity)
# > (49.65670580576342, -0.004826347252652852)
RacingInterface.log(state.car.acceleration)
# > (13.625606320038202, 0.06649070496325817)
RacingInterface.log(state.car.engine_rpm)
# > 11612.951956179339
RacingInterface.log(len(state.surroundings))
# > 91
# The leader's tail, its two ends a meter either side of straight ahead
ahead = next(entity for entity in state.surroundings if entity.entity_id == 0)
RacingInterface.log(ahead)
# > SensedEntity(entity_id=0, start_angle=-0.2765088217543659, end_angle=0.27708613912584656, start_distance=3.6591122315496287, end_distance=3.659484219595061, end1_is_true_endpoint=True, end2_is_true_endpoint=True)
RacingInterface.log(ahead.end1)
# > (3.520118608045155, -0.9989330850313962)
RacingInterface.log(ahead.end2)
# > (3.5198991191984286, 1.001066902924775)
# The left wall, up to where the leader hides it, which comes just before it
RacingInterface.log(state.surroundings[state.surroundings.index(ahead) - 1])
# > SensedEntity(entity_id=-1, start_angle=-0.3005440519699881, end_angle=-0.2765088217543659, start_distance=27.536373463468838, end_distance=29.864971106957462, end1_is_true_endpoint=True, end2_is_true_endpoint=False)