|
||||||||||
| 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.path.VirtualPathMotionProperty
public class VirtualPathMotionProperty
Property defining parameters for a virtual path motion associated to a topology graph edge.
| Constructor Summary | |
|---|---|
VirtualPathMotionProperty()
|
|
| Method Summary | |
|---|---|
boolean |
blocksCompleteEdge()
|
com.kuka.nav.geometry.BlendingDiscretizationInfo |
computeBlendingPoses(com.kuka.nav.Pose start1,
com.kuka.nav.Pose goal1,
double blendingCart,
com.kuka.nav.fleet.graph.properties.EdgeMotion motion2,
com.kuka.nav.Pose start2,
com.kuka.nav.Pose goal2,
com.kuka.nav.robot.DriveType type)
|
com.kuka.nav.geometry.BlendingContext |
getBlendingContext(com.kuka.nav.Pose start,
com.kuka.nav.Pose goal)
|
com.kuka.nav.Position |
getClosestPointOnMotion(com.kuka.nav.Position start,
com.kuka.nav.Position end,
com.kuka.nav.Position position)
|
com.kuka.nav.fleet.graph.properties.EdgeMotion |
getCopyWithOrientation(double ori)
|
Double |
getGoalAccuracyRot()
Note that a goal accuracy is currently not supported by the virtual path motion, therefore the returned value of this method will always be null. |
Double |
getGoalAccuracyTrans()
Note that a goal accuracy is currently not supported by the virtual path motion, therefore the returned value of this method will always be null. |
List<Double> |
getGoalOrientations(com.kuka.nav.fleet.graph.TopologyNode node)
Note that this method can be called only after setting the path data and map id using setPathData(VirtualPathData) and setMapId(int). |
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)
|
String |
getPathName()
Returns the name of the corresponding virtual path. |
Collection<Double> |
getPathOrientations()
Returns the allowed set of orientations relative to the path. |
String |
getPathOris()
Gets the allowed orientations of the robot towards the virtual path. |
List<Double> |
getRelativeGoalOrientations(com.kuka.nav.fleet.graph.TopologyNode node)
The returned list will be empty. |
List<Double> |
getRelativeStartOrientations(com.kuka.nav.fleet.graph.TopologyNode node)
|
List<Double> |
getStartOrientations(com.kuka.nav.fleet.graph.TopologyNode node)
|
String |
getTrackAccuracy()
Gets the tracking accuracy. |
Double |
getTrackingAccuracyRot()
Gets the rotational tracking accuracy in [rad]. |
Double |
getTrackingAccuracyTrans()
Gets the translational tracking accuracy in meters. |
String |
getValueToDisplay()
|
boolean |
isBlendingSupported()
|
boolean |
isReachableOrientation(double startOri,
double goalOri,
double edgeAngle,
double allowedOriDelta,
com.kuka.nav.robot.DriveType drive)
|
boolean |
isRecoverable()
|
boolean |
isRotationAllowed()
|
void |
resetPath()
Resets this virtual path motion property's path instance to null. |
void |
setMapId(int mapId)
Sets the map id the corresponding virtual path is located on. |
void |
setPathData(VirtualPathData paths)
Sets the path data used to determine the goal orientations and to sample the motion. |
void |
setPathName(String pathName)
Sets the name of the corresponding virtual path. |
void |
setPathOris(String pathOris)
Sets the allowed orientation of robot to virtual path. |
void |
setTrackAccuracy(String trackAccuracy)
Sets the tracking accuracy. |
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.Property |
|---|
getAllowedTypes, getId, setId |
| Constructor Detail |
|---|
public VirtualPathMotionProperty()
| Method Detail |
|---|
public void setPathData(VirtualPathData paths)
paths - the virtual path data sourcesetMapId(int)public void setMapId(int mapId)
mapId - the id of the mapsetPathData(VirtualPathData)public String getPathName()
public void setPathName(String pathName)
pathName - the name of the corresponding virtual pathpublic String getPathOris()
public void setPathOris(String pathOris)
pathOris - allowed orientation of robot to virtual pathpublic Collection<Double> getPathOrientations()
getPathOrientations in interface com.kuka.nav.fleet.graph.properties.EdgeMotionpublic void resetPath()
null. Should be called whenever anything
changes in the database image of the path such that it gets reloaded from the database.
public List<Double> getStartOrientations(com.kuka.nav.fleet.graph.TopologyNode node)
getStartOrientations in interface com.kuka.nav.fleet.graph.properties.EdgeMotionpublic List<Double> getRelativeStartOrientations(com.kuka.nav.fleet.graph.TopologyNode node)
getRelativeStartOrientations in interface com.kuka.nav.fleet.graph.properties.EdgeMotionpublic List<Double> getGoalOrientations(com.kuka.nav.fleet.graph.TopologyNode node)
Note that this method can be called only after setting the path data and map id using
setPathData(VirtualPathData) and setMapId(int). If this property is part of a persisted
topology graph these methods will be called by the virtual path component after loading the graph from the data
source, i.e. they do not have to be called manually.
getGoalOrientations in interface com.kuka.nav.fleet.graph.properties.EdgeMotionsetPathData(VirtualPathData),
setMapId(int)public List<Double> getRelativeGoalOrientations(com.kuka.nav.fleet.graph.TopologyNode node)
The returned list will be empty. All orientations are provided in map coordinates by
getGoalOrientations(TopologyNode).
getRelativeGoalOrientations in interface com.kuka.nav.fleet.graph.properties.EdgeMotiongetGoalOrientations(TopologyNode)public String getTrackAccuracy()
public void setTrackAccuracy(String trackAccuracy)
trackAccuracy - the new tracking accuracypublic Double getTrackingAccuracyRot()
getTrackingAccuracyRot in interface com.kuka.nav.fleet.graph.properties.EdgeTrackingBasedMotionnull if it is not set).public Double getTrackingAccuracyTrans()
getTrackingAccuracyTrans in interface com.kuka.nav.fleet.graph.properties.EdgeTrackingBasedMotionnull if it is not set).public boolean isRotationAllowed()
isRotationAllowed in interface com.kuka.nav.fleet.graph.properties.EdgeMotionpublic boolean isRecoverable()
isRecoverable in interface com.kuka.nav.fleet.graph.properties.EdgeMotion
public boolean isReachableOrientation(double startOri,
double goalOri,
double edgeAngle,
double allowedOriDelta,
com.kuka.nav.robot.DriveType drive)
isReachableOrientation in interface com.kuka.nav.fleet.graph.properties.EdgeMotionpublic boolean isBlendingSupported()
isBlendingSupported in interface com.kuka.nav.fleet.graph.properties.EdgeMotionpublic boolean blocksCompleteEdge()
blocksCompleteEdge in interface com.kuka.nav.fleet.graph.properties.EdgeMotionpublic Double getGoalAccuracyTrans()
Note that a goal accuracy is currently not supported by the virtual path motion, therefore the returned value of
this method will always be null.
getGoalAccuracyTrans in interface com.kuka.nav.fleet.graph.properties.EdgeGoalBasedMotionpublic Double getGoalAccuracyRot()
Note that a goal accuracy is currently not supported by the virtual path motion, therefore the returned value of
this method will always be null.
getGoalAccuracyRot in interface com.kuka.nav.fleet.graph.properties.EdgeGoalBasedMotionpublic String toString()
toString in class Objectpublic String getValueToDisplay()
getValueToDisplay in interface com.kuka.nav.fleet.graph.properties.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)
getMotions in interface com.kuka.nav.fleet.graph.properties.EdgeMotion
public com.kuka.nav.geometry.BlendingDiscretizationInfo computeBlendingPoses(com.kuka.nav.Pose start1,
com.kuka.nav.Pose goal1,
double blendingCart,
com.kuka.nav.fleet.graph.properties.EdgeMotion motion2,
com.kuka.nav.Pose start2,
com.kuka.nav.Pose goal2,
com.kuka.nav.robot.DriveType type)
computeBlendingPoses in interface com.kuka.nav.fleet.graph.properties.EdgeMotion
public com.kuka.nav.geometry.BlendingContext getBlendingContext(com.kuka.nav.Pose start,
com.kuka.nav.Pose goal)
getBlendingContext in interface com.kuka.nav.fleet.graph.properties.EdgeMotion
public com.kuka.nav.Position getClosestPointOnMotion(com.kuka.nav.Position start,
com.kuka.nav.Position end,
com.kuka.nav.Position position)
getClosestPointOnMotion in interface com.kuka.nav.fleet.graph.properties.EdgeMotionpublic com.kuka.nav.fleet.graph.properties.EdgeMotion getCopyWithOrientation(double ori)
getCopyWithOrientation in interface com.kuka.nav.fleet.graph.properties.EdgeMotion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||