regarding the vedio of andy and roger

Post your NXJ projects, project ideas, etc here!

Moderators: imaqine, 99jonathan, roger

New User
Posts: 8
Joined: Wed Jun 10, 2009 5:08 am

regarding the vedio of andy and roger

Postby singlahitesh8 » Mon Jun 22, 2009 1:55 pm

it is a awesome vedio..

but wat i m surprised to see is lejo working on his commands . wat i m confused is are they using Bluetooth for the voice recognination or they have hav created som other way to voice recognition from the voice sensor???

User avatar
leJOS Team Member
Posts: 5972
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Postby gloomyandy » Mon Jun 22, 2009 2:26 pm

For that demo we had the two robots talking using Bluetooth. The lead robot had a sound sensor, it did all of the command processing and obstacle avoidance and it sent commands to the second NXT to tell it what to do. All of the processing was done on-board the NXTs using leJOS.... I'll let Roger explain how the voice command stuff worked...


Posts: 381
Joined: Fri Jun 01, 2007 4:31 am
Location: Berkeley, CA

Postby roger » Mon Jun 22, 2009 6:06 pm

Ok - I admit it. The "voice recognition" is a hoax.
The voiceCommand class that runs on the NXT only counts sound pulses - the transition of sound sensor volume above a threshold and below the threshold.
The coding scheme is 1 pulse = left, 2 pulses = right, 3 pulses = back up and turn around. To fool the audience it is necessary to use "Left", "Go Right" and "Now turn backl"
Hand claps or words in any language work equally well.

Return to “NXJ Projects”

Who is online

Users browsing this forum: No registered users and 3 guests