Nao is a quite impressive humanoïd robot. It has a lot of features, from text-to-speech to face recognition. And of course, it can walk and look around… seeing it in action is actually completely amazing!
Video:
how does it work?
var broker : ALBroker = new ALBroker(); // connect to the remote server broker.connect("host", "login", "password"); // wait for an actual device to be available broker.addEventListener(ALEvent.DEVICE_AVAILABLE, function(e : Event) : void { // set the first available device as the "current device" broker.currentDevice = broker.devices[0]; // call the "say" method from the "ALText2Speech" module broker.ALTextToSpeech.say("Hello world!"); });
You can get the sources of the NAO AS3 API on GitHub
Refer: http://blogs.aerys.in/jeanmarc-leroux/2011/09/30/nao-as3-api-released-as-open-source/