Hey everyone!
After spending half a year or so writing a book on Leap Motion (which you should totally check out), I've had some time these past few months to catch up on the latest goodies and work on a new project of mine called Stratos, which I want to share with everyone in the community!
In a nutshell, Stratos is a simplistic framework and server that lets hardware and control system oriented developers like you and me control any "thing" (Robots, Arduinos and...coffeemakers, perhaps?) with only a few lines of code, all from a native Java API and cross-platform application server. This cuts down the boilerplate networking and control system code, letting us focus on our latest and greatest robots instead of the subtle idiosyncrasies of RS232 serial communications.
As some simple one-line examples, you can get connections to a Leap Motion Controller and Arduino via these two lines:
HID leap = getSphere("LeapmotionController");
ElectricIO arduino = getSphere("Arduino", "automatic");
You could then get a value from the Leap like so:
double pitch = leap.getAxis("pitch").value();
And set a digital output to "on" with:
arduino.setDigitalOut(13, true);
I haven't made a whole lot of example programs for Stratos yet, save one that I use everyday to control my adorable coffeemaker-turned-robot (see: Coffeemecha). I take him around with me to various events every month to show to people who've never even heard of Leap Motion, and the developers I meet are quick to note the robustness and stability of the Coffeemecha's control system (I.E., Stratos). You can catch the entire program that powers the Coffeemecha as a part of the Sphere and API source files available from here, and a quick snapshot of the cute robot below.
With the internet of things hype going strong, I felt now would be a great time to start sharing Stratos with you guys and get your opinions on how I can make it better - It's no Node.js, Cylon.js or the like (it only comes with pre-built support for Arduino Uno's and Arbotix Robocontrollers), but please check out the Stratos info page which contains some more info and the Stratos download page which contains downloads for the binaries, Javadocs and more.
And of course, as always, please give me your feedback! ;D