|
||||||||||
| 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<VirtualLineMotion,VirtualLineMotionContainer>
com.kuka.nav.line.VirtualLineMotion
public class VirtualLineMotion
Represents the motion of a mobile robot along a 'virtual line' from a start position to a goal position. The desired platform orientation during the movement can be any set of angles specified relative to the line or in map coordinates - the platform will choose the orientation that is closest to the current platform orientation.
The platform can rotate towards the goal orientation during the virtual line move, if the OrientationMode is
set to OrientationMode.VARIABLE. Otherwise, a mis-orientation at the start of the movement leads to a failure
of the motion.
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 |
VirtualLineMotion(com.kuka.parameters.IParameterMap params)
Copy constructor. |
|
VirtualLineMotion(com.kuka.nav.Location start,
com.kuka.nav.Location goal)
Creates a new motion on a virtual line going from the position defined by the given start location to the given goal location with OrientationMode.VARIABLE. |
|
VirtualLineMotion(com.kuka.nav.Location start,
com.kuka.nav.Location goal,
List<Double> orientations,
com.kuka.nav.OrientationMode mode)
Deprecated. The constructors that accept a list of orientations are deprecated. Use constructors with Orientations to pass allowed orientations along the line. |
|
VirtualLineMotion(com.kuka.nav.Pose start,
com.kuka.nav.Pose goal)
Creates a new motion on a virtual line going from the position defined by the given start pose to the given goal pose with OrientationMode.VARIABLE. |
|
VirtualLineMotion(com.kuka.nav.Position start,
com.kuka.nav.Position goal,
List<Double> orientations,
com.kuka.nav.OrientationMode mode)
Deprecated. The constructors that accept a list of orientations are deprecated. Use constructors with Orientations to pass allowed orientations along the line. |
|
VirtualLineMotion(VirtualLine line)
Creates a new motion on the given virtual line with forward orientation and OrientationMode.VARIABLE. |
|
VirtualLineMotion(VirtualLine line,
com.kuka.nav.Orientations orientations)
Creates a new motion on the given virtual line with OrientationMode.VARIABLE. |
|
VirtualLineMotion(VirtualLine line,
com.kuka.nav.Orientations orientations,
com.kuka.nav.OrientationMode mode)
Creates a new motion on the given virtual line. |
| Method Summary | |
|---|---|
VirtualLineMotion |
copy()
|
double |
getBlendingCart()
|
double |
getGoalAccuracyRot()
|
double |
getGoalAccuracyTrans()
|
com.kuka.nav.Pose |
getGoalPose()
|
com.kuka.nav.OrientationMode |
getOrientationMode()
Returns the orientation mode for this virtual line motion. |
com.kuka.nav.Orientations |
getOrientations()
Returns the set of orientations allowed for this virtual line motion. |
double |
getTrackingAccuracyRot()
Returns the rotational accuracy during the movement in [rad]. |
double |
getTrackingAccuracyTrans()
Returns the translational accuracy during the movement in [m]. |
VirtualLine |
getVirtualLine()
Returns the corresponding virtual line the mobile robot should move on. |
boolean |
hasRecoverActions()
|
VirtualLineMotion |
recoverWhen(com.kuka.nav.recover.RecoverCondition condition,
com.kuka.nav.recover.RecoverAction action)
|
VirtualLineMotion |
setBlendingCart(double value)
|
VirtualLineMotion |
setGoalAccuracyRot(double accuracy)
Sets the rotational accuracy at the goal pose. |
VirtualLineMotion |
setGoalAccuracyTrans(double accuracy)
Sets the translational accuracy at the goal pose. |
VirtualLineMotion |
setGoalOrientations(com.kuka.nav.Orientations orientations)
Sets the set of allowed orientations for this virtual line motion. |
VirtualLineMotion |
setLineOrientations(com.kuka.nav.Orientations orientations)
Sets the set of allowed orientations for this virtual line motion. |
VirtualLineMotion |
setOrientationMode(com.kuka.nav.OrientationMode orientationMode)
Sets the orientation mode for this virtual line motion. |
VirtualLineMotion |
setOrientations(com.kuka.nav.Orientations orientations)
Sets the set of allowed orientations for this virtual line motion. |
VirtualLineMotion |
setTrackingAccuracyRot(double accuracy)
Sets the rotational accuracy during the movement in [rad]. |
VirtualLineMotion |
setTrackingAccuracyTrans(double accuracy)
Sets the translational accuracy during the movement in [m]. |
VirtualLineMotion |
setVirtualLine(VirtualLine line)
Sets the virtual line 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 VirtualLineMotion(com.kuka.nav.Location start,
com.kuka.nav.Location goal)
OrientationMode.VARIABLE.
start - the start location, defining the start position of the virtual linegoal - the goal location
public VirtualLineMotion(com.kuka.nav.Pose start,
com.kuka.nav.Pose goal)
OrientationMode.VARIABLE.
start - the start pose, defining the start position of the virtual linegoal - the goal posepublic VirtualLineMotion(VirtualLine line)
OrientationMode.VARIABLE.
line - the virtual line the mobile robot should move on
public VirtualLineMotion(VirtualLine line,
com.kuka.nav.Orientations orientations)
OrientationMode.VARIABLE.
line - the virtual line the mobile robot should move onorientations - the set of allowed orientations for this virtual line motion
public VirtualLineMotion(VirtualLine line,
com.kuka.nav.Orientations orientations,
com.kuka.nav.OrientationMode mode)
line - the virtual line the mobile robot should move onorientations - the set of allowed orientations for this virtual line motionmode - the OrientationMode for this virtual line motionprotected VirtualLineMotion(com.kuka.parameters.IParameterMap params)
params - parameter map containing the command parameters
@Deprecated
public VirtualLineMotion(com.kuka.nav.Location start,
com.kuka.nav.Location goal,
List<Double> orientations,
com.kuka.nav.OrientationMode mode)
Orientations to pass allowed orientations along the line.
start - The start of the virtual line as pose. May not be null.goal - The destination as pose. May not be null.orientations - Allowed orientations relative to the forward direction of the
line (in radiant). For convenience, the constants LENGTHWISE,
CROSSWISE, ALIGN can be used.mode - The OrientationMode determines whether the platform is
allowed to rotate during movement ( OrientationMode.VARIABLE) or not (
OrientationMode.FIXED).
@Deprecated
public VirtualLineMotion(com.kuka.nav.Position start,
com.kuka.nav.Position goal,
List<Double> orientations,
com.kuka.nav.OrientationMode mode)
Orientations to pass allowed orientations along the line.
start - The start of the virtual line as pose. May not be null.goal - The destination as pose. May not be null.orientations - Allowed orientations relative to the forward direction of the
line (in radiant). For convenience, the constants LENGTHWISE,
CROSSWISE, ALIGN can be used.mode - The OrientationMode determines whether the platform is
allowed to rotate during movement ( OrientationMode.VARIABLE) or not (
OrientationMode.FIXED).| Method Detail |
|---|
public VirtualLine getVirtualLine()
public VirtualLineMotion setVirtualLine(VirtualLine line)
null.
line - the virtual line the mobile robot should move on
public com.kuka.nav.Orientations getOrientations()
public VirtualLineMotion setOrientations(com.kuka.nav.Orientations orientations)
orientations - the set of allowed orientations for this virtual line motion
public VirtualLineMotion setLineOrientations(com.kuka.nav.Orientations orientations)
OrientationMode.FIXED.
orientations - the set of allowed orientations for this virtual line motion
public VirtualLineMotion setGoalOrientations(com.kuka.nav.Orientations orientations)
OrientationMode.VARIABLE.
orientations - the set of allowed orientations for this virtual line motion
public com.kuka.nav.OrientationMode getOrientationMode()
public VirtualLineMotion setOrientationMode(com.kuka.nav.OrientationMode orientationMode)
orientationMode - the orientation mode for this virtual line motion
public double getTrackingAccuracyTrans()
public VirtualLineMotion setTrackingAccuracyTrans(double accuracy)
accuracy - the translational accuracy during the movement in [m]
public double getTrackingAccuracyRot()
public VirtualLineMotion setTrackingAccuracyRot(double accuracy)
accuracy - the rotational accuracy during the movement in [rad]
public double getBlendingCart()
getBlendingCart in interface com.kuka.nav.command.BlendableMotion<VirtualLineMotion>public VirtualLineMotion setBlendingCart(double value)
setBlendingCart in interface com.kuka.nav.command.BlendableMotion<VirtualLineMotion>public boolean hasRecoverActions()
hasRecoverActions in interface com.kuka.nav.recover.RecoverableCommand<VirtualLineMotion>
public VirtualLineMotion recoverWhen(com.kuka.nav.recover.RecoverCondition condition,
com.kuka.nav.recover.RecoverAction action)
recoverWhen in interface com.kuka.nav.recover.RecoverableCommand<VirtualLineMotion>public VirtualLineMotion copy()
copy in interface com.kuka.command.ICommand<VirtualLineMotion,VirtualLineMotionContainer>copy in class com.kuka.nav.command.AbstractCommand<VirtualLineMotion,VirtualLineMotionContainer>public final com.kuka.nav.Pose getGoalPose()
public final double getGoalAccuracyTrans()
public VirtualLineMotion setGoalAccuracyTrans(double accuracy)
accuracy - The translational accuracy (in meters, Euclidian norm).
public double getGoalAccuracyRot()
public VirtualLineMotion setGoalAccuracyRot(double accuracy)
accuracy - The rotational accuracy (in rad).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||