|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.nav.fleet.graph.properties.AbstractProperty
com.kuka.nav.fleet.graph.properties.AbstractEdgeMotionProperty
public abstract class AbstractEdgeMotionProperty
Abstract super class for edge motions. Class provides functionality to handle goal orientations of the motion relative to the map coordinate system and relative to the edge.
| Constructor Summary | |
|---|---|
AbstractEdgeMotionProperty()
|
|
| Method Summary | |
|---|---|
com.kuka.nav.Position |
getClosestPointOnMotion(com.kuka.nav.Position start,
com.kuka.nav.Position end,
com.kuka.nav.Position position)
Computes the point on this edge motion which is closest to the given position. |
List<Double> |
getGoalOrientations(TopologyNode node)
Returns a list containing all allowed goal orientations of this edge motion. |
String |
getGoalOris()
Gets the serialised representation of goal orientations as comma-separated list, that the edge motion motion may reach at the target node. |
String |
getLineOris()
Gets the serialised representation of goal orientations as comma-separated list, that the edge motion motion may reach at the target node. |
List<com.kuka.nav.TupleSE2> |
getMotions(com.kuka.nav.TupleSE2 srcPose,
com.kuka.nav.Pose entryPose,
com.kuka.nav.TupleSE2 tgtPose,
com.kuka.nav.Pose exitPose,
double oriDelta)
Returns a list of the relative motions (each motion is relative to the (global) end pose of the previous motion, the first one being relative the the global start pose of the vehicle) to be performed in order to travel this edge motion. |
Collection<Double> |
getPathOrientations()
Returns a list containing all allowed path orientations of this edge motion. |
List<Double> |
getRelativeGoalOrientations(TopologyNode node)
Returns a list containing all allowed goal orientations of this edge motion in radians and relative to the edge orientation, also known as line orientation. |
List<Double> |
getRelativeStartOrientations(TopologyNode node)
Returns a list containing all allowed start orientations of this edge motion in radians and relative to the edge orientation, also known as line orientation. |
List<Double> |
getStartOrientations(TopologyNode node)
Returns a list containing all allowed start orientations of this edge motion. |
String |
getValueToDisplay()
Returns the value(s) in a way to show it in a UI. |
void |
setGoalOris(String goalOris)
Sets the serialised representation of goal orientations as comma-separated list, the edge motion may reach at the target node. |
void |
setLineOris(String lineOris)
Sets the serialised representation of goal orientations as comma-separated list (in degrees and relative to the orientation of the edge), the edge motion may reach at the target node. |
String |
toString()
|
| Methods inherited from class com.kuka.nav.fleet.graph.properties.AbstractProperty |
|---|
equals, fireChanged, getAllowedTypes, getId, hashCode, setId, tryGetParamFromString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.kuka.nav.fleet.graph.properties.EdgeMotion |
|---|
blocksCompleteEdge, computeBlendingPoses, getBlendingContext, getCopyWithOrientation, isBlendingSupported, isReachableOrientation, isRecoverable, isRotationAllowed |
| Methods inherited from interface com.kuka.nav.fleet.graph.properties.Property |
|---|
getAllowedTypes, getId, setId |
| Constructor Detail |
|---|
public AbstractEdgeMotionProperty()
| Method Detail |
|---|
public String getGoalOris()
public void setGoalOris(String goalOris)
goalOris - the new serialised goal orientations in degrees and relative to the map coordinate system.public List<Double> getStartOrientations(TopologyNode node)
EdgeMotion
getStartOrientations in interface EdgeMotionnode - the topology node at the start position of this motion
public List<Double> getRelativeStartOrientations(TopologyNode node)
EdgeMotion
getRelativeStartOrientations in interface EdgeMotionnode - the topology node at the start position of this motion
public List<Double> getGoalOrientations(TopologyNode node)
EdgeMotion
getGoalOrientations in interface EdgeMotionnode - the topology node at the goal position of this motion
public List<Double> getRelativeGoalOrientations(TopologyNode node)
EdgeMotion
getRelativeGoalOrientations in interface EdgeMotionnode - the topology node at the goal position of this motion
public String getLineOris()
public Collection<Double> getPathOrientations()
EdgeMotion
getPathOrientations in interface EdgeMotionpublic void setLineOris(String lineOris)
If the edge has length 0 then goal orientations relative to the orientation of the edge are not well-defined. Thus, it should be ensured that the edge does not connect two nodes that are at the same geographical location if orientations relative to the orientation of the edge are to be set.
lineOris - the new serialised goal orientations (in degrees and relative to the orientation of the edge)public String toString()
toString in class Objectpublic String getValueToDisplay()
Property
getValueToDisplay in interface Property
public List<com.kuka.nav.TupleSE2> getMotions(com.kuka.nav.TupleSE2 srcPose,
com.kuka.nav.Pose entryPose,
com.kuka.nav.TupleSE2 tgtPose,
com.kuka.nav.Pose exitPose,
double oriDelta)
EdgeMotion
getMotions in interface EdgeMotionsrcPose - the global pose in map coordinates where the motion would start if it was not blended to (usually the
position of the source node of the edge enriched by the orientation at the node) --- note that this
pose does not necessarily have to be reached by the robot if the motion is blended toentryPose - the global pose in map coordinates where the robot completes the blending arc and reaches the actual
motion, may not coincide with the start posetgtPose - the global pose in map coordinates where the motion would be completed if it was not blended from
(usually the position of the target node of the edge enriched by the orientation at the node), note
that this does not have to be reached by the robot if the motion is blended fromexitPose - the global pose in map coordinates where the robot leaves the actual motion and starts blending to the
next motion, may not coincide with the goal poseoriDelta - the maximum difference until which orientation are considered equal
public com.kuka.nav.Position getClosestPointOnMotion(com.kuka.nav.Position start,
com.kuka.nav.Position end,
com.kuka.nav.Position position)
EdgeMotion
getClosestPointOnMotion in interface EdgeMotionstart - the start pose of the motionend - the end pose of the motionposition - the position for which the closest point has to be computed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||