diff options
Diffstat (limited to 'metrics')
43 files changed, 1510 insertions, 0 deletions
diff --git a/metrics/cache-metrics.db b/metrics/cache-metrics.db Binary files differindex b52622fb7f..53ddff9bf6 100644 --- a/metrics/cache-metrics.db +++ b/metrics/cache-metrics.db diff --git a/metrics/linux-gcc8-release/location_component/dateline/metrics.json b/metrics/linux-gcc8-release/location_component/dateline/metrics.json new file mode 100644 index 0000000000..a8b686bab4 --- /dev/null +++ b/metrics/linux-gcc8-release/location_component/dateline/metrics.json @@ -0,0 +1,47 @@ +{ + "memory": [ + [ + "probeMemory - default - end", + 2030499, + 3176 + ], + [ + "probeMemory - default - start", + 0, + 0 + ] + ], + "network": [ + [ + "probeNetwork - default - end", + 3, + 40583 + ], + [ + "probeNetwork - default - start", + 0, + 0 + ] + ], + "gfx": [ + [ + "probeGFX - default - end", + 0, + 5, + 5, + 1, + [ + 65536, + 65536 + ], + [ + 22, + 22 + ], + [ + 64, + 64 + ] + ] + ] +}
\ No newline at end of file diff --git a/metrics/linux-gcc8-release/location_component/default/metrics.json b/metrics/linux-gcc8-release/location_component/default/metrics.json new file mode 100644 index 0000000000..cf12bfdbdd --- /dev/null +++ b/metrics/linux-gcc8-release/location_component/default/metrics.json @@ -0,0 +1,47 @@ +{ + "memory": [ + [ + "probeMemory - default - end", + 2019459, + 3183 + ], + [ + "probeMemory - default - start", + 0, + 0 + ] + ], + "network": [ + [ + "probeNetwork - default - end", + 3, + 40583 + ], + [ + "probeNetwork - default - start", + 0, + 0 + ] + ], + "gfx": [ + [ + "probeGFX - default - end", + 0, + 5, + 5, + 1, + [ + 65536, + 65536 + ], + [ + 22, + 22 + ], + [ + 64, + 64 + ] + ] + ] +}
\ No newline at end of file diff --git a/metrics/linux-gcc8-release/location_component/no_radius_border/metrics.json b/metrics/linux-gcc8-release/location_component/no_radius_border/metrics.json new file mode 100644 index 0000000000..448a15c30f --- /dev/null +++ b/metrics/linux-gcc8-release/location_component/no_radius_border/metrics.json @@ -0,0 +1,47 @@ +{ + "memory": [ + [ + "probeMemory - default - end", + 2027964, + 3148 + ], + [ + "probeMemory - default - start", + 0, + 0 + ] + ], + "network": [ + [ + "probeNetwork - default - end", + 3, + 40583 + ], + [ + "probeNetwork - default - start", + 0, + 0 + ] + ], + "gfx": [ + [ + "probeGFX - default - end", + 0, + 5, + 5, + 1, + [ + 65536, + 65536 + ], + [ + 22, + 22 + ], + [ + 64, + 64 + ] + ] + ] +}
\ No newline at end of file diff --git a/metrics/linux-gcc8-release/location_component/no_radius_fill/metrics.json b/metrics/linux-gcc8-release/location_component/no_radius_fill/metrics.json new file mode 100644 index 0000000000..adb9c3079f --- /dev/null +++ b/metrics/linux-gcc8-release/location_component/no_radius_fill/metrics.json @@ -0,0 +1,47 @@ +{ + "memory": [ + [ + "probeMemory - default - end", + 2026685, + 3230 + ], + [ + "probeMemory - default - start", + 0, + 0 + ] + ], + "network": [ + [ + "probeNetwork - default - end", + 3, + 40583 + ], + [ + "probeNetwork - default - start", + 0, + 0 + ] + ], + "gfx": [ + [ + "probeGFX - default - end", + 0, + 5, + 5, + 1, + [ + 65536, + 65536 + ], + [ + 22, + 22 + ], + [ + 64, + 64 + ] + ] + ] +}
\ No newline at end of file diff --git a/metrics/linux-gcc8-release/location_component/no_textures/metrics.json b/metrics/linux-gcc8-release/location_component/no_textures/metrics.json new file mode 100644 index 0000000000..afa2b9cfa2 --- /dev/null +++ b/metrics/linux-gcc8-release/location_component/no_textures/metrics.json @@ -0,0 +1,47 @@ +{ + "memory": [ + [ + "probeMemory - default - end", + 2019537, + 2903 + ], + [ + "probeMemory - default - start", + 0, + 0 + ] + ], + "network": [ + [ + "probeNetwork - default - end", + 3, + 40583 + ], + [ + "probeNetwork - default - start", + 0, + 0 + ] + ], + "gfx": [ + [ + "probeGFX - default - end", + 0, + 5, + 5, + 1, + [ + 65536, + 65536 + ], + [ + 22, + 22 + ], + [ + 64, + 64 + ] + ] + ] +}
\ No newline at end of file diff --git a/metrics/linux-gcc8-release/location_component/one_texture/metrics.json b/metrics/linux-gcc8-release/location_component/one_texture/metrics.json new file mode 100644 index 0000000000..1eff342890 --- /dev/null +++ b/metrics/linux-gcc8-release/location_component/one_texture/metrics.json @@ -0,0 +1,47 @@ +{ + "memory": [ + [ + "probeMemory - default - end", + 2016330, + 3092 + ], + [ + "probeMemory - default - start", + 0, + 0 + ] + ], + "network": [ + [ + "probeNetwork - default - end", + 3, + 40583 + ], + [ + "probeNetwork - default - start", + 0, + 0 + ] + ], + "gfx": [ + [ + "probeGFX - default - end", + 0, + 5, + 5, + 1, + [ + 65536, + 65536 + ], + [ + 22, + 22 + ], + [ + 64, + 64 + ] + ] + ] +}
\ No newline at end of file diff --git a/metrics/linux-gcc8-release/location_component/rotated/metrics.json b/metrics/linux-gcc8-release/location_component/rotated/metrics.json new file mode 100644 index 0000000000..bc0d83fa42 --- /dev/null +++ b/metrics/linux-gcc8-release/location_component/rotated/metrics.json @@ -0,0 +1,47 @@ +{ + "memory": [ + [ + "probeMemory - default - end", + 2022474, + 3233 + ], + [ + "probeMemory - default - start", + 0, + 0 + ] + ], + "network": [ + [ + "probeNetwork - default - end", + 3, + 40583 + ], + [ + "probeNetwork - default - start", + 0, + 0 + ] + ], + "gfx": [ + [ + "probeGFX - default - end", + 0, + 5, + 5, + 1, + [ + 65536, + 65536 + ], + [ + 22, + 22 + ], + [ + 64, + 64 + ] + ] + ] +}
\ No newline at end of file diff --git a/metrics/linux-gcc8-release/location_component/tilted/metrics.json b/metrics/linux-gcc8-release/location_component/tilted/metrics.json new file mode 100644 index 0000000000..50ce665ac8 --- /dev/null +++ b/metrics/linux-gcc8-release/location_component/tilted/metrics.json @@ -0,0 +1,47 @@ +{ + "memory": [ + [ + "probeMemory - default - end", + 2054777, + 3404 + ], + [ + "probeMemory - default - start", + 0, + 0 + ] + ], + "network": [ + [ + "probeNetwork - default - end", + 3, + 40583 + ], + [ + "probeNetwork - default - start", + 0, + 0 + ] + ], + "gfx": [ + [ + "probeGFX - default - end", + 0, + 9, + 5, + 1, + [ + 131072, + 131072 + ], + [ + 22, + 22 + ], + [ + 64, + 64 + ] + ] + ] +}
\ No newline at end of file diff --git a/metrics/linux-gcc8-release/location_component/tilted_texture_shift/metrics.json b/metrics/linux-gcc8-release/location_component/tilted_texture_shift/metrics.json new file mode 100644 index 0000000000..1e8f85b822 --- /dev/null +++ b/metrics/linux-gcc8-release/location_component/tilted_texture_shift/metrics.json @@ -0,0 +1,47 @@ +{ + "memory": [ + [ + "probeMemory - default - end", + 2052965, + 3306 + ], + [ + "probeMemory - default - start", + 0, + 0 + ] + ], + "network": [ + [ + "probeNetwork - default - end", + 3, + 40583 + ], + [ + "probeNetwork - default - start", + 0, + 0 + ] + ], + "gfx": [ + [ + "probeGFX - default - end", + 0, + 8, + 5, + 1, + [ + 114688, + 114688 + ], + [ + 22, + 22 + ], + [ + 64, + 64 + ] + ] + ] +}
\ No newline at end of file diff --git a/metrics/linux-gcc8-release/location_component/tilted_texture_shift_bottom_left/metrics.json b/metrics/linux-gcc8-release/location_component/tilted_texture_shift_bottom_left/metrics.json new file mode 100644 index 0000000000..5cca7b84a7 --- /dev/null +++ b/metrics/linux-gcc8-release/location_component/tilted_texture_shift_bottom_left/metrics.json @@ -0,0 +1,47 @@ +{ + "memory": [ + [ + "probeMemory - default - end", + 2050020, + 3367 + ], + [ + "probeMemory - default - start", + 0, + 0 + ] + ], + "network": [ + [ + "probeNetwork - default - end", + 3, + 40583 + ], + [ + "probeNetwork - default - start", + 0, + 0 + ] + ], + "gfx": [ + [ + "probeGFX - default - end", + 0, + 9, + 5, + 1, + [ + 131072, + 131072 + ], + [ + 22, + 22 + ], + [ + 64, + 64 + ] + ] + ] +}
\ No newline at end of file diff --git a/metrics/linux-gcc8-release/location_component/tilted_texture_shift_bottom_right/metrics.json b/metrics/linux-gcc8-release/location_component/tilted_texture_shift_bottom_right/metrics.json new file mode 100644 index 0000000000..8a8d14205d --- /dev/null +++ b/metrics/linux-gcc8-release/location_component/tilted_texture_shift_bottom_right/metrics.json @@ -0,0 +1,47 @@ +{ + "memory": [ + [ + "probeMemory - default - end", + 2051851, + 3386 + ], + [ + "probeMemory - default - start", + 0, + 0 + ] + ], + "network": [ + [ + "probeNetwork - default - end", + 3, + 40583 + ], + [ + "probeNetwork - default - start", + 0, + 0 + ] + ], + "gfx": [ + [ + "probeGFX - default - end", + 0, + 8, + 5, + 1, + [ + 114688, + 114688 + ], + [ + 22, + 22 + ], + [ + 64, + 64 + ] + ] + ] +}
\ No newline at end of file diff --git a/metrics/linux-gcc8-release/location_component/tilted_texture_shift_top_left/metrics.json b/metrics/linux-gcc8-release/location_component/tilted_texture_shift_top_left/metrics.json new file mode 100644 index 0000000000..555e5d633b --- /dev/null +++ b/metrics/linux-gcc8-release/location_component/tilted_texture_shift_top_left/metrics.json @@ -0,0 +1,47 @@ +{ + "memory": [ + [ + "probeMemory - default - end", + 2052276, + 3502 + ], + [ + "probeMemory - default - start", + 0, + 0 + ] + ], + "network": [ + [ + "probeNetwork - default - end", + 3, + 40583 + ], + [ + "probeNetwork - default - start", + 0, + 0 + ] + ], + "gfx": [ + [ + "probeGFX - default - end", + 0, + 9, + 5, + 1, + [ + 131072, + 131072 + ], + [ + 22, + 22 + ], + [ + 64, + 64 + ] + ] + ] +}
\ No newline at end of file diff --git a/metrics/linux-gcc8-release/location_component/tilted_texture_shift_top_right/metrics.json b/metrics/linux-gcc8-release/location_component/tilted_texture_shift_top_right/metrics.json new file mode 100644 index 0000000000..79ad9f7fd2 --- /dev/null +++ b/metrics/linux-gcc8-release/location_component/tilted_texture_shift_top_right/metrics.json @@ -0,0 +1,47 @@ +{ + "memory": [ + [ + "probeMemory - default - end", + 2089360, + 3395 + ], + [ + "probeMemory - default - start", + 0, + 0 + ] + ], + "network": [ + [ + "probeNetwork - default - end", + 3, + 40583 + ], + [ + "probeNetwork - default - start", + 0, + 0 + ] + ], + "gfx": [ + [ + "probeGFX - default - end", + 0, + 9, + 5, + 1, + [ + 131072, + 131072 + ], + [ + 22, + 22 + ], + [ + 64, + 64 + ] + ] + ] +}
\ No newline at end of file diff --git a/metrics/linux-gcc8-release/location_component/two_textures/metrics.json b/metrics/linux-gcc8-release/location_component/two_textures/metrics.json new file mode 100644 index 0000000000..b65a8f2a4c --- /dev/null +++ b/metrics/linux-gcc8-release/location_component/two_textures/metrics.json @@ -0,0 +1,47 @@ +{ + "memory": [ + [ + "probeMemory - default - end", + 2022280, + 3143 + ], + [ + "probeMemory - default - start", + 0, + 0 + ] + ], + "network": [ + [ + "probeNetwork - default - end", + 3, + 40583 + ], + [ + "probeNetwork - default - start", + 0, + 0 + ] + ], + "gfx": [ + [ + "probeGFX - default - end", + 0, + 5, + 5, + 1, + [ + 65536, + 65536 + ], + [ + 22, + 22 + ], + [ + 64, + 64 + ] + ] + ] +}
\ No newline at end of file diff --git a/metrics/tests/location_component/dateline/expected.png b/metrics/tests/location_component/dateline/expected.png Binary files differnew file mode 100644 index 0000000000..301e1e18d4 --- /dev/null +++ b/metrics/tests/location_component/dateline/expected.png diff --git a/metrics/tests/location_component/dateline/style.json b/metrics/tests/location_component/dateline/style.json new file mode 100644 index 0000000000..d1b475c5dc --- /dev/null +++ b/metrics/tests/location_component/dateline/style.json @@ -0,0 +1,63 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 512, + "height": 256, + "operations": [ + [ + "addImage", + "puck_hat", + "puck_hat.png" + ], + [ + "addImage", + "puck", + "puck.png" + ], + [ + "addImage", + "puck_shadow", + "puck_shadow.png" + ] + ] + } + }, + "center": [ + 35.693055, + 139.766707 + ], + "zoom": 16, + "pitch" : 0, + "bearing" : 42, + "sources": {}, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "puck123", + "type": "location-component", + "layout" : { + "accuracy-radius": 90.0, + "bearing-image" : "puck", + "bearing-image-size" : 48, + "top-image" : "puck_hat", + "top-image-size" : 16, + "shadow-image" : "puck_shadow", + "shadow-image-size" : 112, + "bearing" : 45, + "perspective-compensation" : 1, + "image-tilt-displacement" : 5 + }, + "paint" : { + "accuracy-radius-color": "rgba(255,0,0,0.2)", + "accuracy-radius-border-color": "rgba(255,0,255,0.6)" + } + } + ] +} diff --git a/metrics/tests/location_component/default/expected.png b/metrics/tests/location_component/default/expected.png Binary files differnew file mode 100644 index 0000000000..8b26f151cd --- /dev/null +++ b/metrics/tests/location_component/default/expected.png diff --git a/metrics/tests/location_component/default/style.json b/metrics/tests/location_component/default/style.json new file mode 100644 index 0000000000..b502d6ef2a --- /dev/null +++ b/metrics/tests/location_component/default/style.json @@ -0,0 +1,61 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 512, + "height": 256, + "operations": [ + [ + "addImage", + "puck_hat", + "puck_hat.png" + ], + [ + "addImage", + "puck", + "puck.png" + ], + [ + "addImage", + "puck_shadow", + "puck_shadow.png" + ] + ] + } + }, + "center": [ 139.766707, 35.693055 ], + "zoom": 16, + "pitch" : 0, + "bearing" : 42, + "sources": {}, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "puck123", + "type": "location-component", + "layout" : { + "location" : [ 35.693055, 139.766707, 0], + "accuracy-radius": 90.0, + "bearing-image" : "puck", + "bearing-image-size" : 48, + "top-image" : "puck_hat", + "top-image-size" : 16, + "shadow-image" : "puck_shadow", + "shadow-image-size" : 112, + "bearing" : 45, + "perspective-compensation" : 1, + "image-tilt-displacement" : 5 + }, + "paint" : { + "accuracy-radius-color": "rgba(255,0,0,0.2)", + "accuracy-radius-border-color": "rgba(255,0,255,0.6)" + } + } + ] +} diff --git a/metrics/tests/location_component/no_radius_border/expected.png b/metrics/tests/location_component/no_radius_border/expected.png Binary files differnew file mode 100644 index 0000000000..c5c12575b6 --- /dev/null +++ b/metrics/tests/location_component/no_radius_border/expected.png diff --git a/metrics/tests/location_component/no_radius_border/style.json b/metrics/tests/location_component/no_radius_border/style.json new file mode 100644 index 0000000000..4d4d7fe57b --- /dev/null +++ b/metrics/tests/location_component/no_radius_border/style.json @@ -0,0 +1,61 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 512, + "height": 256, + "operations": [ + [ + "addImage", + "puck_hat", + "puck_hat.png" + ], + [ + "addImage", + "puck", + "puck.png" + ], + [ + "addImage", + "puck_shadow", + "puck_shadow.png" + ] + ] + } + }, + "center": [ 139.766707, 35.693055 ], + "zoom": 16, + "pitch" : 0, + "bearing" : 42, + "sources": {}, + "sprite" : {}, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "puck123", + "type": "location-component", + "layout" : { + "location" : [ 35.693055, 139.766707, 0], + "accuracy-radius": 90.0, + "bearing-image" : "puck", + "bearing-image-size" : 48, + "top-image" : "puck_hat", + "top-image-size" : 16, + "shadow-image" : "puck_shadow", + "shadow-image-size" : 112, + "bearing" : 45, + "perspective-compensation" : 1, + "image-tilt-displacement" : 5 + }, + "paint" : { + "accuracy-radius-color": "rgba(255,0,0,0.2)" + } + } + ] +} diff --git a/metrics/tests/location_component/no_radius_fill/expected.png b/metrics/tests/location_component/no_radius_fill/expected.png Binary files differnew file mode 100644 index 0000000000..bdd22e7197 --- /dev/null +++ b/metrics/tests/location_component/no_radius_fill/expected.png diff --git a/metrics/tests/location_component/no_radius_fill/style.json b/metrics/tests/location_component/no_radius_fill/style.json new file mode 100644 index 0000000000..f54bf2b710 --- /dev/null +++ b/metrics/tests/location_component/no_radius_fill/style.json @@ -0,0 +1,60 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 512, + "height": 256, + "operations": [ + [ + "addImage", + "puck_hat", + "puck_hat.png" + ], + [ + "addImage", + "puck", + "puck.png" + ], + [ + "addImage", + "puck_shadow", + "puck_shadow.png" + ] + ] + } + }, + "center": [ 139.766707, 35.693055 ], + "zoom": 16, + "pitch" : 0, + "bearing" : 42, + "sources": {}, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "puck123", + "type": "location-component", + "layout" : { + "location" : [ 35.693055, 139.766707, 0], + "accuracy-radius": 90.0, + "bearing-image" : "puck", + "bearing-image-size" : 48, + "top-image" : "puck_hat", + "top-image-size" : 16, + "shadow-image" : "puck_shadow", + "shadow-image-size" : 112, + "bearing" : 45, + "perspective-compensation" : 1, + "image-tilt-displacement" : 5 + }, + "paint" : { + "accuracy-radius-border-color": "rgba(255,0,255,0.6)" + } + } + ] +} diff --git a/metrics/tests/location_component/no_textures/expected.png b/metrics/tests/location_component/no_textures/expected.png Binary files differnew file mode 100644 index 0000000000..11044f9e8d --- /dev/null +++ b/metrics/tests/location_component/no_textures/expected.png diff --git a/metrics/tests/location_component/no_textures/style.json b/metrics/tests/location_component/no_textures/style.json new file mode 100644 index 0000000000..49efafa4bf --- /dev/null +++ b/metrics/tests/location_component/no_textures/style.json @@ -0,0 +1,58 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 512, + "height": 256, + "operations": [ + [ + "addImage", + "puck_hat", + "puck_hat.png" + ], + [ + "addImage", + "puck", + "puck.png" + ], + [ + "addImage", + "puck_shadow", + "puck_shadow.png" + ] + ] + } + }, + "center": [ 139.766707, 35.693055 ], + "zoom": 16, + "pitch" : 0, + "bearing" : 42, + "sources": {}, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "puck123", + "type": "location-component", + "layout" : { + "location" : [ 35.693055, 139.766707, 0], + "accuracy-radius": 90.0, + "bearing-image-size" : 48, + "top-image-size" : 16, + "shadow-image-size" : 112, + "bearing" : 45, + "perspective-compensation" : 1, + "image-tilt-displacement" : 5 + }, + "paint" : { + "accuracy-radius-color": "rgba(255,0,0,0.2)", + "accuracy-radius-border-color": "rgba(255,0,255,0.6)" + } + } + ] +} diff --git a/metrics/tests/location_component/one_texture/expected.png b/metrics/tests/location_component/one_texture/expected.png Binary files differnew file mode 100644 index 0000000000..6196a50f8e --- /dev/null +++ b/metrics/tests/location_component/one_texture/expected.png diff --git a/metrics/tests/location_component/one_texture/style.json b/metrics/tests/location_component/one_texture/style.json new file mode 100644 index 0000000000..76fd703bbd --- /dev/null +++ b/metrics/tests/location_component/one_texture/style.json @@ -0,0 +1,59 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 512, + "height": 256, + "operations": [ + [ + "addImage", + "puck_hat", + "puck_hat.png" + ], + [ + "addImage", + "puck", + "puck.png" + ], + [ + "addImage", + "puck_shadow", + "puck_shadow.png" + ] + ] + } + }, + "center": [ 139.766707, 35.693055 ], + "zoom": 16, + "pitch" : 0, + "bearing" : 42, + "sources": {}, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "puck123", + "type": "location-component", + "layout" : { + "location" : [ 35.693055, 139.766707, 0], + "accuracy-radius": 90.0, + "bearing-image" : "puck", + "bearing-image-size" : 48, + "top-image-size" : 16, + "shadow-image-size" : 112, + "bearing" : 45, + "perspective-compensation" : 1, + "image-tilt-displacement" : 5 + }, + "paint" : { + "accuracy-radius-color": "rgba(255,0,0,0.2)", + "accuracy-radius-border-color": "rgba(255,0,255,0.6)" + } + } + ] +} diff --git a/metrics/tests/location_component/rotated/expected.png b/metrics/tests/location_component/rotated/expected.png Binary files differnew file mode 100644 index 0000000000..3d5ca56bb8 --- /dev/null +++ b/metrics/tests/location_component/rotated/expected.png diff --git a/metrics/tests/location_component/rotated/style.json b/metrics/tests/location_component/rotated/style.json new file mode 100644 index 0000000000..3b2545f099 --- /dev/null +++ b/metrics/tests/location_component/rotated/style.json @@ -0,0 +1,61 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 512, + "height": 256, + "operations": [ + [ + "addImage", + "puck_hat", + "puck_hat.png" + ], + [ + "addImage", + "puck", + "puck.png" + ], + [ + "addImage", + "puck_shadow", + "puck_shadow.png" + ] + ] + } + }, + "center": [ 139.766707, 35.693055 ], + "zoom": 16, + "pitch" : 0, + "bearing" : 42, + "sources": {}, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "puck123", + "type": "location-component", + "layout" : { + "location" : [ 35.693055, 139.766707, 0], + "accuracy-radius": 90.0, + "bearing-image" : "puck", + "bearing-image-size" : 48, + "top-image" : "puck_hat", + "top-image-size" : 16, + "shadow-image" : "puck_shadow", + "shadow-image-size" : 112, + "bearing" : 0, + "perspective-compensation" : 1, + "image-tilt-displacement" : 5 + }, + "paint" : { + "accuracy-radius-color": "rgba(255,0,0,0.2)", + "accuracy-radius-border-color": "rgba(255,0,255,0.6)" + } + } + ] +} diff --git a/metrics/tests/location_component/tilted/expected.png b/metrics/tests/location_component/tilted/expected.png Binary files differnew file mode 100644 index 0000000000..231190a0ee --- /dev/null +++ b/metrics/tests/location_component/tilted/expected.png diff --git a/metrics/tests/location_component/tilted/style.json b/metrics/tests/location_component/tilted/style.json new file mode 100644 index 0000000000..902eb480e1 --- /dev/null +++ b/metrics/tests/location_component/tilted/style.json @@ -0,0 +1,63 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 512, + "height": 256, + "operations": [ + [ + "addImage", + "puck_hat", + "puck_hat.png" + ], + [ + "addImage", + "puck", + "puck.png" + ], + [ + "addImage", + "puck_shadow", + "puck_shadow.png" + ] + ] + } + }, + "center": [ + 35.693055, + 139.766707 + ], + "zoom": 16, + "pitch" : 60, + "bearing" : 42, + "sources": {}, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "puck123", + "type": "location-component", + "layout" : { + "accuracy-radius": 90.0, + "bearing-image" : "puck", + "bearing-image-size" : 48, + "top-image" : "puck_hat", + "top-image-size" : 16, + "shadow-image" : "puck_shadow", + "shadow-image-size" : 112, + "bearing" : 45, + "perspective-compensation" : 1, + "image-tilt-displacement" : 0 + }, + "paint" : { + "accuracy-radius-color": "rgba(255,0,0,0.2)", + "accuracy-radius-border-color": "rgba(255,0,255,0.6)" + } + } + ] +} diff --git a/metrics/tests/location_component/tilted_texture_shift/expected.png b/metrics/tests/location_component/tilted_texture_shift/expected.png Binary files differnew file mode 100644 index 0000000000..6d86abcc35 --- /dev/null +++ b/metrics/tests/location_component/tilted_texture_shift/expected.png diff --git a/metrics/tests/location_component/tilted_texture_shift/style.json b/metrics/tests/location_component/tilted_texture_shift/style.json new file mode 100644 index 0000000000..ce87bed503 --- /dev/null +++ b/metrics/tests/location_component/tilted_texture_shift/style.json @@ -0,0 +1,61 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 512, + "height": 256, + "operations": [ + [ + "addImage", + "puck_hat", + "puck_hat.png" + ], + [ + "addImage", + "puck", + "puck.png" + ], + [ + "addImage", + "puck_shadow", + "puck_shadow.png" + ] + ] + } + }, + "center": [ 139.766707, 35.693055 ], + "zoom": 16, + "pitch" : 55, + "bearing" : 42, + "sources": {}, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "puck123", + "type": "location-component", + "layout" : { + "location" : [ 35.693055, 139.766707, 0], + "accuracy-radius": 90.0, + "bearing-image" : "puck", + "bearing-image-size" : 48, + "top-image" : "puck_hat", + "top-image-size" : 16, + "shadow-image" : "puck_shadow", + "shadow-image-size" : 112, + "bearing" : 45, + "perspective-compensation" : 1, + "image-tilt-displacement" : 5 + }, + "paint" : { + "accuracy-radius-color": "rgba(255,0,0,0.2)", + "accuracy-radius-border-color": "rgba(255,0,255,0.6)" + } + } + ] +} diff --git a/metrics/tests/location_component/tilted_texture_shift_bottom_left/expected.png b/metrics/tests/location_component/tilted_texture_shift_bottom_left/expected.png Binary files differnew file mode 100644 index 0000000000..3ab127d2b9 --- /dev/null +++ b/metrics/tests/location_component/tilted_texture_shift_bottom_left/expected.png diff --git a/metrics/tests/location_component/tilted_texture_shift_bottom_left/style.json b/metrics/tests/location_component/tilted_texture_shift_bottom_left/style.json new file mode 100644 index 0000000000..ef635d9d0e --- /dev/null +++ b/metrics/tests/location_component/tilted_texture_shift_bottom_left/style.json @@ -0,0 +1,62 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 512, + "height": 256, + "operations": [ + [ + "addImage", + "puck_hat", + "puck_hat.png" + ], + [ + "addImage", + "puck", + "puck.png" + ], + [ + "addImage", + "puck_shadow", + "puck_shadow.png" + ] + ] + } + }, + "center": [ 139.768885, 35.693125 ], + "zoom": 16, + "pitch" : 60, + "bearing" : 42, + "sources": {}, + + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "puck123", + "type": "location-component", + "layout" : { + "location" : [ 35.693055, 139.766707, 0], + "accuracy-radius": 90.0, + "bearing-image" : "puck", + "bearing-image-size" : 48, + "top-image" : "puck_hat", + "top-image-size" : 16, + "shadow-image" : "puck_shadow", + "shadow-image-size" : 112, + "bearing" : 45, + "perspective-compensation" : 1, + "image-tilt-displacement" : 5 + }, + "paint" : { + "accuracy-radius-color": "rgba(255,0,0,0.2)", + "accuracy-radius-border-color": "rgba(255,0,255,0.6)" + } + } + ] +} diff --git a/metrics/tests/location_component/tilted_texture_shift_bottom_right/expected.png b/metrics/tests/location_component/tilted_texture_shift_bottom_right/expected.png Binary files differnew file mode 100644 index 0000000000..4edc36178d --- /dev/null +++ b/metrics/tests/location_component/tilted_texture_shift_bottom_right/expected.png diff --git a/metrics/tests/location_component/tilted_texture_shift_bottom_right/style.json b/metrics/tests/location_component/tilted_texture_shift_bottom_right/style.json new file mode 100644 index 0000000000..b48545cacf --- /dev/null +++ b/metrics/tests/location_component/tilted_texture_shift_bottom_right/style.json @@ -0,0 +1,61 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 512, + "height": 256, + "operations": [ + [ + "addImage", + "puck_hat", + "puck_hat.png" + ], + [ + "addImage", + "puck", + "puck.png" + ], + [ + "addImage", + "puck_shadow", + "puck_shadow.png" + ] + ] + } + }, + "center": [ 139.766487, 35.694867 ], + "zoom": 16, + "pitch" : 60, + "bearing" : 42, + "sources": {}, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "puck123", + "type": "location-component", + "layout" : { + "location" : [ 35.693055, 139.766707, 0], + "accuracy-radius": 90.0, + "bearing-image" : "puck", + "bearing-image-size" : 48, + "top-image" : "puck_hat", + "top-image-size" : 16, + "shadow-image" : "puck_shadow", + "shadow-image-size" : 112, + "bearing" : 45, + "perspective-compensation" : 1, + "image-tilt-displacement" : 5 + }, + "paint" : { + "accuracy-radius-color": "rgba(255,0,0,0.2)", + "accuracy-radius-border-color": "rgba(255,0,255,0.6)" + } + } + ] +} diff --git a/metrics/tests/location_component/tilted_texture_shift_top_left/expected.png b/metrics/tests/location_component/tilted_texture_shift_top_left/expected.png Binary files differnew file mode 100644 index 0000000000..935e36906c --- /dev/null +++ b/metrics/tests/location_component/tilted_texture_shift_top_left/expected.png diff --git a/metrics/tests/location_component/tilted_texture_shift_top_left/style.json b/metrics/tests/location_component/tilted_texture_shift_top_left/style.json new file mode 100644 index 0000000000..02872bddd5 --- /dev/null +++ b/metrics/tests/location_component/tilted_texture_shift_top_left/style.json @@ -0,0 +1,61 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 512, + "height": 256, + "operations": [ + [ + "addImage", + "puck_hat", + "puck_hat.png" + ], + [ + "addImage", + "puck", + "puck.png" + ], + [ + "addImage", + "puck_shadow", + "puck_shadow.png" + ] + ] + } + }, + "center": [ 139.766972, 35.687286 ], + "zoom": 16, + "pitch" : 60, + "bearing" : 42, + "sources": {}, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "puck123", + "type": "location-component", + "layout" : { + "location" : [ 35.693055, 139.766707, 0], + "accuracy-radius": 90.0, + "bearing-image" : "puck", + "bearing-image-size" : 48, + "top-image" : "puck_hat", + "top-image-size" : 16, + "shadow-image" : "puck_shadow", + "shadow-image-size" : 112, + "bearing" : 45, + "perspective-compensation" : 1, + "image-tilt-displacement" : 5 + }, + "paint" : { + "accuracy-radius-color": "rgba(255,0,0,0.2)", + "accuracy-radius-border-color": "rgba(255,0,255,0.6)" + } + } + ] +} diff --git a/metrics/tests/location_component/tilted_texture_shift_top_right/expected.png b/metrics/tests/location_component/tilted_texture_shift_top_right/expected.png Binary files differnew file mode 100644 index 0000000000..ff4efb118a --- /dev/null +++ b/metrics/tests/location_component/tilted_texture_shift_top_right/expected.png diff --git a/metrics/tests/location_component/tilted_texture_shift_top_right/style.json b/metrics/tests/location_component/tilted_texture_shift_top_right/style.json new file mode 100644 index 0000000000..d1ba11747b --- /dev/null +++ b/metrics/tests/location_component/tilted_texture_shift_top_right/style.json @@ -0,0 +1,61 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 512, + "height": 256, + "operations": [ + [ + "addImage", + "puck_hat", + "puck_hat.png" + ], + [ + "addImage", + "puck", + "puck.png" + ], + [ + "addImage", + "puck_shadow", + "puck_shadow.png" + ] + ] + } + }, + "center": [ 139.759723, 35.692799 ], + "zoom": 16, + "pitch" : 60, + "bearing" : 42, + "sources": {}, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "puck123", + "type": "location-component", + "layout" : { + "location" : [ 35.693055, 139.766707, 0], + "accuracy-radius": 90.0, + "bearing-image" : "puck", + "bearing-image-size" : 48, + "top-image" : "puck_hat", + "top-image-size" : 16, + "shadow-image" : "puck_shadow", + "shadow-image-size" : 112, + "bearing" : 0, + "perspective-compensation" : 1, + "image-tilt-displacement" : 5 + }, + "paint" : { + "accuracy-radius-color": "rgba(255,0,0,0.2)", + "accuracy-radius-border-color": "rgba(255,0,255,0.6)" + } + } + ] +} diff --git a/metrics/tests/location_component/two_textures/expected.png b/metrics/tests/location_component/two_textures/expected.png Binary files differnew file mode 100644 index 0000000000..0e1c5fd270 --- /dev/null +++ b/metrics/tests/location_component/two_textures/expected.png diff --git a/metrics/tests/location_component/two_textures/style.json b/metrics/tests/location_component/two_textures/style.json new file mode 100644 index 0000000000..787d6d3e6e --- /dev/null +++ b/metrics/tests/location_component/two_textures/style.json @@ -0,0 +1,60 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 512, + "height": 256, + "operations": [ + [ + "addImage", + "puck_hat", + "puck_hat.png" + ], + [ + "addImage", + "puck", + "puck.png" + ], + [ + "addImage", + "puck_shadow", + "puck_shadow.png" + ] + ] + } + }, + "center": [ 139.766707, 35.693055 ], + "zoom": 16, + "pitch" : 0, + "bearing" : 42, + "sources": {}, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "puck123", + "type": "location-component", + "layout" : { + "location" : [ 35.693055, 139.766707, 0], + "accuracy-radius": 90.0, + "bearing-image" : "puck", + "bearing-image-size" : 48, + "top-image-size" : 16, + "shadow-image" : "puck_shadow", + "shadow-image-size" : 112, + "bearing" : 45, + "perspective-compensation" : 1, + "image-tilt-displacement" : 5 + }, + "paint" : { + "accuracy-radius-color": "rgba(255,0,0,0.2)", + "accuracy-radius-border-color": "rgba(255,0,255,0.6)" + } + } + ] +} |