|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.nav.command.AbstractParameterizable
com.kuka.nav.command.AbstractCommand<T,E>
com.kuka.nav.command.Motion<VirtualPathMotion,VirtualPathMotionContainer>
com.kuka.nav.path.VirtualPathMotion
public class VirtualPathMotion
Represents the motion of a mobile robot along a 'virtual path' from a start position to a goal position. The desired platform orientation during the movement can be 0 or 180 degrees specified relative to the path - the platform will choose the orientation that is closest to the current platform orientation.
The tracking accuracy is monitored during the movement and can be inspected in the corresponding motion container. If
the deviations become higher than specified in setTrackingAccuracyTrans(double) or
setTrackingAccuracyRot(double), then the movement will be stopped with a failure.
| Constructor Summary | |
|---|---|
protected |
VirtualPathMotion(com.kuka.parameters.IParameterMap params)
Copy constructor. |
|
VirtualPathMotion(String pathName)
Creates a new motion on the virtual path with the given name. |
|
VirtualPathMotion(String pathName,
com.kuka.nav.Orientations orientations)
Creates a new motion on the virtual path with the given name and a set of allowed orientations. |
|
VirtualPathMotion(VirtualPath path)
Creates a new motion on the given virtual path. |
|
VirtualPathMotion(VirtualPath path,
com.kuka.nav.Orientations orientations)
Creates a new motion on the given virtual path and a set of allowed orientations. |
| Method Summary | |
|---|---|
VirtualPathMotion |
copy()
|
double |
getBlendingCart()
|
com.kuka.nav.Orientations |
getOrientations()
Returns the set of orientations allowed for this virtual path motion. |
double |
getTrackingAccuracyRot()
Returns the rotational accuracy during the movement in [m]. |
double |
getTrackingAccuracyTrans()
Returns the translational accuracy during the movement in [m]. |
VirtualPath |
getVirtualPath()
Returns the corresponding virtual path the mobile robot should move on. |
String |
getVirtualPathName()
Returns the name of the corresponding virtual path the mobile robot should move on. |
boolean |
hasRecoverActions()
|
boolean |
isReversed()
Returns true if the underlying path should be traversed in opposite directions. |
VirtualPathMotion |
recoverWhen(com.kuka.nav.recover.RecoverCondition condition,
com.kuka.nav.recover.RecoverAction action)
|
VirtualPathMotion |
setBlendingCart(double value)
|
VirtualPathMotion |
setOrientations(com.kuka.nav.Orientations orientations)
Sets the set of allowed orientations for this virtual path motion. |
VirtualPathMotion |
setReversed(boolean reversed)
Changes the direction in which the underlying virtual path is traversed. |
VirtualPathMotion |
setTrackingAccuracyRot(double accuracy)
Sets the rotational accuracy during the movement in [m]. |
VirtualPathMotion |
setTrackingAccuracyTrans(double accuracy)
Sets the translational accuracy during the movement in [m]. |
VirtualPathMotion |
setVirtualPath(VirtualPath path)
Sets the virtual path the mobile robot should move on. |
VirtualPathMotion |
setVirtualPathName(String pathName)
Sets the name of the virtual path the mobile robot should move on. |
| Methods inherited from class com.kuka.nav.command.Motion |
|---|
getAcceleration, getAccelerationOverride, getDeceleration, getDecelerationOverride, getMaxAcceleration, getMaxDeceleration, getMaxVelocity, getTimeout, getVelocity, getVelocityOverride, setAcceleration, setAccelerationOverride, setDeceleration, setDecelerationOverride, setMaxAcceleration, setMaxDeceleration, setMaxVelocity, setTimeout, setVelocity, setVelocityOverride |
| Methods inherited from class com.kuka.nav.command.AbstractCommand |
|---|
getDescription, self, setDescription |
| Methods inherited from class com.kuka.nav.command.AbstractParameterizable |
|---|
getParameters, paramHelper |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.kuka.parameters.IParameterizable |
|---|
getParameters |
| Constructor Detail |
|---|
public VirtualPathMotion(String pathName)
VirtualPathMotion(String, Orientations).
pathName - the name of the virtual path
public VirtualPathMotion(String pathName,
com.kuka.nav.Orientations orientations)
Orientations.FORWARD and
Orientations.BACKWARD).
pathName - the name of the virtual pathorientations - the set of allowed orientationspublic VirtualPathMotion(VirtualPath path)
VirtualPathMotion(VirtualPath, Orientations).
The data source object VirtualPathData can be used to retrieve persisted virtual paths.
path - the virtual path
public VirtualPathMotion(VirtualPath path,
com.kuka.nav.Orientations orientations)
Orientations.FORWARD and Orientations.BACKWARD).
The data source object VirtualPathData can be used to retrieve persisted virtual paths.
path - the virtual pathorientations - the set of allowed orientationsprotected VirtualPathMotion(com.kuka.parameters.IParameterMap params)
params - parameter map containing the command parameters.| Method Detail |
|---|
public String getVirtualPathName()
public VirtualPathMotion setVirtualPathName(String pathName)
setVirtualPath(VirtualPath).
pathName - the name of the virtual path
public VirtualPath getVirtualPath()
null.
null if only the name of
the virtual path was specified for this motionpublic VirtualPathMotion setVirtualPath(VirtualPath path)
The data source object VirtualPathData can be used to retrieve persisted virtual paths.
path - the virtual path the mobile robot should move on
public com.kuka.nav.Orientations getOrientations()
public VirtualPathMotion setOrientations(com.kuka.nav.Orientations orientations)
Orientations.FORWARD and Orientations.BACKWARD).
orientations - the set of allowed orientations for this virtual path motion
public boolean isReversed()
true if the underlying path should be traversed in opposite directions. The direction can
be changed using setReversed(boolean).
true if the underlying path should be traversed in opposite directionspublic VirtualPathMotion setReversed(boolean reversed)
false the path is
traversed in the same direction as it was defined. If set to false the path is traversed in opposite
direction. The current behavior can be retrieved using isReversed().
reversed - defines if the path should be traversed in opposite direction
public double getTrackingAccuracyTrans()
public VirtualPathMotion setTrackingAccuracyTrans(double accuracy)
accuracy - the translational accuracy during the movement in [m]
public double getTrackingAccuracyRot()
public VirtualPathMotion setTrackingAccuracyRot(double accuracy)
accuracy - the rotational accuracy during the movement in [m]
public double getBlendingCart()
getBlendingCart in interface com.kuka.nav.command.BlendableMotion<VirtualPathMotion>public VirtualPathMotion setBlendingCart(double value)
setBlendingCart in interface com.kuka.nav.command.BlendableMotion<VirtualPathMotion>public boolean hasRecoverActions()
hasRecoverActions in interface com.kuka.nav.recover.RecoverableCommand<VirtualPathMotion>
public VirtualPathMotion recoverWhen(com.kuka.nav.recover.RecoverCondition condition,
com.kuka.nav.recover.RecoverAction action)
recoverWhen in interface com.kuka.nav.recover.RecoverableCommand<VirtualPathMotion>public VirtualPathMotion copy()
copy in interface com.kuka.command.ICommand<VirtualPathMotion,VirtualPathMotionContainer>copy in class com.kuka.nav.command.AbstractCommand<VirtualPathMotion,VirtualPathMotionContainer>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||