Difference between revisions of "Playstation Move UDP API"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
(Setting up Playstation Eye)
(Installation)
Line 7: Line 7:
  
 
===Setting up Playstation Eye===
 
===Setting up Playstation Eye===
Adapted from [https://github.com/cboulay/psmove-ue4/wiki/Windows-PSEye-Setup this] handy guide.
+
Adapted from [https://github.com/cboulay/psmove-ue4/wiki/Windows-PSEye-Setup this] guide.
  
 
# Navigate to /move_api/Install/PS Eye/
 
# Navigate to /move_api/Install/PS Eye/
Line 18: Line 18:
 
*Try installing the WinUSB driver with Zadig instead.
 
*Try installing the WinUSB driver with Zadig instead.
 
*Ensure the Eye is the only USB device connected to the USB hub if possible.
 
*Ensure the Eye is the only USB device connected to the USB hub if possible.
 +
 +
===Setting up a Playstation Move Controller===
 +
Adapted from [https://github.com/cboulay/psmove-ue4/wiki/Windows-Controller-Setup this] guide.
 +
 +
#Make sure the controller has charge before beginning or you won't be able to pair via bluetooth.
 +
#*NOTE: Windows 10 and wall chargers have trouble charging the Move Controller.
 +
#*Windows 7 and Mac work from my own testing.
 +
#*When the controller is charged pressing the 'PS' button will cause the LED on the controller to flash.
 +
#Navigate to /move_api/Install/PS Move/
 +
#Use the 'psmovepair.exe' utility to save the Bluetooth address to the controller. The util will fail past this point though.
 +
#'''Warning:''' This step is easily the most frustrating. The controller seems to pair fairly randomly, once it does pair it works well. <br>That said, run 'psmove-pair-win.exe'.
 +
#*Press the 'PS' button and allow the utility to run. If the LED stops flashing press the 'PS' button again.
 +
#*Basically continue this process until you get a successful connection, there doesn't seem to be a trick to it unfortunately.
 +
#*NOTE: If the controller is low on battery a successful connection can look like its still pairing (flashing LED)
 +
#Once the controller has paired run the 'magnetometer_calibration.exe' utility.
 +
##Rotate the controller until you get a value 250+
 +
##Stand the controller on its end on a flat surface with the 'PS' button facing you.
  
 
==Additional Information==
 
==Additional Information==

Revision as of 16:34, 19 January 2016

Contents

Project Overview

This project is an attempt to create a simple interface to the PS Move API via a local UDP server.

Installation

Download for Windows.

Setting up Playstation Eye

Adapted from this guide.

  1. Navigate to /move_api/Install/PS Eye/
  2. Insert PS Eye into an USB 2.0 port or above. Should appear as 'USB Camera-B4.09.24.1' or something similar in device manager.
  3. Run Zadig and install libusb-win32 onto 'USB Camera-B4.09.24.1' (Interface 0 on my machine)
    • Don't install onto 'Interface 1', this will already have usbaudio installed.
    • If no devices appear for installation tick "Options->'List All Devices'"
  4. Test the performance of the camera with 'test_camera.exe'.

If there is visible tearing/laggy footage:

  • Try installing the WinUSB driver with Zadig instead.
  • Ensure the Eye is the only USB device connected to the USB hub if possible.

Setting up a Playstation Move Controller

Adapted from this guide.

  1. Make sure the controller has charge before beginning or you won't be able to pair via bluetooth.
    • NOTE: Windows 10 and wall chargers have trouble charging the Move Controller.
    • Windows 7 and Mac work from my own testing.
    • When the controller is charged pressing the 'PS' button will cause the LED on the controller to flash.
  2. Navigate to /move_api/Install/PS Move/
  3. Use the 'psmovepair.exe' utility to save the Bluetooth address to the controller. The util will fail past this point though.
  4. Warning: This step is easily the most frustrating. The controller seems to pair fairly randomly, once it does pair it works well.
    That said, run 'psmove-pair-win.exe'.
    • Press the 'PS' button and allow the utility to run. If the LED stops flashing press the 'PS' button again.
    • Basically continue this process until you get a successful connection, there doesn't seem to be a trick to it unfortunately.
    • NOTE: If the controller is low on battery a successful connection can look like its still pairing (flashing LED)
  5. Once the controller has paired run the 'magnetometer_calibration.exe' utility.
    1. Rotate the controller until you get a value 250+
    2. Stand the controller on its end on a flat surface with the 'PS' button facing you.

Additional Information

Developers

Software Developer

  • Lachlan Smith

Project Advisor

  • Jurgen Schulze

Resources