Finally the goal was scored!

Was missing the speed & pause to learn (save).

Now the speed and pause can also be saved. The learn-tag uses the oob-tag which goes thru multiple conditions and the final command is a "block" which contains set.speed()+move.servo()+pause(). Setting speed and pause is optional.

 

 

GroG

9 years 9 months ago

Great MastaBlasta !,

Excellent example of dynamically creating gesture state data verbally.  Its the lowest level of servo gestures which seems challenging. Have you thought of stringing pre-made gestures together in the same way?  

For example, stringing the gestures of the giant InMoov script from Gael ?  Or perhaps gestures of your own creation e.g. def "armsForwardCrossed"...

Now that I think of it .. it would be nice if there was an codec for gestures .. previously I toyed with the idea of semaphores

But they are primarily for signally so no thought was put in how elbows, head or finger positions..

"davinci"=R .. but what of the others ;)

Hands details could be mapped to ASL

a "K"eymap would be nice too ....

Grabbing a beer might be close to Body Position "B" - Hand Position "O" :D

Probably better ideas for Gesture encoding .. but its a start 

yes, existing gestures could be saved as well. I'll try to make an example these days.

The ASL map may be a basis. I am still trying to figure out what the easiest input could be. Guess the best would be the kinect to copy a move and then saving it by using the learn-tag.

If we stay with the speech input there are more possibilities. Tried e.g. "arm up" and the arm moves up slowly until you say stop. All servo limits are saved so even if you miss to say stop nothing serious will happen.

This was the prevoius goal. And now I see more challenges....