org.robokind.integration.motion_speech
Class VisemeFrameSource

java.lang.Object
  extended by org.robokind.integration.motion_speech.VisemeFrameSource
All Implemented Interfaces:
FrameSource<Robot.RobotPositionMap>

public class VisemeFrameSource
extends Object
implements FrameSource<Robot.RobotPositionMap>

Creates MotionFrames from Visemes for synchronizing Joint movement with s speech.

Author:
Matthew Stevenson

Constructor Summary
VisemeFrameSource(Robot.Id robotId, VisemeBindingManager visemeManager)
          Creates a new VisemeFrameSource
 
Method Summary
 MotionFrame<Robot.RobotPositionMap> getMovements(long currentTimeUTC, long moveLengthMilliSec)
           
 org.jflux.api.core.Listener<VisemeEvent> getVisemeListener()
          Returns the VisemeListener which supplies this FrameSource with Visemes.
 void setVisemeBindingManager(VisemeBindingManager manager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisemeFrameSource

public VisemeFrameSource(Robot.Id robotId,
                         VisemeBindingManager visemeManager)
Creates a new VisemeFrameSource

Parameters:
robotId - robot to move
visemeManager - VisemeManager to provide positions from visemes
Method Detail

setVisemeBindingManager

public void setVisemeBindingManager(VisemeBindingManager manager)

getMovements

public MotionFrame<Robot.RobotPositionMap> getMovements(long currentTimeUTC,
                                                        long moveLengthMilliSec)
Specified by:
getMovements in interface FrameSource<Robot.RobotPositionMap>

getVisemeListener

public org.jflux.api.core.Listener<VisemeEvent> getVisemeListener()
Returns the VisemeListener which supplies this FrameSource with Visemes.

Returns:
VisemeListener which supplies this FrameSource with Visemes


Copyright © 2011-2013. All Rights Reserved.