Open Source Software!

Segwii Hardware Code:

This is where the magic happens. The hardware code is what's responsible for balancing the Segwii.

The code is C++ based, written and compiled in the Wiring IDE ( http://wiring.org.co )

Segwii GUI Code:

The Segwii GUI is the what connects the wiimote to the computer, and sends the commanded angle from the wiimote to the Segwii.

The code is Java based, written and compiled in the Processing IDE ( http://processing.org/ )







Library Setup for Processing

a) Download the following:


Download the current version of the wrj4P5 library (Download both wrj4P5.jar and wrj4P5.zip):
http://sourceforge.jp/projects/wrj4p5/releases?package_id=6413

Download the current version of the Loc library (Download both Loc.jar and Loc.zip):
http://sourceforge.jp/projects/wrj4p5/releases/?package_id=6440

Download the WiiRemoteJ v1.5:
http://www.world-of-cha0s.hostrocket.com/WiiRemoteJ/

Download Bluecove-2.0.3.jar:
http://sourceforge.net/project/showfiles.php?group_id=114020&package_id=123519

b) Create two folders in the in "Documents/Processing/libraries" called "Loc" and "wrj4P5"


Inside the "Loc" folder:
Decompress the "Loc.zip", and place the contents ("lll" folder) inside "Loc"

Create a folder called "library" inside the "Loc" folder
Place "Loc.jar" inside "library"

Inside the "wrj4P5" folder:
Decompress the "wrj4P5.zip", and place the contents ("lll" folder) inside "wrj4P5"

Create a folder called "library" inside the "wrj4P5" folder
Place "wrj4P5.jar" inside "library"

Place "WiiRemoteJ.jar" inside "library"


Place "Bluecove-2.0.3.jar" inside "library"


For more support:
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=os_libraries_tools;action=display;num=1186928645



Copyright (c) 2009 segwii.com. All rights reserved.