From be3c7dc48029eba47fa912e4d900a35f391d94fa Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Thu, 28 Jan 2021 03:36:18 +0100 Subject: [PATCH] d/ns: Pretty print json example config with jq --- .../exampleconfigs/v2_deckx_50cm.json | 20 +++++++++---------- .../exampleconfigs/v2_lonestar_50cm.json | 20 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/xrt/drivers/north_star/exampleconfigs/v2_deckx_50cm.json b/src/xrt/drivers/north_star/exampleconfigs/v2_deckx_50cm.json index 8a008c9f8..27894abcb 100644 --- a/src/xrt/drivers/north_star/exampleconfigs/v2_deckx_50cm.json +++ b/src/xrt/drivers/north_star/exampleconfigs/v2_deckx_50cm.json @@ -1,27 +1,27 @@ { - "baseline": 64.0, - "left_fov_radians_left": -0.8, - "left_fov_radians_right": 0.8, - "left_fov_radians_up": 0.8, - "left_fov_radians_down": -0.8, + "baseline": 64, + "left_fov_radians_left": -0.8, + "left_fov_radians_right": 0.8, + "left_fov_radians_up": 0.8, + "left_fov_radians_down": -0.8, "right_fov_radians_left": -0.8, "right_fov_radians_right": 0.8, - "right_fov_radians_up": 0.8, + "right_fov_radians_up": 0.8, "right_fov_radians_down": -0.8, "t265_to_nose_bridge": { "translation_meters": { "x": 0, "y": -0.04824, - "z": 0.08609 + "z": 0.08609 }, "rotation_quaternion": { "x": -0.105, "y": 0, "z": 0, - "w": 0.995 + "w": 0.995 } - }, - "left_uv_to_rect_x": [ + }, + "left_uv_to_rect_x": [ -0.7801988839098829, 1.5908068712799723, -0.9827824328911254, diff --git a/src/xrt/drivers/north_star/exampleconfigs/v2_lonestar_50cm.json b/src/xrt/drivers/north_star/exampleconfigs/v2_lonestar_50cm.json index 9ca72af1b..88b943856 100644 --- a/src/xrt/drivers/north_star/exampleconfigs/v2_lonestar_50cm.json +++ b/src/xrt/drivers/north_star/exampleconfigs/v2_lonestar_50cm.json @@ -1,26 +1,26 @@ { - "baseline": 64.0, - "left_fov_radians_left": -0.8, - "left_fov_radians_right": 0.8, - "left_fov_radians_up": 0.8, - "left_fov_radians_down": -0.8, + "baseline": 64, + "left_fov_radians_left": -0.8, + "left_fov_radians_right": 0.8, + "left_fov_radians_up": 0.8, + "left_fov_radians_down": -0.8, "right_fov_radians_left": -0.8, "right_fov_radians_right": 0.8, - "right_fov_radians_up": 0.8, + "right_fov_radians_up": 0.8, "right_fov_radians_down": -0.8, "t265_to_nose_bridge": { "translation_meters": { "x": 0, "y": -0.0683, - "z": 0.0744 + "z": 0.0744 }, "rotation_quaternion": { "x": 0.102931, "y": 0, "z": 0, - "w": 0.994689 + "w": 0.994689 } - }, + }, "left_uv_to_rect_x": [ -0.7801988839098829, 1.5908068712799723, @@ -93,4 +93,4 @@ -12.784556822147636, 7.548883311524131 ] -} \ No newline at end of file +}