|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SplineCalculation
Helper methods to calculate some poses on a virtual line (spline).
| Method Summary | |
|---|---|
BlendingDiscretizationInfo |
getBlendingDiscretization(BlendingContext context1,
BlendingContext context2,
double blendingCart,
int virtualLinesPerSegment,
boolean holonom)
Calculates blending discretization information between 2 motions which define a blending context (Virtual Line Motion or Virtual Path motion). |
List<com.kuka.util.Pair<Pose,Double>> |
getBlendingSegmentPointsOnPaths(BlendingContext context1,
BlendingContext context2,
double blendingCart,
int virtualLinesPerSegment,
boolean holonom)
Calculates points on the blending segment between 2 motions which define a blending context (Virtual Line Motion or Virtual Path motion). |
List<Pose> |
getSplineFromPath(List<SplineSegment> pathSegments,
int approximationAmount)
Calculates a given amount of poses for each motion segment for collision. |
List<Pose> |
getSplinePartsFromPath(List<SplineSegment> pathSegments,
Pose entryPose,
Pose exitPose,
int virtualLinesPerSegment,
boolean forward)
Samples poses on spline (parts). |
| Method Detail |
|---|
List<Pose> getSplineFromPath(List<SplineSegment> pathSegments,
int approximationAmount)
pathSegments - all path segments of one virtual pathapproximationAmount - how many virtual lines should approximate each segment, if the value is very high than lots of
collision checks must be calculated, if the value is too small a collision could happens. Which the
correct amount is depends on the form of virtual path.
List<com.kuka.util.Pair<Pose,Double>> getBlendingSegmentPointsOnPaths(BlendingContext context1,
BlendingContext context2,
double blendingCart,
int virtualLinesPerSegment,
boolean holonom)
holonom is set to false and the relative orientations to the path at start and goal
position differ.
context1 - blending context information to define segments and the orientationscontext2 - blending context information to define segments and the orientationsblendingCart - blending point which is set in motion properties (on first motion)virtualLinesPerSegment - number how many points should be returnedholonom - if true the robot robot type is holonomic, false if it is a differential drive
BlendingDiscretizationInfo getBlendingDiscretization(BlendingContext context1,
BlendingContext context2,
double blendingCart,
int virtualLinesPerSegment,
boolean holonom)
null and the
list is empty. This can only happen if holonom is set to false and the relative
orientations to the path at start and goal position differ.
context1 - blending context information to define segments and the orientationscontext2 - blending context information to define segments and the orientationsblendingCart - blending point which is set in motion properties (on first motion)virtualLinesPerSegment - number how many points should be returnedholonom - if true the robot robot type is holonomic, false if it is a differential drive
List<Pose> getSplinePartsFromPath(List<SplineSegment> pathSegments,
Pose entryPose,
Pose exitPose,
int virtualLinesPerSegment,
boolean forward)
pathSegments - path segmentsentryPose - pose (map coordinates) where path resulting from splines is entered (not necessarily the start pose of
the first spline
if the path is blended to)exitPose - pose (map coordinates) where path resulting from splines is exited (not necessarily the end pose of
the last spline if the path is blended from)virtualLinesPerSegment - amount of virtual linesforward - all vehicles drive with 0 or 180 degrees on the path. forward is true if vehicle drives with 0
degrees.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||