org.robokind.api.motion.blending
Class RobotOutput
java.lang.Object
org.robokind.api.motion.blending.RobotOutput
- All Implemented Interfaces:
- BlenderOutput<Robot.RobotPositionMap>
public class RobotOutput
- extends Object
- implements BlenderOutput<Robot.RobotPositionMap>
A BlenderOutput implementation which sends Blender movements to a List of
Robots.
- Author:
- Matthew Stevenson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RobotOutput
public RobotOutput()
setRobot
public void setRobot(Robot robot)
getRobot
public Robot getRobot()
write
public void write(Robot.RobotPositionMap positions,
long lenMillisec)
- Description copied from interface:
BlenderOutput
- Writes a map of output positions.
- Specified by:
write
in interface BlenderOutput<Robot.RobotPositionMap>
- Parameters:
positions
- output positionslenMillisec
- duration of the output movement in milliseconds
getPositions
public Robot.RobotPositionMap getPositions()
- Description copied from interface:
BlenderOutput
- Get the last output positions.
- Specified by:
getPositions
in interface BlenderOutput<Robot.RobotPositionMap>
- Returns:
- last output positions
Copyright © 2011-2013. All Rights Reserved.