MGMLaboratory
Back

Menu

01Home
02About Us
03Projects
04Publications
05Member
06Articles
07Contact

Let's Talk

Open in Mail app

Socials

Malang (ID) --:--Privacy PolicyTerms of Service

January 1, 20152 min read

Your Phone Already Has Everything a VR Controller NeedsYour Phone Already Has Everything a VR Controller Needs

A body controlled labyrinth game shows where the real engineering effort goes once the hardware is free.

  • Journal
  • Publications

Written by

  • SRShirasaka RenIT & Infrastructure · Student Member

In this article

  1. 01The inexpensive part
  2. 02Where the difficulty actually sits
  3. 03What the thresholds teach

Before buying a controller, check the phone. A modern handset already carries an accelerometer, a gyroscope and a magnetometer. The project behind this paper uses nothing else to drive a 3D labyrinth with the player's head and body.

The shell is the only extra hardware needed. Image: SimonWaldherr, CC BY-SA 4.0, via Wikimedia Commons.
Fig. 01The shell is the only extra hardware needed. Image: SimonWaldherr, CC BY-SA 4.0, via Wikimedia Commons.

01/03

The inexpensive part

A dummy head mount in the style of Google Cardboard costs a fraction of dedicated hardware, and the sensing happens inside the phone. Display, sensors and game loop all live in a device the user already owns. That changes who gets to try a virtual reality experience at all.

02/03

Where the difficulty actually sits

Reading a gyroscope is easy. Turning that stream into a stable, comfortable view is not, and the paper spends most of its detail on that gap.

  • The phone and the game engine use different handedness, so attitude values need conversion before they can drive a camera.
  • Screen orientation changes the frame of reference, so the same values must be rotated for landscape and portrait.
  • Sensor output is noisy, and a camera that follows it directly will jitter, so interpolation smooths the movement.
  • Walking is invisible to a gyroscope, so step detection needs its own logic and its own thresholds.
Movement is the input, not a gamepad. Photo: James Blair, public domain, via Wikimedia Commons.
Fig. 02Movement is the input, not a gamepad. Photo: James Blair, public domain, via Wikimedia Commons.

03/03

What the thresholds teach

The most transferable result is a set of numbers. Walking and rotating produce rotation rate magnitudes of different sizes, so two thresholds can separate still, walking and turning. That detector handled 84.5 percent of walking cases alone, and pairing it with a second comparison of accelerometer values improved the score on every measure.

A cardboard shell turns a phone into a display. Photo: Donald Trung Quoc Don, CC BY-SA 4.0, via Wikimedia Commons.
Fig. 03A cardboard shell turns a phone into a display. Photo: Donald Trung Quoc Don, CC BY-SA 4.0, via Wikimedia Commons.

The rest is design judgement. A player who must walk and spin needs open floor, so the game belongs in a hall rather than at a desk. The same sensing stack can drive training, guided tours or rehabilitation, anywhere that movement itself is the input.

Source

  1. Tolle, H., et al. (2015). Virtual Reality Game Controlled with User's Head and Body Movement Detection Using Smartphone Sensors. ARPN Journal of Engineering and Applied Sciences.

Next articleWalk to Move Through a Virtual Labyrinth(Keep scrolling)(Read it next)(Loading)