4931 lines
160 KiB
C#
4931 lines
160 KiB
C#
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT License.
|
|
|
|
using Microsoft.MixedReality.Toolkit.Utilities;
|
|
using System.Collections.Generic;
|
|
using static Microsoft.MixedReality.Toolkit.Utilities.ArticulatedHandPose;
|
|
|
|
namespace Microsoft.MixedReality.Toolkit.Input
|
|
{
|
|
/// <summary>
|
|
/// This stores the joint pose JSON data that defines various articulated hand gestures for input simulation.
|
|
/// The JSON data that defines each joint position and orientation is stored in strings to avoid file loading/targeting during runtime
|
|
/// </summary>
|
|
public static class SimulatedArticulatedHandPoses
|
|
{
|
|
private static readonly Dictionary<GestureId, string> GesturePoseJSONMapping = new Dictionary<GestureId, string>()
|
|
{
|
|
{ GestureId.Flat, ArticulatedHandPose_Flat },
|
|
{ GestureId.Grab, ArticulatedHandPose_Grab },
|
|
{ GestureId.Open, ArticulatedHandPose_Open },
|
|
{ GestureId.OpenSteadyGrabPoint, ArticulatedHandPose_OpenSteadyGrabPoint },
|
|
{ GestureId.Pinch, ArticulatedHandPose_Pinch },
|
|
{ GestureId.PinchSteadyWrist, ArticulatedHandPose_PinchSteadyWrist },
|
|
{ GestureId.Poke, ArticulatedHandPose_Poke },
|
|
{ GestureId.ThumbsUp, ArticulatedHandPose_ThumbsUp },
|
|
{ GestureId.Victory, ArticulatedHandPose_Victory },
|
|
{ GestureId.TeleportStart, ArticulatedHandPose_TeleportStart },
|
|
{ GestureId.TeleportEnd, ArticulatedHandPose_TeleportEnd }
|
|
};
|
|
|
|
private static Dictionary<GestureId, ArticulatedHandPose> gesturePoses;
|
|
|
|
/// <summary>
|
|
/// Get pose data for a supported gesture.
|
|
/// </summary>
|
|
public static ArticulatedHandPose GetGesturePose(GestureId gesture)
|
|
{
|
|
if (gesturePoses == null)
|
|
{
|
|
LoadDefaultGesturePoses();
|
|
}
|
|
|
|
if (gesturePoses.TryGetValue(gesture, out ArticulatedHandPose pose))
|
|
{
|
|
return pose;
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Set hand pose data for supported gesture. Useful to overwrite loaded defaults
|
|
/// </summary>
|
|
public static void SetGesturePose(GestureId key, ArticulatedHandPose value)
|
|
{
|
|
if (value != null)
|
|
{
|
|
gesturePoses[key] = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Load default hand poses for supported gestures. Clears and overwrites original gesture poses
|
|
/// </summary>
|
|
public static void LoadDefaultGesturePoses()
|
|
{
|
|
gesturePoses = new Dictionary<GestureId, ArticulatedHandPose>();
|
|
|
|
foreach (var mapping in GesturePoseJSONMapping)
|
|
{
|
|
var pose = new ArticulatedHandPose();
|
|
pose.FromJson(mapping.Value);
|
|
gesturePoses.Add(mapping.Key, pose);
|
|
}
|
|
}
|
|
|
|
#region ArticulatedHandPose_Flat JSON
|
|
|
|
private const string ArticulatedHandPose_Flat = @"
|
|
{
|
|
""items"": [
|
|
{
|
|
""joint"": ""None"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0470723882317543,
|
|
""y"": -0.18403607606887818,
|
|
""z"": -0.5408412218093872
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.0,
|
|
""y"": 0.0,
|
|
""z"": 0.0,
|
|
""w"": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Wrist"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06179157271981239,
|
|
""y"": -0.15333214402198792,
|
|
""z"": -0.0469515398144722
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5501163005828857,
|
|
""y"": -0.11712269484996796,
|
|
""z"": 0.001836930401623249,
|
|
""w"": 0.8265576958656311
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Palm"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.05801215022802353,
|
|
""y"": -0.1058567613363266,
|
|
""z"": -0.02556976117193699
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5501163005828857,
|
|
""y"": -0.11712269484996796,
|
|
""z"": 0.001836930401623249,
|
|
""w"": 0.8265576958656311
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbMetacarpalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.03695414960384369,
|
|
""y"": -0.1407443881034851,
|
|
""z"": -0.03328647091984749
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5855690240859985,
|
|
""y"": -0.10429229587316513,
|
|
""z"": 0.5890942811965942,
|
|
""w"": 0.547493577003479
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbProximalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.00045104348100721836,
|
|
""y"": -0.11720659583806992,
|
|
""z"": -0.01997363194823265
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5386121273040772,
|
|
""y"": 0.04485885053873062,
|
|
""z"": 0.5422580242156982,
|
|
""w"": 0.6437124609947205
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.016296127811074258,
|
|
""y"": -0.09359179437160492,
|
|
""z"": -0.006718119606375694
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6040476560592651,
|
|
""y"": -0.08891747146844864,
|
|
""z"": 0.5752687454223633,
|
|
""w"": 0.5448194742202759
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.03216664865612984,
|
|
""y"": -0.08244754374027252,
|
|
""z"": -0.001603197306394577
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6040476560592651,
|
|
""y"": -0.08891747146844864,
|
|
""z"": 0.5752687454223633,
|
|
""w"": 0.5448194742202759
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.04794362187385559,
|
|
""y"": -0.13700048625469209,
|
|
""z"": -0.03438100963830948
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.534980297088623,
|
|
""y"": -0.28449201583862307,
|
|
""z"": -0.061086010187864307,
|
|
""w"": 0.7931764721870422
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.023209279403090478,
|
|
""y"": -0.08038382232189179,
|
|
""z"": -0.017351558431982995
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.599485456943512,
|
|
""y"": -0.1474478840827942,
|
|
""z"": 0.04840812832117081,
|
|
""w"": 0.7852058410644531
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.009743190370500088,
|
|
""y"": -0.03727291524410248,
|
|
""z"": -0.006295463070273399
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6344203948974609,
|
|
""y"": -0.08629350364208222,
|
|
""z"": 0.11939872056245804,
|
|
""w"": 0.7588865756988525
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0026917937211692335,
|
|
""y"": -0.013759316876530648,
|
|
""z"": -0.0017971978522837163
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6451734304428101,
|
|
""y"": -0.12336783856153488,
|
|
""z"": 0.00809548981487751,
|
|
""w"": 0.7542511224746704
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0002534952946007252,
|
|
""y"": 0.0007631087210029364,
|
|
""z"": 0.0002575620310381055
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6451734304428101,
|
|
""y"": -0.12336783856153488,
|
|
""z"": 0.00809548981487751,
|
|
""w"": 0.7542511224746704
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.056570135056972507,
|
|
""y"": -0.13634957373142243,
|
|
""z"": -0.03486650064587593
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6017327308654785,
|
|
""y"": -0.1049300879240036,
|
|
""z"": 0.008752312511205674,
|
|
""w"": 0.7917264699935913
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.045069482177495959,
|
|
""y"": -0.07444917410612107,
|
|
""z"": -0.018345370888710023
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5885983109474182,
|
|
""y"": -0.10035836696624756,
|
|
""z"": 0.025189023464918138,
|
|
""w"": 0.8017893433570862
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.035030756145715716,
|
|
""y"": -0.025001518428325654,
|
|
""z"": -0.0032290546223521234
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6631931662559509,
|
|
""y"": -0.09005288034677506,
|
|
""z"": -0.0027521485462784769,
|
|
""w"": 0.7431085109710693
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.031546302139759067,
|
|
""y"": 0.0013798222644254566,
|
|
""z"": -0.0004363078624010086
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6468731164932251,
|
|
""y"": -0.11953263729810715,
|
|
""z"": -0.06937266886234284,
|
|
""w"": 0.7504633665084839
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.030048875138163568,
|
|
""y"": 0.017790958285331727,
|
|
""z"": 0.0018172836862504483
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6468731164932251,
|
|
""y"": -0.11953263729810715,
|
|
""z"": -0.06937266886234284,
|
|
""w"": 0.7504633665084839
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06806596368551254,
|
|
""y"": -0.13525664806365968,
|
|
""z"": -0.034837257117033008
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5803540945053101,
|
|
""y"": 0.014031633734703064,
|
|
""z"": 0.05480925738811493,
|
|
""w"": 0.8123965859413147
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06544187664985657,
|
|
""y"": -0.07453925907611847,
|
|
""z"": -0.013881120830774308
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6466344594955444,
|
|
""y"": -0.03600946068763733,
|
|
""z"": 0.02467469871044159,
|
|
""w"": 0.7615609765052795
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06159381568431854,
|
|
""y"": -0.03093438223004341,
|
|
""z"": -0.006733019836246967
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6550348401069641,
|
|
""y"": -0.06099399924278259,
|
|
""z"": -0.04121965169906616,
|
|
""w"": 0.7520787715911865
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06070023775100708,
|
|
""y"": -0.007464663125574589,
|
|
""z"": -0.003544492181390524
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6712727546691895,
|
|
""y"": -0.05777180939912796,
|
|
""z"": -0.05727298930287361,
|
|
""w"": 0.7370488047599793
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.060552775859832767,
|
|
""y"": 0.010114867240190506,
|
|
""z"": -0.0019072332652285696
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6712727546691895,
|
|
""y"": -0.05777180939912796,
|
|
""z"": -0.05727298930287361,
|
|
""w"": 0.7370488047599793
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.07710164040327072,
|
|
""y"": -0.13650110363960267,
|
|
""z"": -0.032643478363752368
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5344982147216797,
|
|
""y"": 0.1545339822769165,
|
|
""z"": 0.10820292681455612,
|
|
""w"": 0.8238464593887329
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.08530370891094208,
|
|
""y"": -0.08254323154687882,
|
|
""z"": -0.010162543505430222
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6702333688735962,
|
|
""y"": 0.05704934149980545,
|
|
""z"": 0.006686835549771786,
|
|
""w"": 0.7399358749389648
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.08779342472553253,
|
|
""y"": -0.049793362617492679,
|
|
""z"": -0.0070251524448394779
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6393072605133057,
|
|
""y"": 0.030266048386693,
|
|
""z"": -0.15569603443145753,
|
|
""w"": 0.7524937987327576
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.09219621121883393,
|
|
""y"": -0.03264733776450157,
|
|
""z"": -0.0037694787606596948
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6555882692337036,
|
|
""y"": -0.0018634665757417679,
|
|
""z"": -0.09289215505123139,
|
|
""w"": 0.7497090101242065
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.09392204880714417,
|
|
""y"": -0.018381092697381974,
|
|
""z"": -0.0017222119495272637
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6555882692337036,
|
|
""y"": -0.0018634665757417679,
|
|
""z"": -0.09289215505123139,
|
|
""w"": 0.7497090101242065
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}";
|
|
|
|
#endregion
|
|
|
|
#region ArticulatedHandPose_Grab JSON
|
|
|
|
private const string ArticulatedHandPose_Grab = @"
|
|
{
|
|
""items"": [
|
|
{
|
|
""joint"": ""None"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.08690944314002991,
|
|
""y"": 0.013536587357521057,
|
|
""z"": -0.3781388998031616
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.0,
|
|
""y"": 0.0,
|
|
""z"": 0.0,
|
|
""w"": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Wrist"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.059647563844919208,
|
|
""y"": -0.018170714378356935,
|
|
""z"": -0.07320141047239304
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.44069746136665347,
|
|
""y"": -0.3151600956916809,
|
|
""z"": -0.029152734205126764,
|
|
""w"": 0.8398429155349731
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Palm"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.040150947868824008,
|
|
""y"": 0.022433746606111528,
|
|
""z"": -0.04928050562739372
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.44069746136665347,
|
|
""y"": -0.3151600956916809,
|
|
""z"": -0.029152734205126764,
|
|
""w"": 0.8398429155349731
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbMetacarpalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.033823080360889438,
|
|
""y"": -0.014000600203871727,
|
|
""z"": -0.06483504176139832
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.46251192688941958,
|
|
""y"": 0.15892137587070466,
|
|
""z"": -0.748396635055542,
|
|
""w"": -0.44902268052101138
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbProximalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0048112208023667339,
|
|
""y"": -0.005827075336128473,
|
|
""z"": -0.04063580185174942
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.32614850997924807,
|
|
""y"": -0.017511412501335145,
|
|
""z"": -0.7735356688499451,
|
|
""w"": -0.5439797639846802
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.02188277430832386,
|
|
""y"": 0.0075818500481545929,
|
|
""z"": -0.01290540024638176
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.22856087982654572,
|
|
""y"": -0.09300848096609116,
|
|
""z"": -0.7769821286201477,
|
|
""w"": -0.5795565247535706
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.026505667716264726,
|
|
""y"": 0.015197398141026497,
|
|
""z"": 0.0034610535949468614
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.22856087982654572,
|
|
""y"": -0.09300848096609116,
|
|
""z"": -0.7769821286201477,
|
|
""w"": -0.5795565247535706
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.04238410294055939,
|
|
""y"": -0.007463002577424049,
|
|
""z"": -0.06319385766983032
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.420803427696228,
|
|
""y"": -0.44982725381851199,
|
|
""z"": -0.04907778277993202,
|
|
""w"": 0.7862387895584106
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0008817678317427635,
|
|
""y"": 0.03838954120874405,
|
|
""z"": -0.04752813279628754
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.004830620251595974,
|
|
""y"": 0.18448397517204286,
|
|
""z"": -0.1560613363981247,
|
|
""w"": -0.9703620672225952
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.014839660376310349,
|
|
""y"": 0.03651837632060051,
|
|
""z"": -0.01135229505598545
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5098936557769775,
|
|
""y"": 0.03039226494729519,
|
|
""z"": -0.30394697189331057,
|
|
""w"": -0.8042332530021668
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.008270945399999619,
|
|
""y"": 0.015406630001962185,
|
|
""z"": 0.0006891884841024876
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.7222777009010315,
|
|
""y"": -0.08202659338712692,
|
|
""z"": -0.2391108274459839,
|
|
""w"": -0.6440979242324829
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0009594520088285208,
|
|
""y"": 0.000933439121581614,
|
|
""z"": -0.00021468542399816215
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.7222777009010315,
|
|
""y"": -0.08202659338712692,
|
|
""z"": -0.2391108274459839,
|
|
""w"": -0.6440979242324829
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.04958740621805191,
|
|
""y"": -0.004707379266619682,
|
|
""z"": -0.06129273772239685
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5128890872001648,
|
|
""y"": -0.29369285702705386,
|
|
""z"": 0.018453821539878846,
|
|
""w"": 0.8064419627189636
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.020074930042028428,
|
|
""y"": 0.04420189931988716,
|
|
""z"": -0.04323747381567955
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.07308150827884674,
|
|
""y"": 0.17278942465782166,
|
|
""z"": -0.10241489112377167,
|
|
""w"": -0.9769001603126526
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.005748542491346598,
|
|
""y"": 0.0362907275557518,
|
|
""z"": -0.001959702931344509
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.7482351660728455,
|
|
""y"": 0.06403420120477677,
|
|
""z"": -0.2061866670846939,
|
|
""w"": -0.6274414658546448
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.012452101334929467,
|
|
""y"": 0.007901951670646668,
|
|
""z"": -0.0057104239240288738
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.9225407838821411,
|
|
""y"": -0.07818678766489029,
|
|
""z"": -0.1428528130054474,
|
|
""w"": -0.3514384627342224
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.01802952028810978,
|
|
""y"": -0.003061514813452959,
|
|
""z"": -0.01820256933569908
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.9225407838821411,
|
|
""y"": -0.07818678766489029,
|
|
""z"": -0.1428528130054474,
|
|
""w"": -0.3514384627342224
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.05912885442376137,
|
|
""y"": -0.0009383354336023331,
|
|
""z"": -0.05809984356164932
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.49521127343177798,
|
|
""y"": -0.17924758791923524,
|
|
""z"": 0.07874160259962082,
|
|
""w"": 0.846425473690033
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.038666337728500369,
|
|
""y"": 0.04252086579799652,
|
|
""z"": -0.03421220928430557
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.1513676941394806,
|
|
""y"": 0.15960678458213807,
|
|
""z"": -0.05129222199320793,
|
|
""w"": -0.9741657376289368
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.02693704515695572,
|
|
""y"": 0.030163494870066644,
|
|
""z"": 0.0016453623538836837
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.8552912473678589,
|
|
""y"": 0.0920121893286705,
|
|
""z"": -0.11032526195049286,
|
|
""w"": -0.4979609251022339
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.029263043776154519,
|
|
""y"": 0.009234108030796051,
|
|
""z"": -0.009864533320069313
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.9685380458831787,
|
|
""y"": -0.018125316128134729,
|
|
""z"": -0.094183549284935,
|
|
""w"": -0.23075833916664124
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.032915160059928897,
|
|
""y"": 0.0007288604974746704,
|
|
""z"": -0.02667597308754921
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.9685380458831787,
|
|
""y"": -0.018125316128134729,
|
|
""z"": -0.094183549284935,
|
|
""w"": -0.23075833916664124
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0675557404756546,
|
|
""y"": -0.0004099104553461075,
|
|
""z"": -0.05376683175563812
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.44121748208999636,
|
|
""y"": -0.05341072380542755,
|
|
""z"": 0.14569664001464845,
|
|
""w"": 0.8838818073272705
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.05575947463512421,
|
|
""y"": 0.04002845287322998,
|
|
""z"": -0.02176406979560852
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.2122899889945984,
|
|
""y"": 0.1802181601524353,
|
|
""z"": 0.03122050315141678,
|
|
""w"": -0.959945559501648
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.046450983732938769,
|
|
""y"": 0.029760107398033143,
|
|
""z"": 0.0001273825764656067
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.8192430138587952,
|
|
""y"": 0.16303858160972596,
|
|
""z"": -0.0602981373667717,
|
|
""w"": -0.5465834140777588
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.044868819415569308,
|
|
""y"": 0.011532457545399666,
|
|
""z"": -0.007741663604974747
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.9710148572921753,
|
|
""y"": 0.04234015569090843,
|
|
""z"": 0.042903631925582889,
|
|
""w"": -0.23259779810905457
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.04328276216983795,
|
|
""y"": 0.004625056870281696,
|
|
""z"": -0.0214386023581028
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.9710148572921753,
|
|
""y"": 0.04234015569090843,
|
|
""z"": 0.042903631925582889,
|
|
""w"": -0.23259779810905457
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}";
|
|
|
|
#endregion
|
|
|
|
#region ArticulatedHandPose_Open JSON
|
|
|
|
private const string ArticulatedHandPose_Open = @"{
|
|
""items"": [
|
|
{
|
|
""joint"": ""None"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.05266328528523445,
|
|
""y"": -0.004771654959768057,
|
|
""z"": -0.4855758845806122
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.0,
|
|
""y"": 0.0,
|
|
""z"": 0.0,
|
|
""w"": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Wrist"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06051135063171387,
|
|
""y"": -0.11653638631105423,
|
|
""z"": -0.09240426868200302
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.44876497983932497,
|
|
""y"": -0.17689266800880433,
|
|
""z"": -0.05671416595578194,
|
|
""w"": 0.8741295337677002
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Palm"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.05458527058362961,
|
|
""y"": -0.07798739522695542,
|
|
""z"": -0.06569456309080124
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.4486689567565918,
|
|
""y"": -0.17701590061187745,
|
|
""z"": -0.056869540363550189,
|
|
""w"": 0.8741438388824463
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbMetacarpalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.037650320678949359,
|
|
""y"": -0.1101485937833786,
|
|
""z"": -0.07988806068897248
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.4685748815536499,
|
|
""y"": -0.18557094037532807,
|
|
""z"": 0.6385928988456726,
|
|
""w"": 0.5815498232841492
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbProximalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0021200005430728199,
|
|
""y"": -0.09670994430780411,
|
|
""z"": -0.05842042714357376
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.3903456926345825,
|
|
""y"": -0.08254843950271607,
|
|
""z"": 0.6510961651802063,
|
|
""w"": 0.6456699371337891
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.017323289066553117,
|
|
""y"": -0.08417022228240967,
|
|
""z"": -0.036867182701826099
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.414934903383255,
|
|
""y"": -0.16244931519031526,
|
|
""z"": 0.6576106548309326,
|
|
""w"": 0.6074432730674744
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.031221620738506318,
|
|
""y"": -0.07873794436454773,
|
|
""z"": -0.025591250509023668
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.414934903383255,
|
|
""y"": -0.16244931519031526,
|
|
""z"": 0.6576106548309326,
|
|
""w"": 0.6074432730674744
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.047505348920822147,
|
|
""y"": -0.10554609447717667,
|
|
""z"": -0.07970334589481354
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.4534718096256256,
|
|
""y"": -0.30857419967651369,
|
|
""z"": -0.07697326689958573,
|
|
""w"": 0.8325985670089722
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.019956298172473909,
|
|
""y"": -0.0557483471930027,
|
|
""z"": -0.05499193072319031
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.4449520409107208,
|
|
""y"": -0.1309666782617569,
|
|
""z"": 0.047663893550634387,
|
|
""w"": 0.8846431374549866
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.008095348253846169,
|
|
""y"": -0.022226670756936075,
|
|
""z"": -0.03034139610826969
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.3352454900741577,
|
|
""y"": -0.07514993846416474,
|
|
""z"": 0.14437371492385865,
|
|
""w"": 0.9279650449752808
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0024243020452558996,
|
|
""y"": -0.007813668809831143,
|
|
""z"": -0.012005654163658619
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.2851909101009369,
|
|
""y"": -0.07402209937572479,
|
|
""z"": 0.04479880630970001,
|
|
""w"": 0.9545575380325317
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0011067038867622614,
|
|
""y"": 0.0017288230592384935,
|
|
""z"": -0.0008905145805329084
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.4986042380332947,
|
|
""y"": -0.10437075048685074,
|
|
""z"": 0.07316453754901886,
|
|
""w"": 0.8577484488487244
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.05543235316872597,
|
|
""y"": -0.10428999364376068,
|
|
""z"": -0.07948978990316391
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5124194622039795,
|
|
""y"": -0.14326979219913484,
|
|
""z"": 0.0033915068488568069,
|
|
""w"": 0.846692681312561
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.04107753932476044,
|
|
""y"": -0.053730353713035586,
|
|
""z"": -0.05418522655963898
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.047249626368284228,
|
|
""y"": -0.07262193411588669,
|
|
""z"": -0.0030145691707730295,
|
|
""w"": 0.9962351322174072
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.034631796181201938,
|
|
""y"": -0.04950878769159317,
|
|
""z"": -0.010220966301858426
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.4597231447696686,
|
|
""y"": -0.07136047631502152,
|
|
""z"": 0.041958972811698917,
|
|
""w"": 0.8841955065727234
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.03229355812072754,
|
|
""y"": -0.07136500626802445,
|
|
""z"": 0.00491436617448926
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6453508734703064,
|
|
""y"": 0.018931632861495019,
|
|
""z"": 0.027994602918624879,
|
|
""w"": -0.7631382346153259
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.031229745596647264,
|
|
""y"": -0.0874614417552948,
|
|
""z"": 0.007635372690856457
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6453508734703064,
|
|
""y"": 0.018931632861495019,
|
|
""z"": 0.027994602918624879,
|
|
""w"": -0.7631382346153259
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06591996550559998,
|
|
""y"": -0.1024644523859024,
|
|
""z"": -0.07856935262680054
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.47243738174438479,
|
|
""y"": -0.03713586553931236,
|
|
""z"": 0.056232012808322909,
|
|
""w"": 0.8787842392921448
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.05959733948111534,
|
|
""y"": -0.058347202837467197,
|
|
""z"": -0.04915406554937363
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.04085357114672661,
|
|
""y"": -0.06807663291692734,
|
|
""z"": -0.05015411972999573,
|
|
""w"": 0.9955807328224182
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.05417570844292641,
|
|
""y"": -0.06124021112918854,
|
|
""z"": -0.010820410214364529
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6676225066184998,
|
|
""y"": 0.1105816513299942,
|
|
""z"": 0.04295850917696953,
|
|
""w"": -0.7349873781204224
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.04917123541235924,
|
|
""y"": -0.08335714042186737,
|
|
""z"": -0.008906473405659199
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.8353853225708008,
|
|
""y"": 0.06540791690349579,
|
|
""z"": 0.06353609263896942,
|
|
""w"": -0.5420482158660889
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.04596330597996712,
|
|
""y"": -0.09961440414190293,
|
|
""z"": -0.01623125560581684
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.8353853225708008,
|
|
""y"": 0.06540791690349579,
|
|
""z"": 0.06353609263896942,
|
|
""w"": -0.5420482158660889
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0744781643152237,
|
|
""y"": -0.10360054671764374,
|
|
""z"": -0.0763457864522934
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.41186657547950747,
|
|
""y"": 0.08814334124326706,
|
|
""z"": 0.11705385893583298,
|
|
""w"": 0.899385929107666
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.07774728536605835,
|
|
""y"": -0.06353195011615753,
|
|
""z"": -0.04239652305841446
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.041607990860939029,
|
|
""y"": -0.09294969588518143,
|
|
""z"": -0.13152775168418885,
|
|
""w"": 0.9860676527023315
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.07291404902935028,
|
|
""y"": -0.06496524065732956,
|
|
""z"": -0.018031639978289605
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5850560069084168,
|
|
""y"": 0.1312275528907776,
|
|
""z"": 0.1167183518409729,
|
|
""w"": -0.7917484641075134
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06660763919353485,
|
|
""y"": -0.08136984705924988,
|
|
""z"": -0.01288614422082901
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.7947900295257568,
|
|
""y"": 0.13635152578353883,
|
|
""z"": 0.22647207975387574,
|
|
""w"": -0.5462852120399475
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.059262972325086597,
|
|
""y"": -0.09300953149795532,
|
|
""z"": -0.017223456874489785
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.7947900295257568,
|
|
""y"": 0.13635152578353883,
|
|
""z"": 0.22647207975387574,
|
|
""w"": -0.5462852120399475
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}";
|
|
|
|
#endregion
|
|
|
|
#region ArticulatedHandPose_OpenSteadyGrabPoint JSON
|
|
|
|
private const string ArticulatedHandPose_OpenSteadyGrabPoint = @"
|
|
{
|
|
""items"": [
|
|
{
|
|
""joint"": ""None"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0681008753599599,
|
|
""y"": -0.023189845320302993,
|
|
""z"": -0.32335868163499981
|
|
},
|
|
""rotation"": {
|
|
""x"": 0,
|
|
""y"": 0,
|
|
""z"": 0,
|
|
""w"": 0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Wrist"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.083900304394774139,
|
|
""y"": -0.087249765929300338,
|
|
""z"": -0.050604623393155634
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.53067469596862793,
|
|
""y"": -0.24036270380020142,
|
|
""z"": -0.0010364949703216553,
|
|
""w"": 0.81267738342285156
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Palm"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.071408500778488815,
|
|
""y"": -0.045779893931467086,
|
|
""z"": -0.034272220567800105
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.53067469596862793,
|
|
""y"": -0.24036270380020142,
|
|
""z"": -0.0010364949703216553,
|
|
""w"": 0.81267738342285156
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbMetacarpalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.059964598971419036,
|
|
""y"": -0.080086136993486434,
|
|
""z"": -0.040898241684772074
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5606539249420166,
|
|
""y"": -0.098196841776371,
|
|
""z"": 0.670694887638092,
|
|
""w"": 0.47619414329528809
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbProximalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.024715005303733051,
|
|
""y"": -0.063306781288702041,
|
|
""z"": -0.026187368319369853
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5155644416809082,
|
|
""y"": -0.0010041594505310059,
|
|
""z"": 0.66199594736099243,
|
|
""w"": 0.54453784227371216
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0037162675289437175,
|
|
""y"": -0.046092944976408035,
|
|
""z"": -0.011772743077017367
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.54901701211929321,
|
|
""y"": -0.083434708416461945,
|
|
""z"": 0.67281347513198853,
|
|
""w"": 0.48939600586891174
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.011031027999706566,
|
|
""y"": -0.038446779188234359,
|
|
""z"": -0.0048686085501685739
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.54901701211929321,
|
|
""y"": -0.083434708416461945,
|
|
""z"": 0.67281347513198853,
|
|
""w"": 0.48939600586891174
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.068815393256954849,
|
|
""y"": -0.074782254931051284,
|
|
""z"": -0.041599955991841853
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.52426069974899292,
|
|
""y"": -0.3638727068901062,
|
|
""z"": 0.00037233531475067139,
|
|
""w"": 0.76990067958831787
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0358468386111781,
|
|
""y"": -0.027330848213750869,
|
|
""z"": -0.030692756758071482
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.51531755924224854,
|
|
""y"": -0.13684964179992676,
|
|
""z"": 0.0975230410695076,
|
|
""w"": 0.840372622013092
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.02204116981010884,
|
|
""y"": 0.0077296804520301521,
|
|
""z"": -0.012671802775003016
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.50836259126663208,
|
|
""y"": -0.086904048919677734,
|
|
""z"": 0.17722404003143311,
|
|
""w"": 0.8382880687713623
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.014715371071361005,
|
|
""y"": 0.026189111347775906,
|
|
""z"": -0.0021521305898204446
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.49860423803329468,
|
|
""y"": -0.10437075048685074,
|
|
""z"": 0.07316453754901886,
|
|
""w"": 0.85774844884872437
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.011031027999706566,
|
|
""y"": 0.038446779188234359,
|
|
""z"": 0.0048686085501685739
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.49860423803329468,
|
|
""y"": -0.10437075048685074,
|
|
""z"": 0.07316453754901886,
|
|
""w"": 0.85774844884872437
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.076195256668142974,
|
|
""y"": -0.07264688127906993,
|
|
""z"": -0.041560460464097559
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.59805238246917725,
|
|
""y"": -0.19373856484889984,
|
|
""z"": 0.061999037861824036,
|
|
""w"": 0.77521258592605591
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.055720763164572418,
|
|
""y"": -0.023271466430742294,
|
|
""z"": -0.030102503136731684
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.077070519328117371,
|
|
""y"": 0.094939872622489929,
|
|
""z"": -0.069679252803325653,
|
|
""w"": -0.99005615711212158
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.047521518426947296,
|
|
""y"": -0.017521480855066329,
|
|
""z"": 0.0099180614342913032
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.53644359111785889,
|
|
""y"": 0.035090312361717224,
|
|
""z"": -0.1292860358953476,
|
|
""w"": -0.83331835269927979
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.049561099964194,
|
|
""y"": -0.040532971557695419,
|
|
""z"": 0.020680004148744047
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.78986877202987671,
|
|
""y"": -0.053519021719694138,
|
|
""z"": -0.050689004361629486,
|
|
""w"": -0.6095116138458252
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.051911352085880935,
|
|
""y"": -0.05612527095945552,
|
|
""z"": 0.016590305953286588
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.78986877202987671,
|
|
""y"": -0.053519021719694138,
|
|
""z"": -0.050689004361629486,
|
|
""w"": -0.6095116138458252
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.085886040586046875,
|
|
""y"": -0.069404299196321517,
|
|
""z"": -0.040918995277024806
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.56751000881195068,
|
|
""y"": -0.080191992223262787,
|
|
""z"": 0.10617346316576004,
|
|
""w"": 0.81254440546035767
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.073698634165339172,
|
|
""y"": -0.025420582678634673,
|
|
""z"": -0.024252940551377833
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.039752580225467682,
|
|
""y"": 0.095591984689235687,
|
|
""z"": -0.024301081895828247,
|
|
""w"": -0.99433755874633789
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.066912477719597518,
|
|
""y"": -0.02843858563574031,
|
|
""z"": 0.011035257368348539
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.75884842872619629,
|
|
""y"": 0.0701710507273674,
|
|
""z"": -0.045488141477108,
|
|
""w"": -0.64596694707870483
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.066450962680391967,
|
|
""y"": -0.049397612747270614,
|
|
""z"": 0.0076107823988422751
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.91296499967575073,
|
|
""y"": -0.0051798690110445023,
|
|
""z"": -0.0075602680444717407,
|
|
""w"": -0.408629447221756
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.066765406983904541,
|
|
""y"": -0.062715361651498824,
|
|
""z"": -0.0042944444576278329
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.91296499967575073,
|
|
""y"": -0.0051798690110445023,
|
|
""z"": -0.0075602680444717407,
|
|
""w"": -0.408629447221756
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.094160931068472564,
|
|
""y"": -0.068957443174440414,
|
|
""z"": -0.038461294607259333
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.50770407915115356,
|
|
""y"": 0.040728926658630371,
|
|
""z"": 0.15177793800830841,
|
|
""w"": 0.84707796573638916
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0901073234854266,
|
|
""y"": -0.027405167755205184,
|
|
""z"": -0.015546370879746974
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.082991220057010651,
|
|
""y"": 0.1249239444732666,
|
|
""z"": 0.041553191840648651,
|
|
""w"": -0.98782354593276978
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.084039838868193328,
|
|
""y"": -0.031077812251169235,
|
|
""z"": 0.0072923259576782584
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.715654730796814,
|
|
""y"": 0.1371033787727356,
|
|
""z"": 0.001321159303188324,
|
|
""w"": -0.6849520206451416
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.080680111306719482,
|
|
""y"": -0.048435876902658492,
|
|
""z"": 0.0062009388348087668
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.8999292254447937,
|
|
""y"": 0.06855495274066925,
|
|
""z"": 0.11455988883972168,
|
|
""w"": -0.41592133045196533
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0770126300631091,
|
|
""y"": -0.058652232226449996,
|
|
""z"": -0.0025606980780139565
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.8999292254447937,
|
|
""y"": 0.06855495274066925,
|
|
""z"": 0.11455988883972168,
|
|
""w"": -0.41592133045196533
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}";
|
|
|
|
#endregion
|
|
|
|
#region ArticulatedHandPose_Pinch JSON
|
|
|
|
private const string ArticulatedHandPose_Pinch = @"
|
|
{
|
|
""items"": [
|
|
{
|
|
""joint"": ""None"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.055795830441638827,
|
|
""y"": -0.050494263647124171,
|
|
""z"": -0.31160801439546049
|
|
},
|
|
""rotation"": {
|
|
""x"": 0,
|
|
""y"": 0,
|
|
""z"": 0,
|
|
""w"": 0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Wrist"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.094970445381477475,
|
|
""y"": -0.071920572547242045,
|
|
""z"": -0.043240679195150733
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.57126933336257935,
|
|
""y"": -0.40886738896369934,
|
|
""z"": -0.11714609712362289,
|
|
""w"": 0.70179426670074463
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Palm"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.078446935163810849,
|
|
""y"": -0.025236195651814342,
|
|
""z"": -0.038608604809269309
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.57126933336257935,
|
|
""y"": -0.40886738896369934,
|
|
""z"": -0.11714609712362289,
|
|
""w"": 0.70179426670074463
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbMetacarpalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0704388425219804,
|
|
""y"": -0.063463031081482768,
|
|
""z"": -0.0446559542324394
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.59957319498062134,
|
|
""y"": 0.056990712881088257,
|
|
""z"": -0.661469042301178,
|
|
""w"": -0.44784826040267944
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbProximalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.030931103276088834,
|
|
""y"": -0.041895947186276317,
|
|
""z"": -0.03173214360140264
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.48144450783729553,
|
|
""y"": -0.077987000346183777,
|
|
""z"": -0.66726517677307129,
|
|
""w"": -0.56365346908569336
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.011377685004845262,
|
|
""y"": -0.0191096484195441,
|
|
""z"": -0.013179950183257461
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.48974254727363586,
|
|
""y"": -0.04340343177318573,
|
|
""z"": -0.678149402141571,
|
|
""w"": -0.54698729515075684
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.00054007698781788349,
|
|
""y"": -0.0076306506525725126,
|
|
""z"": -0.0031634948682039976
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.48974254727363586,
|
|
""y"": -0.04340343177318573,
|
|
""z"": -0.678149402141571,
|
|
""w"": -0.54698729515075684
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.079071666346862912,
|
|
""y"": -0.057821920840069652,
|
|
""z"": -0.042442125966772437
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.54839807748794556,
|
|
""y"": -0.5408281683921814,
|
|
""z"": -0.10956580191850662,
|
|
""w"": 0.6282992959022522
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.042313426034525037,
|
|
""y"": -0.0047555731143802404,
|
|
""z"": -0.054694456746801734
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.33803752064704895,
|
|
""y"": 0.34615525603294373,
|
|
""z"": -0.075356766581535339,
|
|
""w"": -0.87192034721374512
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.015641395235434175,
|
|
""y"": 0.0171373023185879,
|
|
""z"": -0.033025106182321906
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.011520777828991413,
|
|
""y"": 0.23532292246818543,
|
|
""z"": -0.26723867654800415,
|
|
""w"": -0.93442928791046143
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0043656446505337954,
|
|
""y"": 0.014503426151350141,
|
|
""z"": -0.01055326103232801
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.18848013877868652,
|
|
""y"": 0.1752738356590271,
|
|
""z"": -0.23216751217842102,
|
|
""w"": -0.938201367855072
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0011067038867622614,
|
|
""y"": 0.0017288230592384935,
|
|
""z"": -0.0008905145805329084
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.4986042380332947,
|
|
""y"": -0.10437075048685074,
|
|
""z"": 0.07316453754901886,
|
|
""w"": 0.8577484488487244
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.085573996650055051,
|
|
""y"": -0.055481004295870662,
|
|
""z"": -0.039088224759325385
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.64046329259872437,
|
|
""y"": -0.373137503862381,
|
|
""z"": -0.082113638520240784,
|
|
""w"": 0.66620767116546631
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.061702992068603635,
|
|
""y"": 0.00021764193661510944,
|
|
""z"": -0.04510785429738462
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.1714177131652832,
|
|
""y"": 0.3295632004737854,
|
|
""z"": -0.056909773498773575,
|
|
""w"": -0.92670679092407227
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.033647007541731,
|
|
""y"": 0.01268923026509583,
|
|
""z"": -0.012882571434602141
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.52955335378646851,
|
|
""y"": 0.20503298938274384,
|
|
""z"": -0.28541553020477295,
|
|
""w"": -0.77215194702148438
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.033218997763469815,
|
|
""y"": -0.014666470466181636,
|
|
""z"": -0.00248397677205503
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.80611693859100342,
|
|
""y"": 0.037188127636909485,
|
|
""z"": -0.25478187203407288,
|
|
""w"": -0.5337793231010437
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.039724528091028333,
|
|
""y"": -0.030166196404024959,
|
|
""z"": -0.0077722163405269384
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.80611693859100342,
|
|
""y"": 0.037188127636909485,
|
|
""z"": -0.25478187203407288,
|
|
""w"": -0.5337793231010437
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.094046983169391751,
|
|
""y"": -0.05198403331451118,
|
|
""z"": -0.034078513970598578
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.63099503517150879,
|
|
""y"": -0.25767973065376282,
|
|
""z"": -0.040025528520345688,
|
|
""w"": 0.73064666986465454
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.076233054744079709,
|
|
""y"": -0.00047668232582509518,
|
|
""z"": -0.030205076327547431
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.061521425843238831,
|
|
""y"": 0.32744783163070679,
|
|
""z"": -0.026347285136580467,
|
|
""w"": -0.94250476360321045
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.051643508719280362,
|
|
""y"": 0.003435472259297967,
|
|
""z"": 0.00062574469484388828
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.7006344199180603,
|
|
""y"": 0.22492779791355133,
|
|
""z"": -0.23193849623203278,
|
|
""w"": -0.63627457618713379
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0525671869982034,
|
|
""y"": -0.0204183969181031,
|
|
""z"": -0.0013549791183322668
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.88947725296020508,
|
|
""y"": 0.068172931671142578,
|
|
""z"": -0.23703967034816742,
|
|
""w"": -0.38538727164268494
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0596969083417207,
|
|
""y"": -0.034293188480660319,
|
|
""z"": -0.0127856710460037
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.88947725296020508,
|
|
""y"": 0.068172931671142578,
|
|
""z"": -0.23703967034816742,
|
|
""w"": -0.38538727164268494
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.10081055318005383,
|
|
""y"": -0.050989105133339763,
|
|
""z"": -0.027507969876751304
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.58761417865753174,
|
|
""y"": -0.13647006452083588,
|
|
""z"": 0.010980717837810516,
|
|
""w"": 0.79747408628463745
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.088435876416042447,
|
|
""y"": -0.00084916572086513042,
|
|
""z"": -0.01290042488835752
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.015533886849880219,
|
|
""y"": 0.36132562160491943,
|
|
""z"": 0.044756371527910233,
|
|
""w"": -0.9312441349029541
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.071086059557273984,
|
|
""y"": -0.000761339208111167,
|
|
""z"": 0.0060971176717430353
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6863744854927063,
|
|
""y"": 0.30161058902740479,
|
|
""z"": -0.18428879976272583,
|
|
""w"": -0.63567912578582764
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.068500611232593656,
|
|
""y"": -0.02024311083368957,
|
|
""z"": 0.0036448633763939142
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.93071597814559937,
|
|
""y"": 0.13045383989810944,
|
|
""z"": -0.11257931590080261,
|
|
""w"": -0.32351988554000854
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.070451776729896665,
|
|
""y"": -0.030086855171248317,
|
|
""z"": -0.00828781514428556
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.93071597814559937,
|
|
""y"": 0.13045383989810944,
|
|
""z"": -0.11257931590080261,
|
|
""w"": -0.32351988554000854
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}";
|
|
|
|
#endregion
|
|
|
|
#region ArticulatedHandPose_PinchSteadyWrist JSON
|
|
|
|
private const string ArticulatedHandPose_PinchSteadyWrist = @"
|
|
{
|
|
""items"": [
|
|
{
|
|
""joint"": ""None"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.06115446984767914,
|
|
""y"": -0.09662134945392609,
|
|
""z"": -0.2845369577407837
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.0,
|
|
""y"": 0.0,
|
|
""z"": 0.0,
|
|
""w"": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Wrist"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.09835253655910492,
|
|
""y"": -0.13776640594005586,
|
|
""z"": -0.039533719420433047
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5504903793334961,
|
|
""y"": -0.3628506064414978,
|
|
""z"": 0.009051494300365448,
|
|
""w"": 0.7516400218009949
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Palm"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0762285590171814,
|
|
""y"": -0.0935618057847023,
|
|
""z"": -0.03025330975651741
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5504903793334961,
|
|
""y"": -0.3628506064414978,
|
|
""z"": 0.009051494300365448,
|
|
""w"": 0.7516400218009949
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbMetacarpalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0726172998547554,
|
|
""y"": -0.13283079862594605,
|
|
""z"": -0.03489827364683151
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.5268919467926025,
|
|
""y"": 0.07137523591518402,
|
|
""z"": -0.7376347184181213,
|
|
""w"": -0.4172084629535675
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbProximalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.033425573259592059,
|
|
""y"": -0.11720558255910874,
|
|
""z"": -0.01445704698562622
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.434413880109787,
|
|
""y"": -0.0821000337600708,
|
|
""z"": -0.7344200611114502,
|
|
""w"": -0.5157689452171326
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.014360085129737854,
|
|
""y"": -0.09762166440486908,
|
|
""z"": 0.006609674543142319
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.4773363769054413,
|
|
""y"": 0.019135713577270509,
|
|
""z"": -0.7483649849891663,
|
|
""w"": -0.4610738456249237
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.00011064158752560616,
|
|
""y"": -0.08949866145849228,
|
|
""z"": 0.017393887042999269
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.4773363769054413,
|
|
""y"": 0.019135713577270509,
|
|
""z"": -0.7483649849891663,
|
|
""w"": -0.4610738456249237
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.08073623478412628,
|
|
""y"": -0.125896617770195,
|
|
""z"": -0.034658633172512057
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5162340998649597,
|
|
""y"": -0.5017301440238953,
|
|
""z"": 0.006298713386058807,
|
|
""w"": 0.6940672993659973
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.03474228084087372,
|
|
""y"": -0.0794244259595871,
|
|
""z"": -0.03704426437616348
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.24844542145729066,
|
|
""y"": 0.2553045451641083,
|
|
""z"": -0.1957876831293106,
|
|
""w"": -0.9136616587638855
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.011708781123161316,
|
|
""y"": -0.06496208906173706,
|
|
""z"": -0.006560325622558594
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.07294681668281555,
|
|
""y"": 0.11601599305868149,
|
|
""z"": -0.3479400873184204,
|
|
""w"": -0.9274918437004089
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.007551820017397404,
|
|
""y"": -0.07041776180267334,
|
|
""z"": 0.017747312784194948
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.23120707273483277,
|
|
""y"": 0.04230353981256485,
|
|
""z"": -0.283862441778183,
|
|
""w"": -0.9298091530799866
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.008366326801478863,
|
|
""y"": -0.07753925025463104,
|
|
""z"": 0.03171003982424736
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.23120707273483277,
|
|
""y"": 0.04230353981256485,
|
|
""z"": -0.283862441778183,
|
|
""w"": -0.9298091530799866
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.08751480281352997,
|
|
""y"": -0.12250128388404846,
|
|
""z"": -0.03293202817440033
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6167790293693543,
|
|
""y"": -0.3379325270652771,
|
|
""z"": 0.047245174646377566,
|
|
""w"": 0.7093328237533569
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.05473826080560684,
|
|
""y"": -0.07110955566167832,
|
|
""z"": -0.03227551281452179
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.14497825503349305,
|
|
""y"": 0.23276910185813905,
|
|
""z"": -0.15017877519130708,
|
|
""w"": -0.9498769640922546
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.03288401663303375,
|
|
""y"": -0.061863791197538379,
|
|
""z"": 0.005947750061750412
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.529046893119812,
|
|
""y"": 0.08228799700737,
|
|
""z"": -0.27945762872695925,
|
|
""w"": -0.7971096038818359
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.03765859827399254,
|
|
""y"": -0.08771546185016632,
|
|
""z"": 0.018359089270234109
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.7883356809616089,
|
|
""y"": -0.06667964905500412,
|
|
""z"": -0.20251651108264924,
|
|
""w"": -0.5779290795326233
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.044593729078769687,
|
|
""y"": -0.10324498265981674,
|
|
""z"": 0.013978719711303711
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.7883356809616089,
|
|
""y"": -0.06667964905500412,
|
|
""z"": -0.20251651108264924,
|
|
""w"": -0.5779290795326233
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.09642073512077332,
|
|
""y"": -0.11764736473560333,
|
|
""z"": -0.03004951775074005
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6103544235229492,
|
|
""y"": -0.2158902883529663,
|
|
""z"": 0.09254944324493408,
|
|
""w"": 0.756500780582428
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.07221101969480515,
|
|
""y"": -0.06899281591176987,
|
|
""z"": -0.021143771708011628
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.05531589314341545,
|
|
""y"": 0.22126297652721406,
|
|
""z"": -0.10504759848117829,
|
|
""w"": -0.9679690599441528
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.05479241907596588,
|
|
""y"": -0.06659357994794846,
|
|
""z"": 0.014326661825180054
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.7176058888435364,
|
|
""y"": 0.09858439117670059,
|
|
""z"": -0.19834160804748536,
|
|
""w"": -0.6603801846504211
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.05848679319024086,
|
|
""y"": -0.09022481739521027,
|
|
""z"": 0.013152096420526505
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.902705729007721,
|
|
""y"": -0.04138700291514397,
|
|
""z"": -0.16108426451683045,
|
|
""w"": -0.39749816060066225
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0647393986582756,
|
|
""y"": -0.10384124517440796,
|
|
""z"": 0.000916551798582077
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.902705729007721,
|
|
""y"": -0.04138700291514397,
|
|
""z"": -0.16108426451683045,
|
|
""w"": -0.39749816060066225
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.10431554913520813,
|
|
""y"": -0.11550788581371308,
|
|
""z"": -0.02525215595960617
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5731514096260071,
|
|
""y"": -0.08393544703722,
|
|
""z"": 0.14239011704921723,
|
|
""w"": 0.8026066422462463
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.08813987672328949,
|
|
""y"": -0.06685832887887955,
|
|
""z"": -0.0073963552713394169
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.004650826565921307,
|
|
""y"": 0.2523718476295471,
|
|
""z"": -0.022669829428195955,
|
|
""w"": -0.967362105846405
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.07569940388202667,
|
|
""y"": -0.066920705139637,
|
|
""z"": 0.014825716614723206
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6876563429832459,
|
|
""y"": 0.1765523999929428,
|
|
""z"": -0.14831064641475678,
|
|
""w"": -0.6885376572608948
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0749262273311615,
|
|
""y"": -0.08663906902074814,
|
|
""z"": 0.014672402292490006
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.927348792552948,
|
|
""y"": 0.0344926156103611,
|
|
""z"": -0.02340996265411377,
|
|
""w"": -0.37271565198898318
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.07520446181297302,
|
|
""y"": -0.09743660688400269,
|
|
""z"": 0.0034288540482521059
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.927348792552948,
|
|
""y"": 0.0344926156103611,
|
|
""z"": -0.02340996265411377,
|
|
""w"": -0.37271565198898318
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}";
|
|
|
|
#endregion
|
|
|
|
#region ArticulatedHandPose_Poke JSON
|
|
|
|
private const string ArticulatedHandPose_Poke = @"
|
|
{
|
|
""items"": [
|
|
{
|
|
""joint"": ""None"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0002162586897611618,
|
|
""y"": -0.07638707756996155,
|
|
""z"": -0.5826087594032288
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.0,
|
|
""y"": 0.0,
|
|
""z"": 0.0,
|
|
""w"": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Wrist"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.042526353150606158,
|
|
""y"": -0.05274807661771774,
|
|
""z"": -0.002824799157679081
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.3676998019218445,
|
|
""y"": -0.23572500050067902,
|
|
""z"": -0.11507342755794525,
|
|
""w"": 0.8920522332191467
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Palm"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.03201436251401901,
|
|
""y"": -0.019188636913895608,
|
|
""z"": 0.02868746407330036
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.3676998019218445,
|
|
""y"": -0.23572500050067902,
|
|
""z"": -0.11507342755794525,
|
|
""w"": 0.8920522332191467
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbMetacarpalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.020570117980241777,
|
|
""y"": -0.04709470272064209,
|
|
""z"": 0.006985310930758715
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.3615202307701111,
|
|
""y"": 0.20331884920597077,
|
|
""z"": -0.6839582324028015,
|
|
""w"": -0.6008830666542053
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbProximalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.009850621223449707,
|
|
""y"": -0.04070408642292023,
|
|
""z"": 0.034042149782180789
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.21800242364406587,
|
|
""y"": 0.02305757999420166,
|
|
""z"": -0.7068297266960144,
|
|
""w"": -0.673233151435852
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.02049688994884491,
|
|
""y"": -0.03254491835832596,
|
|
""z"": 0.06248035654425621
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.258157342672348,
|
|
""y"": 0.0635419636964798,
|
|
""z"": -0.7039065957069397,
|
|
""w"": -0.6593562960624695
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.028410332277417184,
|
|
""y"": -0.028122693300247194,
|
|
""z"": 0.07770571112632752
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.258157342672348,
|
|
""y"": 0.0635419636964798,
|
|
""z"": -0.7039065957069397,
|
|
""w"": -0.6593562960624695
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.029027197510004045,
|
|
""y"": -0.042809583246707919,
|
|
""z"": 0.009094133973121643
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.3631853759288788,
|
|
""y"": -0.3677399158477783,
|
|
""z"": -0.1473514586687088,
|
|
""w"": 0.8432979583740234
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0017803632654249669,
|
|
""y"": 0.0004678480327129364,
|
|
""z"": 0.03705211728811264
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.27657586336135867,
|
|
""y"": -0.15855258703231812,
|
|
""z"": 0.0009860674617812038,
|
|
""w"": 0.947831392288208
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.014122002758085728,
|
|
""y"": 0.021943308413028718,
|
|
""z"": 0.06970683485269547
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.2553846836090088,
|
|
""y"": -0.12617842853069306,
|
|
""z"": 0.09538201987743378,
|
|
""w"": 0.9538831114768982
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.020550768822431566,
|
|
""y"": 0.0322258397936821,
|
|
""z"": 0.08830686658620835
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.30963119864463808,
|
|
""y"": -0.11118883639574051,
|
|
""z"": -0.031351685523986819,
|
|
""w"": 0.9441277980804443
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.02332291379570961,
|
|
""y"": 0.04081675410270691,
|
|
""z"": 0.09968645870685578
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.30963119864463808,
|
|
""y"": -0.11118883639574051,
|
|
""z"": -0.031351685523986819,
|
|
""w"": 0.9441277980804443
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.035866666585206988,
|
|
""y"": -0.041708216071128848,
|
|
""z"": 0.010740639641880989
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.43399062752723696,
|
|
""y"": -0.2068476676940918,
|
|
""z"": -0.05406999588012695,
|
|
""w"": 0.8751816153526306
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.018060242757201196,
|
|
""y"": 0.002479703165590763,
|
|
""z"": 0.04112553596496582
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.005038086324930191,
|
|
""y"": 0.1527022123336792,
|
|
""z"": 0.021530797705054284,
|
|
""w"": -0.9880359768867493
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.005449346732348204,
|
|
""y"": 0.0031707696616649629,
|
|
""z"": 0.08099328726530075
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.49786925315856936,
|
|
""y"": 0.13922974467277528,
|
|
""z"": -0.07507844269275665,
|
|
""w"": -0.8527824878692627
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0013555703917518259,
|
|
""y"": -0.01869615726172924,
|
|
""z"": 0.09269960224628449
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.7163864970207214,
|
|
""y"": 0.07041004300117493,
|
|
""z"": -0.030646607279777528,
|
|
""w"": -0.6939578652381897
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0004728742642328143,
|
|
""y"": -0.03479576110839844,
|
|
""z"": 0.09213778376579285
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.7163864970207214,
|
|
""y"": 0.07041004300117493,
|
|
""z"": -0.030646607279777528,
|
|
""w"": -0.6939578652381897
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.044932689517736438,
|
|
""y"": -0.04016602039337158,
|
|
""z"": 0.013597620651125908
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.3939853310585022,
|
|
""y"": -0.10114617645740509,
|
|
""z"": 0.016117071732878686,
|
|
""w"": 0.9133923053741455
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.03491469845175743,
|
|
""y"": -0.003818823955953121,
|
|
""z"": 0.047541361302137378
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.11738020181655884,
|
|
""y"": 0.15373656153678895,
|
|
""z"": 0.05639626830816269,
|
|
""w"": -0.9795019030570984
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.023768775165081025,
|
|
""y"": -0.01135534793138504,
|
|
""z"": 0.08033758401870728
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.7923092842102051,
|
|
""y"": 0.16401034593582154,
|
|
""z"": -0.02978098951280117,
|
|
""w"": -0.5869977474212647
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.02067880891263485,
|
|
""y"": -0.031320542097091678,
|
|
""z"": 0.0737735852599144
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.9346709847450256,
|
|
""y"": 0.0874316394329071,
|
|
""z"": -0.023773543536663057,
|
|
""w"": -0.344605952501297
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.020386409014463426,
|
|
""y"": -0.04289411008358002,
|
|
""z"": 0.06018315628170967
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.9346709847450256,
|
|
""y"": 0.0874316394329071,
|
|
""z"": -0.023773543536663057,
|
|
""w"": -0.344605952501297
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.05288681760430336,
|
|
""y"": -0.041848354041576388,
|
|
""z"": 0.01654883660376072
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.33144858479499819,
|
|
""y"": 0.002071807160973549,
|
|
""z"": 0.085218146443367,
|
|
""w"": 0.9396145343780518
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.050300415605306628,
|
|
""y"": -0.011202438734471798,
|
|
""z"": 0.054917603731155398
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.16419324278831483,
|
|
""y"": 0.1696346402168274,
|
|
""z"": 0.12252454459667206,
|
|
""w"": -0.9639865159988403
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.04166591167449951,
|
|
""y"": -0.017666997388005258,
|
|
""z"": 0.07580538094043732
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.7474591135978699,
|
|
""y"": 0.20672142505645753,
|
|
""z"": 0.04626481607556343,
|
|
""w"": -0.6297129392623901
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.03587989881634712,
|
|
""y"": -0.03386271744966507,
|
|
""z"": 0.0722469910979271
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.928327202796936,
|
|
""y"": 0.13445810973644257,
|
|
""z"": 0.1272566169500351,
|
|
""w"": -0.3232197165489197
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.03135494887828827,
|
|
""y"": -0.04178089275956154,
|
|
""z"": 0.06164591759443283
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.928327202796936,
|
|
""y"": 0.13445810973644257,
|
|
""z"": 0.1272566169500351,
|
|
""w"": -0.3232197165489197
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}";
|
|
|
|
#endregion
|
|
|
|
#region ArticulatedHandPose_ThumbsUp JSON
|
|
|
|
private const string ArticulatedHandPose_ThumbsUp = @"
|
|
{
|
|
""items"": [
|
|
{
|
|
""joint"": ""None"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.01725071482360363,
|
|
""y"": -0.08121182024478913,
|
|
""z"": -0.47676876187324526
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.0,
|
|
""y"": 0.0,
|
|
""z"": 0.0,
|
|
""w"": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Wrist"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.08615099638700485,
|
|
""y"": -0.024168234318494798,
|
|
""z"": 0.034818120300769809
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.24332590401172639,
|
|
""y"": 0.6052875518798828,
|
|
""z"": 0.5141062140464783,
|
|
""w"": -0.5566452741622925
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Palm"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.03520287200808525,
|
|
""y"": -0.010816145688295365,
|
|
""z"": 0.04648737236857414
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.24332590401172639,
|
|
""y"": 0.6052875518798828,
|
|
""z"": 0.5141062140464783,
|
|
""w"": -0.5566452741622925
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbMetacarpalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06692907959222794,
|
|
""y"": -0.0030839829705655576,
|
|
""z"": 0.020349422469735147
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.39406728744506838,
|
|
""y"": 0.7213952541351318,
|
|
""z"": 0.33115363121032717,
|
|
""w"": -0.46385547518730166
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbProximalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.048644911497831348,
|
|
""y"": 0.034663256257772449,
|
|
""z"": 0.004639927297830582
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.34302714467048647,
|
|
""y"": 0.719179630279541,
|
|
""z"": 0.2980014383792877,
|
|
""w"": -0.5261238217353821
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.030924495309591295,
|
|
""y"": 0.05998371168971062,
|
|
""z"": -0.004000300541520119
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.4403221607208252,
|
|
""y"": 0.6942930817604065,
|
|
""z"": 0.3865111470222473,
|
|
""w"": -0.4186002314090729
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.02607334591448307,
|
|
""y"": 0.07819978147745133,
|
|
""z"": -0.011070644482970238
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.4403221607208252,
|
|
""y"": 0.6942930817604065,
|
|
""z"": 0.3865111470222473,
|
|
""w"": -0.4186002314090729
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06430374830961228,
|
|
""y"": -0.01019766554236412,
|
|
""z"": 0.02929815649986267
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.22792501747608186,
|
|
""y"": 0.6316274404525757,
|
|
""z"": 0.5866482257843018,
|
|
""w"": -0.45270389318466189
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.011573880910873413,
|
|
""y"": 0.02339656837284565,
|
|
""z"": 0.03546718880534172
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.3942926526069641,
|
|
""y"": -0.7424762845039368,
|
|
""z"": -0.21414896845817567,
|
|
""w"": 0.49741214513778689
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.021892068907618524,
|
|
""y"": 0.020658958703279496,
|
|
""z"": 0.020219745114445688
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.5834210515022278,
|
|
""y"": -0.7061115503311157,
|
|
""z"": 0.3634859323501587,
|
|
""w"": 0.17027443647384644
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.017463261261582376,
|
|
""y"": 0.00348295527510345,
|
|
""z"": 0.0038637774996459486
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.6371655464172363,
|
|
""y"": -0.4360961318016052,
|
|
""z"": 0.6206539869308472,
|
|
""w"": -0.13840782642364503
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.001938387518748641,
|
|
""y"": -0.0027357139624655248,
|
|
""z"": 0.0005815188633278012
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.6371655464172363,
|
|
""y"": -0.4360961318016052,
|
|
""z"": 0.6206539869308472,
|
|
""w"": -0.13840782642364503
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06397924572229386,
|
|
""y"": -0.016921602189540864,
|
|
""z"": 0.03521520271897316
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.16760338842868806,
|
|
""y"": 0.5928976535797119,
|
|
""z"": 0.5015624761581421,
|
|
""w"": -0.6073026657104492
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.01083554606884718,
|
|
""y"": 0.006482137367129326,
|
|
""z"": 0.049619730561971667
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.5027921199798584,
|
|
""y"": -0.7059369087219238,
|
|
""z"": -0.16476257145404817,
|
|
""w"": 0.4708792269229889
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.025254713371396066,
|
|
""y"": -0.003984889946877956,
|
|
""z"": 0.02779259905219078
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.6809582710266113,
|
|
""y"": -0.6233372688293457,
|
|
""z"": 0.3824990391731262,
|
|
""w"": -0.039771441370248798
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.00917090568691492,
|
|
""y"": -0.015904264524579049,
|
|
""z"": 0.007921875454485417
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.6229440569877625,
|
|
""y"": -0.2391648292541504,
|
|
""z"": 0.642637312412262,
|
|
""w"": -0.37781840562820437
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.008252275176346302,
|
|
""y"": -0.013008372858166695,
|
|
""z"": 0.009888304397463799
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.6229440569877625,
|
|
""y"": -0.2391648292541504,
|
|
""z"": 0.642637312412262,
|
|
""w"": -0.37781840562820437
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06303475052118302,
|
|
""y"": -0.02612213045358658,
|
|
""z"": 0.04269380867481232
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.18103565275669099,
|
|
""y"": 0.5941647887229919,
|
|
""z"": 0.39771339297294619,
|
|
""w"": -0.6752913594245911
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.010207276791334153,
|
|
""y"": -0.013390008360147477,
|
|
""z"": 0.055441394448280337
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.5632884502410889,
|
|
""y"": -0.6713510751724243,
|
|
""z"": -0.15870888531208039,
|
|
""w"": 0.45477786660194399
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.01994304731488228,
|
|
""y"": -0.024818312376737596,
|
|
""z"": 0.03496982902288437
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.7331446409225464,
|
|
""y"": -0.5462665557861328,
|
|
""z"": 0.3692132830619812,
|
|
""w"": -0.16697438061237336
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0031065356452018024,
|
|
""y"": -0.028507214039564134,
|
|
""z"": 0.019337791949510576
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.6351615786552429,
|
|
""y"": -0.23133434355258943,
|
|
""z"": 0.5935887098312378,
|
|
""w"": -0.43731656670570376
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.015546157956123352,
|
|
""y"": -0.023027585819363595,
|
|
""z"": 0.021024812012910844
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.6351615786552429,
|
|
""y"": -0.23133434355258943,
|
|
""z"": 0.5935887098312378,
|
|
""w"": -0.43731656670570376
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06254640221595764,
|
|
""y"": -0.034929849207401279,
|
|
""z"": 0.04593820124864578
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.19249169528484345,
|
|
""y"": 0.581859290599823,
|
|
""z"": 0.2601516842842102,
|
|
""w"": -0.7461285591125488
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.009921858087182045,
|
|
""y"": -0.03408779203891754,
|
|
""z"": 0.05945640057325363
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.6286200881004334,
|
|
""y"": -0.6190594434738159,
|
|
""z"": -0.18423764407634736,
|
|
""w"": 0.43321672081947329
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.007876850664615631,
|
|
""y"": -0.041423700749874118,
|
|
""z"": 0.04655241593718529
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.7744045257568359,
|
|
""y"": -0.5470465421676636,
|
|
""z"": 0.2698802649974823,
|
|
""w"": -0.1682688444852829
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0036155348643660547,
|
|
""y"": -0.042087383568286899,
|
|
""z"": 0.03132062032818794
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.7368069291114807,
|
|
""y"": -0.19751593470573426,
|
|
""z"": 0.4435950815677643,
|
|
""w"": -0.47120407223701479
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.016652610152959825,
|
|
""y"": -0.034032851457595828,
|
|
""z"": 0.02879030816257
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.7368069291114807,
|
|
""y"": -0.19751593470573426,
|
|
""z"": 0.4435950815677643,
|
|
""w"": -0.47120407223701479
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}";
|
|
|
|
#endregion
|
|
|
|
#region ArticulatedHandPose_Victory JSON
|
|
|
|
private const string ArticulatedHandPose_Victory = @"
|
|
{
|
|
""items"": [
|
|
{
|
|
""joint"": ""None"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0021753902547061445,
|
|
""y"": -0.13046418130397798,
|
|
""z"": -0.45588064193725588
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.0,
|
|
""y"": 0.0,
|
|
""z"": 0.0,
|
|
""w"": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Wrist"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.07915662229061127,
|
|
""y"": -0.13887012004852296,
|
|
""z"": -0.010340530425310135
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5914298295974731,
|
|
""y"": -0.2676140367984772,
|
|
""z"": -0.06283169984817505,
|
|
""w"": 0.7577439546585083
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Palm"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06830108910799027,
|
|
""y"": -0.09366560727357865,
|
|
""z"": -0.0000256318598985672
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5914298295974731,
|
|
""y"": -0.2676140367984772,
|
|
""z"": -0.06283169984817505,
|
|
""w"": 0.7577439546585083
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbMetacarpalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.05787024274468422,
|
|
""y"": -0.12883375585079194,
|
|
""z"": -0.005382232367992401
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.4801919758319855,
|
|
""y"": -0.04491055756807327,
|
|
""z"": -0.7443504333496094,
|
|
""w"": -0.4627794027328491
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbProximalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.030012525618076326,
|
|
""y"": -0.10770050436258316,
|
|
""z"": 0.016813457012176515
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.312323659658432,
|
|
""y"": -0.2742984890937805,
|
|
""z"": -0.6935320496559143,
|
|
""w"": -0.5894817113876343
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.026396021246910096,
|
|
""y"": -0.08305369317531586,
|
|
""z"": 0.03835996612906456
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.26157766580581667,
|
|
""y"": -0.3302468955516815,
|
|
""z"": -0.6686716675758362,
|
|
""w"": -0.6136223673820496
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.027343440800905229,
|
|
""y"": -0.07000578194856644,
|
|
""z"": 0.04939644783735275
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.26157766580581667,
|
|
""y"": -0.3302468955516815,
|
|
""z"": -0.6686716675758362,
|
|
""w"": -0.6136223673820496
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06611358374357224,
|
|
""y"": -0.12426556646823883,
|
|
""z"": -0.0055283233523368839
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5613270998001099,
|
|
""y"": -0.42208683490753176,
|
|
""z"": -0.06766947358846665,
|
|
""w"": 0.7086432576179504
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.034438081085681918,
|
|
""y"": -0.0725482851266861,
|
|
""z"": -0.004708992317318916
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6286489963531494,
|
|
""y"": -0.2787279188632965,
|
|
""z"": 0.040076885372400287,
|
|
""w"": 0.7249277830123901
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.015563697554171086,
|
|
""y"": -0.03562714159488678,
|
|
""z"": -0.0024565430358052255
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6645650863647461,
|
|
""y"": -0.2075067013502121,
|
|
""z"": 0.10458821058273316,
|
|
""w"": 0.7102522253990173
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.005756473168730736,
|
|
""y"": -0.015270628966391087,
|
|
""z"": -0.0017626225017011166
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6223592162132263,
|
|
""y"": -0.24349386990070344,
|
|
""z"": 0.01842544600367546,
|
|
""w"": 0.7439839839935303
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.00011674128472805023,
|
|
""y"": -0.0018588211387395859,
|
|
""z"": -0.00020025699632242322
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6223592162132263,
|
|
""y"": -0.24349386990070344,
|
|
""z"": 0.01842544600367546,
|
|
""w"": 0.7439839839935303
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.07268297672271729,
|
|
""y"": -0.12254584580659867,
|
|
""z"": -0.004201311618089676
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6534333825111389,
|
|
""y"": -0.22906279563903809,
|
|
""z"": -0.018352244049310685,
|
|
""w"": 0.7212615013122559
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.054447855800390246,
|
|
""y"": -0.06595612317323685,
|
|
""z"": -0.0017550308257341385
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5899049043655396,
|
|
""y"": -0.16088859736919404,
|
|
""z"": -0.018363818526268007,
|
|
""w"": 0.7910826206207275
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.04355549067258835,
|
|
""y"": -0.022029317915439607,
|
|
""z"": 0.010043984279036522
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6020974516868591,
|
|
""y"": -0.14070262014865876,
|
|
""z"": -0.036361001431941989,
|
|
""w"": 0.7852000594139099
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.03923114016652107,
|
|
""y"": 0.0012873951345682145,
|
|
""z"": 0.015791211277246476
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5366969108581543,
|
|
""y"": -0.17153941094875337,
|
|
""z"": -0.09987709671258927,
|
|
""w"": 0.8206644058227539
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.03647539019584656,
|
|
""y"": 0.015714645385742189,
|
|
""z"": 0.021557386964559556
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5366969108581543,
|
|
""y"": -0.17153941094875337,
|
|
""z"": -0.09987709671258927,
|
|
""w"": 0.8206644058227539
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.08137646317481995,
|
|
""y"": -0.11985518038272858,
|
|
""z"": -0.00190657377243042
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.6267969012260437,
|
|
""y"": -0.10518965870141983,
|
|
""z"": 0.02498382329940796,
|
|
""w"": 0.7716453075408936
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.07067620009183884,
|
|
""y"": -0.06669728457927704,
|
|
""z"": 0.008708799257874489
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.40646883845329287,
|
|
""y"": 0.1807955503463745,
|
|
""z"": 0.030094729736447336,
|
|
""w"": -0.8951042294502258
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.060088954865932468,
|
|
""y"": -0.04056686535477638,
|
|
""z"": 0.03008754923939705
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.2107616662979126,
|
|
""y"": 0.18913404643535615,
|
|
""z"": -0.04620787873864174,
|
|
""w"": -0.9580028653144836
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0528024360537529,
|
|
""y"": -0.0495174415409565,
|
|
""z"": 0.047927625477313998
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.449715256690979,
|
|
""y"": 0.15903393924236298,
|
|
""z"": -0.020673276856541635,
|
|
""w"": -0.8789007067680359
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.048170287162065509,
|
|
""y"": -0.06364263594150543,
|
|
""z"": 0.05758979544043541
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.449715256690979,
|
|
""y"": 0.15903393924236298,
|
|
""z"": -0.020673276856541635,
|
|
""w"": -0.8789007067680359
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.08909709751605988,
|
|
""y"": -0.11985252797603607,
|
|
""z"": 0.001964922994375229
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.5780324339866638,
|
|
""y"": -0.0013396204449236394,
|
|
""z"": 0.06318691372871399,
|
|
""w"": 0.8135625720024109
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0851951465010643,
|
|
""y"": -0.07107751816511154,
|
|
""z"": 0.019172409549355508
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.31776368618011477,
|
|
""y"": 0.2502634525299072,
|
|
""z"": 0.05463750660419464,
|
|
""w"": -0.9129235744476318
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.07433749735355377,
|
|
""y"": -0.055455759167671207,
|
|
""z"": 0.03647337108850479
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.17528946697711945,
|
|
""y"": 0.2344343513250351,
|
|
""z"": 0.019245747476816179,
|
|
""w"": -0.9560556411743164
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.06645255535840988,
|
|
""y"": -0.06111001968383789,
|
|
""z"": 0.050835996866226199
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.4488738477230072,
|
|
""y"": 0.26990553736686709,
|
|
""z"": 0.08396486192941666,
|
|
""w"": -0.8479632139205933
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.05911727994680405,
|
|
""y"": -0.07095448672771454,
|
|
""z"": 0.05705229192972183
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.4488738477230072,
|
|
""y"": 0.26990553736686709,
|
|
""z"": 0.08396486192941666,
|
|
""w"": -0.8479632139205933
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}";
|
|
|
|
#endregion
|
|
|
|
#region ArticulatedHandPose_Teleport JSON
|
|
|
|
private const string ArticulatedHandPose_TeleportStart = @"{
|
|
""items"": [
|
|
{
|
|
""joint"": ""None"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.12326642125844956,
|
|
""y"": 0.08931556344032288,
|
|
""z"": -0.4759177267551422
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.0,
|
|
""y"": 0.0,
|
|
""z"": 0.0,
|
|
""w"": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Wrist"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0205683633685112,
|
|
""y"": -0.09075187146663666,
|
|
""z"": -0.10932549834251404
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.003676861524581909,
|
|
""y"": 0.18988016247749329,
|
|
""z"": 0.9791730046272278,
|
|
""w"": 0.07177451997995377
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Palm"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.026067299768328668,
|
|
""y"": -0.07349193096160889,
|
|
""z"": -0.06611207872629166
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.0036733110900968315,
|
|
""y"": 0.1899431198835373,
|
|
""z"": 0.9791443347930908,
|
|
""w"": 0.07200412452220917
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbMetacarpalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.001929090591147542,
|
|
""y"": -0.07578838616609574,
|
|
""z"": -0.0963941216468811
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.4745818078517914,
|
|
""y"": -0.00890437513589859,
|
|
""z"": 0.7618666291236877,
|
|
""w"": -0.44073984026908877
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbProximalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.028823861852288247,
|
|
""y"": -0.05875963345170021,
|
|
""z"": -0.0732811987400055
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.32810506224632265,
|
|
""y"": 0.13452263176441194,
|
|
""z"": 0.7686472535133362,
|
|
""w"": -0.5323828458786011
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.040102653205394748,
|
|
""y"": -0.04139122739434242,
|
|
""z"": -0.04990595951676369
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.3406764268875122,
|
|
""y"": 0.20103277266025544,
|
|
""z"": 0.7425169348716736,
|
|
""w"": -0.5405492186546326
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.04528870806097984,
|
|
""y"": -0.02940738946199417,
|
|
""z"": -0.03755900263786316
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.3406764268875122,
|
|
""y"": 0.20103277266025544,
|
|
""z"": 0.7425169348716736,
|
|
""w"": -0.5405492186546326
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.012207991443574429,
|
|
""y"": -0.0785764753818512,
|
|
""z"": -0.0937529131770134
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.09054140746593476,
|
|
""y"": 0.16099980473518372,
|
|
""z"": 0.9694188237190247,
|
|
""w"": 0.1615799069404602
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.001622582320123911,
|
|
""y"": -0.0613839253783226,
|
|
""z"": -0.03712599352002144
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.044809840619564059,
|
|
""y"": 0.3155473470687866,
|
|
""z"": 0.9474731683731079,
|
|
""w"": -0.0267599206417799
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.004348198417574167,
|
|
""y"": -0.037329141050577167,
|
|
""z"": -0.005197776481509209
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.04289134219288826,
|
|
""y"": 0.59059077501297,
|
|
""z"": 0.7951709032058716,
|
|
""w"": -0.1306358426809311
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0023091353941708805,
|
|
""y"": -0.014818252064287663,
|
|
""z"": 0.001877399394288659
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.03196448087692261,
|
|
""y"": 0.7490560412406921,
|
|
""z"": 0.6575930714607239,
|
|
""w"": -0.07391995191574097
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0,
|
|
""y"": 0.0,
|
|
""z"": 0.0
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.03196448087692261,
|
|
""y"": 0.7490560412406921,
|
|
""z"": 0.6575930714607239,
|
|
""w"": -0.07391995191574097
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.020273366943001748,
|
|
""y"": -0.08037599176168442,
|
|
""z"": -0.09397269040346146
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.013304893858730793,
|
|
""y"": 0.12962158024311067,
|
|
""z"": 0.9914424419403076,
|
|
""w"": -0.007918298244476319
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.018873190507292749,
|
|
""y"": -0.0655718520283699,
|
|
""z"": -0.038376014679670337
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.043852996081113818,
|
|
""y"": 0.5762162804603577,
|
|
""z"": 0.8160499334335327,
|
|
""w"": 0.01065654307603836
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.02131693996489048,
|
|
""y"": -0.026772072538733484,
|
|
""z"": -0.024688100442290307
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.0010943382512778044,
|
|
""y"": -0.9962407946586609,
|
|
""z"": -0.07433608174324036,
|
|
""w"": -0.044458698481321338
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.01886834017932415,
|
|
""y"": -0.022688116878271104,
|
|
""z"": -0.051865335553884509
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.08298297971487045,
|
|
""y"": -0.9070985317230225,
|
|
""z"": 0.4065805971622467,
|
|
""w"": -0.0705535039305687
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.015560681000351906,
|
|
""y"": -0.034971218556165698,
|
|
""z"": -0.06302352994680405
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.08298297971487045,
|
|
""y"": -0.9070985317230225,
|
|
""z"": 0.4065805971622467,
|
|
""w"": -0.0705535039305687
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.031011532992124559,
|
|
""y"": -0.08219899237155914,
|
|
""z"": -0.0939483493566513
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.03844396770000458,
|
|
""y"": 0.18523629009723664,
|
|
""z"": 0.976532518863678,
|
|
""w"": -0.1029234379529953
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.03700186684727669,
|
|
""y"": -0.06347538530826569,
|
|
""z"": -0.044824108481407168
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.06655773520469666,
|
|
""y"": 0.6295392513275147,
|
|
""z"": 0.7722632884979248,
|
|
""w"": 0.05347265303134918
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.038269076496362689,
|
|
""y"": -0.02848704159259796,
|
|
""z"": -0.037733256816864017
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.025550873950123788,
|
|
""y"": -0.976044774055481,
|
|
""z"": 0.16115738451480866,
|
|
""w"": -0.14391517639160157
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.03218984976410866,
|
|
""y"": -0.035664163529872897,
|
|
""z"": -0.057944606989622119
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.02791859768331051,
|
|
""y"": -0.7756783366203308,
|
|
""z"": 0.6230789422988892,
|
|
""w"": -0.09651792049407959
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.028702549636363984,
|
|
""y"": -0.053830210119485858,
|
|
""z"": -0.0618172250688076
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.02791859768331051,
|
|
""y"": -0.7756783366203308,
|
|
""z"": 0.6230789422988892,
|
|
""w"": -0.09651792049407959
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.039538975805044177,
|
|
""y"": -0.08157815039157868,
|
|
""z"": -0.09604985266923905
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.09952083975076676,
|
|
""y"": 0.2510589063167572,
|
|
""z"": 0.9387911558151245,
|
|
""w"": -0.2138591855764389
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0548563189804554,
|
|
""y"": -0.05925518274307251,
|
|
""z"": -0.0515863336622715
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.08902503550052643,
|
|
""y"": 0.6482857465744019,
|
|
""z"": 0.7396973967552185,
|
|
""w"": 0.15699492394924165
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.05324401333928108,
|
|
""y"": -0.03710710257291794,
|
|
""z"": -0.04836405813694
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.058136001229286197,
|
|
""y"": -0.967332124710083,
|
|
""z"": 0.10923659056425095,
|
|
""w"": -0.22125910222530366
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.04565788432955742,
|
|
""y"": -0.04143679514527321,
|
|
""z"": -0.06440386921167374
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.06437896192073822,
|
|
""y"": -0.7750950455665588,
|
|
""z"": 0.5897969603538513,
|
|
""w"": -0.21730643510818482
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.039479125291109088,
|
|
""y"": -0.05470288172364235,
|
|
""z"": -0.0675446167588234
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.06437896192073822,
|
|
""y"": -0.7750950455665588,
|
|
""z"": 0.5897969603538513,
|
|
""w"": -0.21730643510818482
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}";
|
|
private const string ArticulatedHandPose_TeleportEnd = @"
|
|
{
|
|
""items"": [
|
|
{
|
|
""joint"": ""None"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.1158427894115448,
|
|
""y"": 0.13443027436733247,
|
|
""z"": -0.4134027361869812
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.0,
|
|
""y"": 0.0,
|
|
""z"": 0.0,
|
|
""w"": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Wrist"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.017183450981974603,
|
|
""y"": -0.048060864210128787,
|
|
""z"": -0.0495603047311306
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.009308621287345887,
|
|
""y"": 0.17712855339050294,
|
|
""z"": 0.9820802807807922,
|
|
""w"": 0.06369277089834213
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""Palm"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.023508865386247636,
|
|
""y"": -0.03243362531065941,
|
|
""z"": -0.006628097966313362
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.009307356551289559,
|
|
""y"": 0.17721131443977357,
|
|
""z"": 0.9820438623428345,
|
|
""w"": 0.06402759999036789
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbMetacarpalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0005868881708011031,
|
|
""y"": -0.0328989177942276,
|
|
""z"": -0.03591303154826164
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.4359137713909149,
|
|
""y"": 0.011171163059771061,
|
|
""z"": 0.7560729384422302,
|
|
""w"": -0.4880653917789459
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbProximalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0282078105956316,
|
|
""y"": -0.01404919009655714,
|
|
""z"": -0.0095086470246315
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.2592775225639343,
|
|
""y"": 0.15424856543540955,
|
|
""z"": 0.7599256038665772,
|
|
""w"": -0.575756311416626
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.03500421717762947,
|
|
""y"": 0.002687049563974142,
|
|
""z"": 0.016175691038370134
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.2957545816898346,
|
|
""y"": 0.18920210003852845,
|
|
""z"": 0.7441263794898987,
|
|
""w"": -0.5683374404907227
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""ThumbTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.03908238559961319,
|
|
""y"": 0.013879237696528435,
|
|
""z"": 0.02982652373611927
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.2957545816898346,
|
|
""y"": 0.18920210003852845,
|
|
""z"": 0.7441263794898987,
|
|
""w"": -0.5683374404907227
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.009649188257753849,
|
|
""y"": -0.03625880554318428,
|
|
""z"": -0.0337478369474411
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.08826897293329239,
|
|
""y"": 0.15167167782783509,
|
|
""z"": 0.9711161255836487,
|
|
""w"": 0.1616707444190979
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0035026671830564739,
|
|
""y"": -0.020389249548316003,
|
|
""z"": 0.022229012101888658
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.008532955311238766,
|
|
""y"": 0.627875804901123,
|
|
""z"": 0.7778981328010559,
|
|
""w"": -0.02394290454685688
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0029254069086164238,
|
|
""y"": 0.01320799719542265,
|
|
""z"": 0.029496701434254648
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.026787973940372468,
|
|
""y"": -0.993870198726654,
|
|
""z"": -0.04119173809885979,
|
|
""w"": 0.09903156012296677
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0014926480362191797,
|
|
""y"": 0.014907545410096646,
|
|
""z"": 0.007812273222953081
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.09822526574134827,
|
|
""y"": -0.8494296669960022,
|
|
""z"": 0.5184183716773987,
|
|
""w"": 0.007948068901896477
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""IndexTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": 0.0,
|
|
""y"": 0.0,
|
|
""z"": 0.0
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.09822526574134827,
|
|
""y"": -0.8494296669960022,
|
|
""z"": 0.5184183716773987,
|
|
""w"": 0.007948068901896477
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.017593028023838998,
|
|
""y"": -0.03820159286260605,
|
|
""z"": -0.034220557659864429
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.00938184093683958,
|
|
""y"": 0.11443500220775604,
|
|
""z"": 0.9933586120605469,
|
|
""w"": -0.00742089981213212
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.016647864133119584,
|
|
""y"": -0.025509297847747804,
|
|
""z"": 0.02010127156972885
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.047181617468595508,
|
|
""y"": 0.6889973878860474,
|
|
""z"": 0.7229352593421936,
|
|
""w"": 0.020514709874987603
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.018303193151950837,
|
|
""y"": 0.015849227085709573,
|
|
""z"": 0.022011972963809968
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.008866867981851101,
|
|
""y"": -0.9877395033836365,
|
|
""z"": 0.14248023927211762,
|
|
""w"": -0.06317667663097382
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0150249432772398,
|
|
""y"": 0.008273083716630936,
|
|
""z"": -0.0034953788854181768
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.06697621941566467,
|
|
""y"": -0.6677480340003967,
|
|
""z"": 0.7387256622314453,
|
|
""w"": -0.06253805756568909
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""MiddleTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.011866025626659394,
|
|
""y"": -0.008661003783345223,
|
|
""z"": -0.0017771535785868765
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.06697621941566467,
|
|
""y"": -0.6677480340003967,
|
|
""z"": 0.7387256622314453,
|
|
""w"": -0.06253805756568909
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.028174452483654023,
|
|
""y"": -0.04021597281098366,
|
|
""z"": -0.034480951726436618
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.0463312491774559,
|
|
""y"": 0.17117130756378175,
|
|
""z"": 0.9783797860145569,
|
|
""w"": -0.10642632097005844
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.03470367565751076,
|
|
""y"": -0.023515529930591584,
|
|
""z"": 0.013661487028002739
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.08581317216157913,
|
|
""y"": 0.6854923367500305,
|
|
""z"": 0.719944953918457,
|
|
""w"": 0.06644906103610993
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.03590525686740875,
|
|
""y"": 0.013442892581224442,
|
|
""z"": 0.015344695188105107
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.008045331574976445,
|
|
""y"": -0.9734028577804565,
|
|
""z"": 0.15362417697906495,
|
|
""w"": -0.16976913809776307
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.028704574331641198,
|
|
""y"": 0.0068179103545844559,
|
|
""z"": -0.004304804373532534
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.03208574280142784,
|
|
""y"": -0.7316635251045227,
|
|
""z"": 0.6701276302337647,
|
|
""w"": -0.12069612741470337
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""RingTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.024521825835108758,
|
|
""y"": -0.01171069499105215,
|
|
""z"": -0.005689822603017092
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.03208574280142784,
|
|
""y"": -0.7316635251045227,
|
|
""z"": 0.6701276302337647,
|
|
""w"": -0.12069612741470337
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMetacarpal"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.0366814024746418,
|
|
""y"": -0.03962419182062149,
|
|
""z"": -0.036657072603702548
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.11207441240549088,
|
|
""y"": 0.24146944284439088,
|
|
""z"": 0.9382084012031555,
|
|
""w"": -0.22112610936164857
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyKnuckle"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.05295586213469505,
|
|
""y"": -0.018913062289357187,
|
|
""z"": 0.00739296805113554
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.13980618119239808,
|
|
""y"": 0.6661704182624817,
|
|
""z"": 0.7155934572219849,
|
|
""w"": 0.15683412551879884
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyMiddleJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.05275189131498337,
|
|
""y"": 0.004024928901344538,
|
|
""z"": 0.00907989963889122
|
|
},
|
|
""rotation"": {
|
|
""x"": -0.021367738023400308,
|
|
""y"": -0.9606260657310486,
|
|
""z"": 0.06688706576824188,
|
|
""w"": -0.26882505416870119
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyDistalJoint"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.04372227564454079,
|
|
""y"": 0.001563772326335311,
|
|
""z"": -0.00580210704356432
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.07175570726394654,
|
|
""y"": -0.7517343759536743,
|
|
""z"": 0.5955847501754761,
|
|
""w"": -0.2739071846008301
|
|
}
|
|
}
|
|
},
|
|
{
|
|
""joint"": ""PinkyTip"",
|
|
""pose"": {
|
|
""position"": {
|
|
""x"": -0.03621838986873627,
|
|
""y"": -0.011355061084032059,
|
|
""z"": -0.007922316901385785
|
|
},
|
|
""rotation"": {
|
|
""x"": 0.07175570726394654,
|
|
""y"": -0.7517343759536743,
|
|
""z"": 0.5955847501754761,
|
|
""w"": -0.2739071846008301
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}";
|
|
#endregion
|
|
}
|
|
} |