Notice: MediaWiki has been updated. Report any rough edges to marcan@marcan.st

Difference between revisions of "Action Script 3"

From OpenKinect
Jump to: navigation, search
(About)
 
(3 intermediate revisions by 3 users not shown)
Line 8: Line 8:
  
 
Currently it supports both cameras transmission, motor control and accelerometer info.
 
Currently it supports both cameras transmission, motor control and accelerometer info.
 +
 +
Blog: http://www.as3kinect.org/
  
 
== Who is involved ==
 
== Who is involved ==
Line 14: Line 16:
  
 
However ([[User:Imekinox|Imekinox]]) is trying to organize things for AS3
 
However ([[User:Imekinox|Imekinox]]) is trying to organize things for AS3
 +
 +
More Informations on as3kinect.org
  
 
== How to compile ==
 
== How to compile ==
 +
Download cmake: http://www.cmake.org/cmake/resources/software.html
  
 
Download libfreenect:
 
Download libfreenect:

Latest revision as of 23:17, 19 December 2010

"Action Script 3 API, Documents and Stuff"

About

Action Script 3 communication with libfreenect driver has to be done through a socket.

For that purpose as3-server was created in the examples folder of libfreenect (thanks to Mathieu Virbel for the code base).

Currently it supports both cameras transmission, motor control and accelerometer info.

Blog: http://www.as3kinect.org/

Who is involved

Search for action script 3 in People

However (Imekinox) is trying to organize things for AS3

More Informations on as3kinect.org

How to compile

Download cmake: http://www.cmake.org/cmake/resources/software.html

Download libfreenect:

git clone git://github.com/OpenKinect/libfreenect.git

Download libusb:

git clone git://git.libusb.org/libusb.git
cd libusb
./autogen.sh

Apply patch for OSX:

patch -p1 < ../libfreenect/platform/osx/libusb-osx-kinect.diff

Compile and install libusb:

./configure
make
sudo make install

Compile libfreenect with as3 server:

cd ../libfreenect
mkdir build
cd build
cmake -DBUILD_AS3_SERVER=ON ..
make

TODO

There is not a very clear path here right now, but some things that may be needed are:

  • Make the as3-server a generic freenect-server that may enable communication with other high-level languages.
  • Image quality fixes (perhaps different bayer to RGB algorithm will be needed here)
  • Server transfer compression (for images so we can target lower bandwidth scenarios)
  • Document the API of the server
  • Document the API of the flash client
  • At least some multitouch info sent from the server to the client would be nice
  • Skeleton sent form server to client (maybe this will be a module of freenect in the future see: Project Roadmap)

Server API

So far:

  • Port 6001 is for Depth stream
  • Port 6002 is for RGB stream
  • Port 6003 for bidirectional data (commands, info, etc...)

Client API

API will be documented here