Hey Guys,
When I receive Tracking Data from the WebSocket Server, my JSON File is missing some important information.
For example the Pointables dont contain any information for the bases/bones.
Am i missing an update?
A pointable right now would look like this for me:
{
"direction":[-0.216974,0.235041,-0.947459],
"handId":8,
"id":80,
"length":48.0980,
"stabilizedTipPosition":[-8.52136,219.436,-78.5999],
"timeVisible":1.43951,
"tipPosition":[-8.13330,222.428,-77.7419],
"tipVelocity":[-133.886,317.718,-58.7692],
"tool":false,
"touchDistance":0.312572,
"touchZone":"hovering","width":18.6887
},
Thank you for your help!
Edit: I just found out there are different versions of the json.
When i try to connect to ws://localhost:6437/v6.json, all I get is:
{"event":{"state":{"attached":true,"id":"LP01696577153","streaming":true,"type":"peripheral"},"type":"deviceEvent"}}
Edit2: Solved my problem by sending the {focused:true} message.