Revision: 2310
          http://smartbody.svn.sourceforge.net/smartbody/?rev=2310&view=rev
Author:   yuyuxu
Date:     2011-07-26 21:58:20 +0000 (Tue, 26 Jul 2011)

Log Message:
-----------
- Add a joint data receiver for SBM. It can be used through VHMSG or command 
line. Commands are as below,
   1) receiver echo <content>
   2) receiver enable
   3) receiver skeleton <skeletonName> <emitterType> position 
<joint-index/joint-name> <x> <y> <z>      
   4) receiver skeleton <skeletonName> <emitterType> positions <x1> <y1> <z1> 
<x2> <y2> <z2> ...
   5) receiver skeleton <skeletonName> <emitterType> rotation 
<joint-index/joint-name> <q.w> <q.x> <q.y> <q.z>
   6) receiver skeleton <skeletonName> <emitterType> rotations <q1.w> <q1.x> 
<q1.y> <q1.z> <q2.w> <q2.x> <q2.y> <q2.z>...

   call command 2) to add the controller to controller tree as a prerequisite 
to other commands
   emitterType can be kinect or other devices. If type is kinect, joint-index 
is used to get corresponding joint name from joint name map.
   rotation/rotations are used to set local rotation.
   position/positions are used to set global positions. It's getting the 
difference between current position and previous position, then apply the 
position difference to actual joint translation channel.

- To make kinect working. We need to bring NiUserTracker project to trunk\lib 
so that it can send vhmsg as a server. Also need to install kinect drivers:
   1) Install OpenNI Binary 
   2) Install Kinect Driver
   3) Install NITE
   4) Install OpenNI Compliant Hardware Binaries
   

Modified Paths:
--------------
    branches/cmake/core/smartbody/sbm/src/sbm_main.cpp
    branches/cmake/core/smartbody/smartbody-lib/src/sbm/mcontrol_callbacks.cpp
    branches/cmake/core/smartbody/smartbody-lib/src/sbm/mcontrol_callbacks.h
    branches/cmake/core/smartbody/smartbody-lib/src/sbm/mcontrol_util.cpp
    branches/cmake/core/smartbody/smartbody-lib/src/sbm/mcontrol_util.h
    branches/cmake/core/smartbody/smartbody-lib/src/sbm/sbm_character.cpp
    branches/cmake/core/smartbody/smartbody-lib/src/sbm/sbm_character.hpp
    branches/cmake/core/smartbody/smartbody-lib/visualc9/smartbody-lib.vcproj

Added Paths:
-----------
    branches/cmake/core/smartbody/smartbody-lib/src/sbm/KinectProcessor.cpp
    branches/cmake/core/smartbody/smartbody-lib/src/sbm/KinectProcessor.h
    branches/cmake/core/smartbody/smartbody-lib/src/sbm/me_ct_data_receiver.cpp
    branches/cmake/core/smartbody/smartbody-lib/src/sbm/me_ct_data_receiver.h


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Smartbody-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartbody-svn

Reply via email to