|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.robokind.api.motion.utils.RobotFrameSource
public class RobotFrameSource
A FrameSource which acts as a Robot move proxy. Accepts movements as a RobotPositionMap and time length.
| Constructor Summary | |
|---|---|
RobotFrameSource(org.osgi.framework.BundleContext context,
Robot.Id robotId)
|
|
| Method Summary | |
|---|---|
MotionFrame |
getMovements(long currentTimeUTC,
long moveLengthMilliSec)
Returns the desired Robot movement starting at the given time and lasting for the given number of milliseconds. |
Robot.Id |
getRobotId()
Returns the Robot Id |
void |
move(Robot.RobotPositionMap positions,
long lenMillisec)
Moves the Robot to the given positions in the given time length. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RobotFrameSource(org.osgi.framework.BundleContext context,
Robot.Id robotId)
| Method Detail |
|---|
public void move(Robot.RobotPositionMap positions,
long lenMillisec)
positions - goal positionslenMillisec - length of the movement in millisecondspublic Robot.Id getRobotId()
public MotionFrame getMovements(long currentTimeUTC,
long moveLengthMilliSec)
FrameSource
getMovements in interface FrameSourcecurrentTimeUTC - time of the move requestmoveLengthMilliSec - expected length of the movement returned, the
actual returned length does not have to be same, but the actual movement
results will depend on the Blender used
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||