org.robokind.api.motion.messaging
Class MoveFrameListener
java.lang.Object
org.robokind.api.motion.messaging.MoveFrameListener
- All Implemented Interfaces:
- Listener<MotionFrameEvent>
public class MoveFrameListener
- extends Object
- implements Listener<MotionFrameEvent>
Listens for MotionFrameEvents and passes them a RobotFrameSource.
- Author:
- Matthew Stevenson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoveFrameListener
public MoveFrameListener()
MoveFrameListener
public MoveFrameListener(org.osgi.framework.BundleContext context,
Robot.Id robotId)
setRobotFrameSource
public void setRobotFrameSource(RobotFrameSource robotFrameSource)
- Sets the RobotFrameSource to pass goal positions to.
- Parameters:
robotFrameSource - RobotFrameSource to use
handleEvent
public void handleEvent(MotionFrameEvent event)
- Specified by:
handleEvent in interface Listener<MotionFrameEvent>
Copyright © 2011-2012. All Rights Reserved.