Revision: 2365
http://smartbody.svn.sourceforge.net/smartbody/?rev=2365&view=rev
Author: arishapiro
Date: 2011-08-06 00:58:53 +0000 (Sat, 06 Aug 2011)
Log Message:
-----------
Added framework for Python-based controllers, like so:
class MyController(PythonController):
def start():
print "started!"
def stop():
print "stopped!"
def init():
print "initted"
def evaluate():
print "evaluating..."
c = MyController()
d = getCharacter('doctor')
d.addController(c)
Note that controller API will likely change to include some other useful
information (time, frame buffer, etc.)
Modified Paths:
--------------
trunk/core/smartbody/smartbody-lib/src/sbm/SbmPython.cpp
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Smartbody-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartbody-svn