More hacking around and discovered another problem. I do NOT have real hardware, so the possibility exists that it is bug else where... but 'fake' trackers are shown in Virtual World.
Discovered that waitGetPoses() only works when you are operating as VRApplication_Scene, meaning that script terminates (or is terminated) other VR application - runs in construct though...
So I have shifted to getControllerStateWithPose().
More hacking around and discovered another problem. I do NOT have real hardware, so the possibility exists that it is bug else where... but 'fake' trackers are shown in Virtual World.
Discovered that
waitGetPoses()
only works when you are operating asVRApplication_Scene
, meaning that script terminates (or is terminated) other VR application - runs in construct though...So I have shifted to
getControllerStateWithPose()
.Any suggestions as to why? Do the 'controllers' have to have a button press before this function returns data?
https://github.com/mungewell/pyPSVR/blob/master/example5_threaded/threaded_psvr.py#L347 https://github.com/SDraw/driver_kinectV1