Control your lego robot via speech
Here's a nifty example of using the Java Speech API to control a lego mindstorm robot:
Lejos Speech control example
The JSGF speech grammar is pretty simple:
grammar rover; public= forwards {forwards} | backwards {backwards} | back {backwards} | reverse {backwards} | stop {stop} | left {left} | right {right} | up {up} | down {down} | whoa {stop} | halt {stop} | spin {left} | go {forwards}; public = Good bye {bye} | So long {bye} | Shut down {bye};
Posted by Alexander on June 30, 2004 at 08:24 AM EDT #