WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-21-2015, 02:43 AM
hzhao hzhao is offline
Member
 
Join Date: Sep 2012
Posts: 18
Question how to reduce motion sickness with Oculus rift+logitech driving force

Hi,

I am setting up my Oculus rift DK2 with Logitech driving force GT. To use these two, I combined the two demo codes for Oculus and joy stick control (attached below). It works. But I don't feel well when I use this setup because of the very strong motion sickness. I used the position tracking from Oculus. Could anyone give me some help to improve it? reduce the motion sickness? Thanks.

the code I used:

hmd = oculus.Rift()

# Get list of joystick device information
dinput = viz.add('DirectInput.dle')
devices = dinput.getJoystickDevices()
joy = dinput.addJoystick(devices[selected])
joy.setDeadZone(0.05)


# Check if HMD supports position tracking
supportPositionTracking = hmd.getSensor().getSrcMask() & viz.LINK_POS
if supportPositionTracking:

# Add camera bounds model
camera_bounds = hmd.addCameraBounds()
camera_bounds.visible(False)

# Change color of bounds to reflect whether position was tracked
def CheckPositionTracked():
if hmd.getSensor().getStatus() & oculus.STATUS_POSITION_TRACKED:
camera_bounds.color(viz.GREEN)
else:
camera_bounds.color(viz.RED)
vizact.onupdate(0, CheckPositionTracked)

# Setup navigation node and link to main view
navigationNode = viz.addGroup()
HMDviewLink = viz.link(navigationNode, viz.MainView)
HMDviewLink.preMultLinkable(hmd.getSensor())

# Apply user profile eye height to view
profile = hmd.getProfile()
if profile:
HMDviewLink.setOffset([0,profile.eyeHeight,0])
else:
HMDviewLink.setOffset([0,1.8,0])


########################### joystick turn and move speed###############
joy_MOVE_SPEED = 2.0
joy_TURN_SPEED = 60.0
################################################## #############

def UpdateView():

########for joy control############
e = viz.elapsed()
x,y,z = joy.getPosition()

navigationNode.setEuler([x * joy_TURN_SPEED * e, 0, 0], viz.REL_LOCAL)
navigationNode.setPosition([0, 0, (y+1) * joy_MOVE_SPEED * viz.getFrameElapsed()], viz.REL_LOCAL)
#################################



vizact.ontimer(0,UpdateView)
Reply With Quote
  #2  
Old 09-21-2015, 05:11 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
I would suggest looking online for best practices to reduce motion sickness in VR. Make sure you're simulation is running at 75 fps and use Direct HMD mode to reduce latency. Latency and virtual movements that don't match physical movements can cause motion sickness. You might see if gradual acceleration rather than instantaneous changes to the car speed helps. Also, see if adding a dashboard as a fixed reference in the scene helps.
Reply With Quote
  #3  
Old 09-23-2015, 07:34 AM
hzhao hzhao is offline
Member
 
Join Date: Sep 2012
Posts: 18
Thanks, Jeff,

I tried adding a dashboard, but it helped little. I'll try your other suggestions. Thanks again.
Reply With Quote
Reply

Tags
controller, driving force, motion sickness, oculus rift

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Oculus Rift Drift teklab Vizard 20 04-01-2016 08:57 AM
Oculus Rift and 360 Panorama with Vizard Lite Edition mshukun Vizard 4 11-10-2015 12:17 PM
Multiple post-process effects with oculus rift lklab Vizard 2 03-13-2015 02:48 PM
Oculus Rift connection problem mshukun Vizard 1 10-01-2014 01:15 PM
Oculus Rift Fullscreen teklab Vizard 6 05-21-2014 07:11 AM


All times are GMT -7. The time now is 09:01 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC