Id - type of id used in the PositionMaps being combinedPosMap - type of PositionMaps being combinedpublic class VelocityCombiner<Id,PosMap extends JointPositionMap<Id,NormalizedDouble>> extends Object implements FrameCombiner<MotionFrame<PosMap>,FrameSource<PosMap>,PosMap>
| Constructor and Description |
|---|
VelocityCombiner(org.jflux.api.core.Source<PosMap> posMapFact)
Creates a new VelocityCombiner.
|
| Modifier and Type | Method and Description |
|---|---|
PosMap |
combineFrames(long time,
long interval,
PosMap curPos,
Map<? extends MotionFrame<PosMap>,? extends FrameSource<PosMap>> frames)
Combines Frames from FrameSources into a map of Joint positions.
|
public VelocityCombiner(org.jflux.api.core.Source<PosMap> posMapFact)
posMapFact - factory for creating new PositionMapspublic PosMap combineFrames(long time, long interval, PosMap curPos, Map<? extends MotionFrame<PosMap>,? extends FrameSource<PosMap>> frames)
FrameCombinercombineFrames in interface FrameCombiner<MotionFrame<PosMap extends JointPositionMap<Id,NormalizedDouble>>,FrameSource<PosMap extends JointPositionMap<Id,NormalizedDouble>>,PosMap extends JointPositionMap<Id,NormalizedDouble>>time - time of the move requestinterval - time since last move requestcurPos - set of current Joint positionsframes - map of Frames and their originating FrameSourcesCopyright © 2011-2014. All Rights Reserved.