|
||||||||||
| 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
com.kuka.nav.fleet.graph.properties.EdgeAction
public class EdgeAction
Represents action performed for traversing an edge.
| Constructor Summary | |
|---|---|
EdgeAction()
Creates a new edge action property. |
|
EdgeAction(String id)
Creates a new edge action property with given action ID. |
|
| Method Summary | |
|---|---|
boolean |
blocksCompleteEdge()
Returns true if executing the corresponding motion requires the complete edge to be considered as
blocked. |
com.kuka.nav.geometry.BlendingDiscretizationInfo |
computeBlendingPoses(com.kuka.nav.Pose start1,
com.kuka.nav.Pose goal1,
double blendingCart,
EdgeMotion motion2,
com.kuka.nav.Pose start2,
com.kuka.nav.Pose goal2,
com.kuka.nav.robot.DriveType type)
Computes the blending poses on the blending segment and the actual blending radius. |
String |
getActionID()
|
com.kuka.nav.geometry.BlendingContext |
getBlendingContext(com.kuka.nav.Pose start,
com.kuka.nav.Pose goal)
Gets the blending context for the specific motion (its more for internal usage, method computeBlendingPOses calls this method). |
EdgeMotion |
getCopyWithOrientation(double ori)
Creates a copy of this edge motion which has no edge-orientations and the single goal orientation is the one given as input parameter. |
Double |
getCost()
|
String |
getValueToDisplay()
Returns the value(s) in a way to show it in a UI. |
boolean |
isBlendingSupported()
Checks whether this edge motion supports blending. |
boolean |
isReachableOrientation(double startOri,
double goalOri,
double edgeAngle,
double allowedOriDelta,
com.kuka.nav.robot.DriveType drive)
Checks whether the given goal orientation is reachable from the given start orientation based on this edge motion. |
boolean |
isRecoverable()
Checks whether recovery actions (start- or path-recovery) are applicable to this motion property. |
boolean |
isRotationAllowed()
Checks whether this edge motion allows the robot to rotate while moving along the corresponding edge. |
void |
setActionID(String id)
Sets the ID of the edge traversal action. |
void |
setCost(Double cost)
Sets the additional cost that the edge action defines. |
String |
toString()
|
| Methods inherited from class com.kuka.nav.fleet.graph.properties.AbstractEdgeMotionProperty |
|---|
getClosestPointOnMotion, getGoalOrientations, getGoalOris, getLineOris, getMotions, getPathOrientations, getRelativeGoalOrientations, getRelativeStartOrientations, getStartOrientations, setGoalOris, setLineOris |
| 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 |
|---|
getClosestPointOnMotion, getGoalOrientations, getMotions, getPathOrientations, getRelativeGoalOrientations, getRelativeStartOrientations, getStartOrientations |
| Methods inherited from interface com.kuka.nav.fleet.graph.properties.Property |
|---|
getAllowedTypes, getId, setId |
| Constructor Detail |
|---|
public EdgeAction()
public EdgeAction(String id)
id - the action id| Method Detail |
|---|
public String getActionID()
public void setActionID(String id)
id - action IDpublic boolean isRotationAllowed()
EdgeMotion
isRotationAllowed in interface EdgeMotiontrue if this edge motion allows rotation, false otherwisepublic boolean isRecoverable()
EdgeMotion
isRecoverable in interface EdgeMotiontrue if and only if this motion property is recoverable.
public boolean isReachableOrientation(double startOri,
double goalOri,
double edgeAngle,
double allowedOriDelta,
com.kuka.nav.robot.DriveType drive)
EdgeMotion
isReachableOrientation in interface EdgeMotionstartOri - the start orientation (in [rad] with respect to the global coordinate system)goalOri - the goal orientation (in [rad] with respect to the global coordinate system)edgeAngle - the angle of the edge where this motion is parameterized in [rad] with respect to the global
coordinate system)allowedOriDelta - the maximum difference until which orientation are considered equaldrive - the drive type of the vehicle
true if this edge motion allows rotation from the given start to the given goal orientation,
false otherwisepublic boolean isBlendingSupported()
EdgeMotion
isBlendingSupported in interface EdgeMotiontrue if this this edge motion supports blending.public boolean blocksCompleteEdge()
EdgeMotiontrue if executing the corresponding motion requires the complete edge to be considered as
blocked. Otherwise only start and goal pose are considered as blocked.
blocksCompleteEdge in interface EdgeMotiontrue if executing the corresponding motion requires the complete edge to be considered as
blockedpublic String toString()
toString in class AbstractEdgeMotionPropertypublic Double getCost()
public void setCost(Double cost)
cost - the cost to be setpublic String getValueToDisplay()
Property
getValueToDisplay in interface PropertygetValueToDisplay in class AbstractEdgeMotionProperty
public com.kuka.nav.geometry.BlendingDiscretizationInfo computeBlendingPoses(com.kuka.nav.Pose start1,
com.kuka.nav.Pose goal1,
double blendingCart,
EdgeMotion motion2,
com.kuka.nav.Pose start2,
com.kuka.nav.Pose goal2,
com.kuka.nav.robot.DriveType type)
EdgeMotionDriveType.DIFFERENTIAL and the relative orientations to
the path at start and goal position differ.
computeBlendingPoses in interface EdgeMotionstart1 - start pose on edge 1goal1 - goal pose on edge 1blendingCart - blending parametermotion2 - motion for second edgestart2 - start pose on edge 2goal2 - goal pose on edge 2type - drive type holonomic or differential
public com.kuka.nav.geometry.BlendingContext getBlendingContext(com.kuka.nav.Pose start,
com.kuka.nav.Pose goal)
EdgeMotion
getBlendingContext in interface EdgeMotionstart - start posegoal - goal pose
public EdgeMotion getCopyWithOrientation(double ori)
EdgeMotion
getCopyWithOrientation in interface EdgeMotion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||