I am working on my project in which I want to use Nexus 5 and Durovis Dive as a VR goggle.
So far so good, but I need your help with head tracking from Android (UDP).
What I done...
1. I installed Splashtop Streamer so I can stream FullHD (30FPS) over WiFi.
Update - I switched WiFi to USB (Tethering) to lower latency (now working perfect)!
a) Connect your smartphone to your computer
b) Disconnect your network interface card
c) Enable USB Tethering to stream internet via USB
d) Done!
2. To split screen I use TriDef 3D (paid), but I heard you can use Geforce Experience Mod for free:
Link: http://forum.xda-developers.com/showthr ... ?t=2505510
I can't use Vireio Perception cos it can support only DX9, and I'm running DX10/11 games.
3. I installed FaceTrackNoIR and was able to move helmet in Project CARS by using FreeTrack 2.0 game protocol.
But the latency was too high ~800ms, for better motion control I decide to using accelerometer/gyroscope sensor from Nexus 5 and FreePIE software.
I installed both PC and android apk and was able to track my mouse on desktop using sample script.
"Android mouse emulation with deadband and continous yaw"
Code: Select all
def update():
#Apply deadband filter to avoid drift
#And continousRotation filter to yaw axis to avoid jumps when passing tracker center
x = filters.deadband(filters.delta(math.degrees(filters.continousRotation(android[0].yaw))), deadband)
y = filters.deadband(filters.delta(math.degrees(android[0].pitch)), deadband)
mouse.deltaX = x * multiply
mouse.deltaY = y * multiply
if starting:
deadband = 0.01
multiply = 5
android[0].update += update
Code: Select all
def update():
global yaw
yaw = android[0].yaw
global pitch
pitch = -android[0].roll
global roll
roll = android[0].pitch
if starting:
centerYaw = 0
centerPitch = 0
centerRoll = 0
yaw = 0
pitch = 0
roll = 0
android[0].update += update
freeTrack.yaw = yaw - centerYaw
freeTrack.pitch = pitch - centerPitch
freeTrack.roll = roll - centerRoll
if keyboard.getKeyDown(Key.LeftControl) and keyboard.getPressed(Key.C):
centerYaw = yaw
centerPitch = pitch
centerRoll = roll
HELP ME OUT! I NEED YOUR HELP TO FINISH MY PROJECT!