Skip to content

Instantly share code, notes, and snippets.

@scottgarner
Created September 2, 2016 15:09
Show Gist options
  • Save scottgarner/51475bc97162020b363a2ca815776884 to your computer and use it in GitHub Desktop.
Save scottgarner/51475bc97162020b363a2ca815776884 to your computer and use it in GitHub Desktop.
Sample Update JSON Object
{
"live_objects": [{
"label": "VR1_wand",
"x": -0.98,
"y": 0.88,
"z": 3.38,
"qx": -0.75,
"qy": -0.07,
"qz": -0.53,
"qw": -0.38
}, {
"label": "VR3_wand",
"x": 0,
"y": 0,
"z": 0,
"qx": 0,
"qy": 0,
"qz": 0,
"qw": -1
}, {
"label": "VR1_table",
"x": -1.01,
"y": 0.78,
"z": 3.44,
"qx": -0.01,
"qy": 1,
"qz": -0.02,
"qw": 0
}, {
"label": "VR1_box_old",
"x": -0.04,
"y": 0.92,
"z": 2.32,
"qx": 0.24,
"qy": 0.66,
"qz": -0.66,
"qw": 0.27
}, {
"label": "VR1_laptop",
"x": -0.91,
"y": 1.23,
"z": 0.91,
"qx": 0.44,
"qy": 0.42,
"qz": 0.73,
"qw": -0.32
}, {
"label": "VR2_righthand",
"x": 0.32,
"y": 1.14,
"z": 0.9,
"qx": -0.26,
"qy": -0.19,
"qz": -0.11,
"qw": 0.94
}, {
"label": "VR2_lefthand",
"x": 1.84,
"y": 0.92,
"z": -0.68,
"qx": 0.12,
"qy": -0.12,
"qz": 0.97,
"qw": -0.18
}, {
"label": "VR1_righthand",
"x": 1.98,
"y": 1.16,
"z": -1.82,
"qx": -0.3,
"qy": 0.57,
"qz": -0.49,
"qw": 0.59
}, {
"label": "VR1_lefthand",
"x": 0,
"y": 0,
"z": 0,
"qx": 0,
"qy": 0,
"qz": 0,
"qw": -1
}, {
"label": "VR5_exp",
"x": 0,
"y": 0,
"z": 0,
"qx": 0,
"qy": 0,
"qz": 0,
"qw": -1
}, {
"label": "VR2_wand",
"x": 0,
"y": 0,
"z": 0,
"qx": 0,
"qy": 0,
"qz": 0,
"qw": -1
}, {
"label": "PS_A2",
"x": -0.19,
"y": 0.82,
"z": 2.57,
"qx": 0,
"qy": -0.55,
"qz": -0.01,
"qw": 0.84
}, {
"label": "VR1_box",
"x": 0.73,
"y": 0.79,
"z": 0.87,
"qx": 0.66,
"qy": -0.25,
"qz": 0.25,
"qw": 0.66
}, {
"label": "PS_A1",
"x": -0.03,
"y": 0.92,
"z": 2.31,
"qx": 0.25,
"qy": 0.67,
"qz": -0.66,
"qw": 0.24
}, {
"label": "PS_RBTA",
"x": 0,
"y": 0,
"z": 0,
"qx": 0,
"qy": 0,
"qz": 0,
"qw": -1
}, {
"label": "PS_RBTB",
"x": 0,
"y": 0,
"z": 0,
"qx": 0,
"qy": 0,
"qz": 0,
"qw": -1
}, {
"label": "VR4_rightankle",
"x": 1.81,
"y": 1.24,
"z": -1.49,
"qx": 0.16,
"qy": -0.97,
"qz": -0.19,
"qw": -0.02
}, {
"label": "VR1_rightankle",
"x": -0.55,
"y": 0.99,
"z": 1.33,
"qx": 0.26,
"qy": -0.97,
"qz": 0.01,
"qw": 0.04
}, {
"label": "VR2",
"x": 1.78,
"y": 0.94,
"z": -1.49,
"qx": 0.19,
"qy": 0.97,
"qz": 0.15,
"qw": -0.04
}, {
"label": "VR4",
"x": 1.34,
"y": 1.01,
"z": -0.97,
"qx": -0.3,
"qy": -0.7,
"qz": 0.36,
"qw": -0.54
}, {
"label": "VR3",
"x": 2.06,
"y": 1.1,
"z": -1.62,
"qx": 0.04,
"qy": -0.75,
"qz": -0.13,
"qw": -0.65
}, {
"label": "VR1",
"x": 1.97,
"y": 1.06,
"z": -1.33,
"qx": -0.09,
"qy": -0.25,
"qz": 0.41,
"qw": -0.87
}, {
"label": "PS_table",
"x": -1.56,
"y": 0.77,
"z": 2.53,
"qx": -0.01,
"qy": 0.48,
"qz": -0.02,
"qw": -0.88
}, {
"label": "VRCMR",
"x": 0,
"y": 0,
"z": 0,
"qx": 0,
"qy": 0,
"qz": 0,
"qw": -1
}],
"time": 1472828860167
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment