Suppose you are the kind of programmer who likes to run code
sometimes.
Well then, we have a deal for you!
1) Buy a brand new computer, or wipe clean your local maven repo, or
write to your congress-person.
2) SVN-checkout the trunk for Friendularity.org. But wait, you're
not going to build it *all*, no:
3) Use Maven to build just the <b>org.friendularity.bundle.demo.ccrk</
b> project, which of course is here in SVN:
http://subversion.assembla.com/svn/friendularity/trunk/maven/org.friendularity.bundle.demo.ccrk/
In this directory, there are now "build" and "run" scripts in
both .bat and .sh form, as well as the native
libs required for OpenGL on Windows (32/64), Linux(32/64), and Mac.
The big gotcha is that when you are done playing, you will have to
kill the java process; this demo does
not exit cleanly if window is closed. Sorry. Other demos do; long
boring subject. And while we're on the
topic of long boring subjects: Yes, the big pile of native libs (for
JME3) is indeed ugly, and there is much to say about this problem and
why it exists, but even more to do about it, using the OSGi native-lib
bundling mechanism. We are still hoping to see this burden taken on
by the JME3 team themselves, who have
declared their intention to produce OSGi bundles when JME3 is GA-
released.
Features of this demo:
1) Brings up the Sinbad humanoid character, and a few other virtual-
world entities, which can be manipulated and navigated with a
combination of keyboard and mouse commands. Try: w,s, q,z, a,d,
space, h, mouse-click, mouse-drag.
2) Connects Sinbad's body to the Robokind pure-java animation system,
which runs a generated animation every time we press the "poke"
button.
3) Connects the "say" button to the Robokind speech-output system,
which uses text-to-speech to produce spoken audio output and viseme
animation of the character. However, you must run the QPid broker and
Robokind native SAPIServer for this feature to work (which is the
pattern with all device-level Robokind features, except servos).
4) Client project builds from source code using Maven, and runs inside
the Felix OSGi container, with an OpenGL window wrapped in Swing,
using packaged jar binaries delivered from Maven Central repo (for
Cogchar, Robokind, Appdapter, their ext.bundles, and other external
bundles), with headless Robokind
features for device-level robotics (currently we have bound motion and
speech-output, with vision up next).
5) If you copy this project (and give it a new artifactID, etc), now
you have your own Cogchar+Robokind
OSGi application bundle to work on. Congratulations!