From 56dba22cee7b7bddfe92c72958de5cfa55b45ca1 Mon Sep 17 00:00:00 2001 From: Jonah <47046556+jonahb55@users.noreply.github.com> Date: Sat, 26 Aug 2023 15:07:15 -0400 Subject: [PATCH] Fix bundle asset JSON formatting --- bundledAssets/Field2d_Evergreen/config.json | 12 ++--- bundledAssets/Robot_KitBot/config.json | 52 ++++----------------- 2 files changed, 13 insertions(+), 51 deletions(-) diff --git a/bundledAssets/Field2d_Evergreen/config.json b/bundledAssets/Field2d_Evergreen/config.json index a469a5ad..ea846c94 100644 --- a/bundledAssets/Field2d_Evergreen/config.json +++ b/bundledAssets/Field2d_Evergreen/config.json @@ -1,13 +1,7 @@ { "name": "Evergreen", - "topLeft": [ - 267, - 132 - ], - "bottomRight": [ - 4733, - 2356 - ], + "topLeft": [267, 132], + "bottomRight": [4733, 2356], "widthInches": 648, "heightInches": 324 -} \ No newline at end of file +} diff --git a/bundledAssets/Robot_KitBot/config.json b/bundledAssets/Robot_KitBot/config.json index 8c623eaa..bbf67f73 100644 --- a/bundledAssets/Robot_KitBot/config.json +++ b/bundledAssets/Robot_KitBot/config.json @@ -7,11 +7,7 @@ "degrees": 90 } ], - "position": [ - 0.12, - 3.15, - 0 - ], + "position": [0.12, 3.15, 0], "cameras": [ { "name": "Front Camera", @@ -21,15 +17,8 @@ "degrees": 20 } ], - "position": [ - 0.2, - 0, - 0.8 - ], - "resolution": [ - 960, - 720 - ], + "position": [0.2, 0, 0.8], + "resolution": [960, 720], "fov": 100 }, { @@ -44,15 +33,8 @@ "degrees": 180 } ], - "position": [ - -0.2, - 0, - 0.8 - ], - "resolution": [ - 960, - 720 - ], + "position": [-0.2, 0, 0.8], + "resolution": [960, 720], "fov": 100 }, { @@ -67,15 +49,8 @@ "degrees": 90 } ], - "position": [ - 0, - 0.2, - 0.8 - ], - "resolution": [ - 960, - 720 - ], + "position": [0, 0.2, 0.8], + "resolution": [960, 720], "fov": 90 }, { @@ -90,17 +65,10 @@ "degrees": -90 } ], - "position": [ - 0, - -0.2, - 0.8 - ], - "resolution": [ - 960, - 720 - ], + "position": [0, -0.2, 0.8], + "resolution": [960, 720], "fov": 90 } ], "components": [] -} \ No newline at end of file +}