|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.motionModel.BasicMotions
public final class BasicMotions
Utility class to execute basic robot motions.
| Field Summary | |
|---|---|
static double |
MINBLENDVALUE
Minimum possible value to activate relative blending for motions. |
| Method Summary | |
|---|---|
static MotionBatch |
batch(RobotMotion<?>... motions)
Creates a new batch robot motion. |
static CIRC |
circ(AbstractFrame auxiliaryFrame,
AbstractFrame destination)
Creates a CIRC motion. |
static RelativeCIRC |
circRel(ITransformation transformation)
Creates a relative CIRC motion. |
static LIN |
lin(AbstractFrame destination)
Creates a LIN motion. |
static RelativeLIN |
linRel()
Creates a relative LIN motion object. |
static RelativeLIN |
linRel(double x,
double y,
double z)
Creates a relative LIN motion object with the given offset. |
static RelativeLIN |
linRel(double x,
double y,
double z,
AbstractFrame referenceFrame)
Creates a relative LIN motion object with the given offset, relative to a reference frame. |
static RelativeLIN |
linRel(double x,
double y,
double z,
double alphaRad,
double betaRad,
double gammaRad)
Creates a relative LIN motion object with the given offset. |
static RelativeLIN |
linRel(double x,
double y,
double z,
double alphaRad,
double betaRad,
double gammaRad,
AbstractFrame referenceFrame)
Creates a relative LIN motion object with the given offset, relative to a reference frame. |
static RelativeLIN |
linRel(ITransformation frameTransformation)
Creates a relative LIN motion object. |
static RelativeLIN |
linRel(ITransformation frameTransformation,
AbstractFrame relativeFrame)
Creates a relative LIN motion object, relative to a reference frame. |
static PositionHold |
positionHold(IMotionControlMode controlMode,
long timeout,
TimeUnit timeUnit)
Creates a PositionHold motion that will hold the robot at it's current position. |
static CartesianPTP |
ptp(AbstractFrame destination)
Creates a Cartesian PTP motion. |
static PTP |
ptp(double... jointAngles)
Creates a PTP motion. |
static PTP |
ptp(JointPosition jointAngles)
Creates a PTP motion. |
static PTPHome |
ptpHome()
Creates a PTP motion to the home position of the robot. |
static SPL |
spl(AbstractFrame destination)
Creates a SPL motion. |
static Spline |
spline(SplineMotionCP<?>... motions)
Creates a new spline batch. |
static SplineJP |
splineJP(SplineMotionJP<?>... motions)
Creates a new joint-space spline batch. |
static RelativeSPL |
splRel()
Creates a relative SPL motion. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double MINBLENDVALUE
| Method Detail |
|---|
public static MotionBatch batch(RobotMotion<?>... motions)
motions - a sequence of motion segments
public static Spline spline(SplineMotionCP<?>... motions)
motions - spline segments.
public static LIN lin(AbstractFrame destination)
destination - The destination.
public static RelativeLIN linRel(double x,
double y,
double z)
The RelativeLIN will move the robot relative to its current position in any direction. The robot will
move in TCP-Orientation.
x - the offset in x direction in [mm]y - the offset in y direction in [mm]z - the offset in z direction in [mm]
public static RelativeLIN linRel(double x,
double y,
double z,
AbstractFrame referenceFrame)
The RelativeLIN will move the robot relative to its current position in any direction. The robot will
move in the orientation of the reference frame.
x - the offset in x direction in [mm]y - the offset in y direction in [mm]z - the offset in z direction in [mm]referenceFrame - This frame describes the coordinate system in which the
transformation will be interpreted.
public static RelativeLIN linRel(double x,
double y,
double z,
double alphaRad,
double betaRad,
double gammaRad)
The RelativeLIN will move the robot relative to its current position in any direction. The robot will
move in TCP-Orientation.
x - the offset in x direction in [mm]y - the offset in y direction in [mm]z - the offset in z direction in [mm]alphaRad - Offset value in [rad]betaRad - Offset value in [rad]gammaRad - Offset value in [rad]
public static RelativeLIN linRel(double x,
double y,
double z,
double alphaRad,
double betaRad,
double gammaRad,
AbstractFrame referenceFrame)
The RelativeLIN will move the robot relative to its current position in any direction. The robot will
move in the orientation of the reference frame.
x - the offset in x direction in [mm]y - the offset in y direction in [mm]z - the offset in z direction in [mm]alphaRad - Offset value in [rad]betaRad - Offset value in [rad]gammaRad - Offset value in [rad]referenceFrame - This frame describes the coordinate system in which the
transformation will be interpreted.
public static RelativeLIN linRel(ITransformation frameTransformation)
The RelativeLIN will move the robot relative to its current position in any direction. The robot will
move in TCP-Orientation.
frameTransformation - The transformation for the motion
public static RelativeLIN linRel(ITransformation frameTransformation,
AbstractFrame relativeFrame)
The RelativeLIN will move the robot relative to its current position in any direction. The robot will
move in the orientation of the relative frame.
frameTransformation - The transformation for the motionrelativeFrame - The frame of the coordinate system (directions) for the move
(new base)
public static RelativeLIN linRel()
The RelativeLIN will move the robot relative to its current position in any direction. Per default the
robot will move in TCP-Orientation. You can specify a new Frame as reference for this motion, instead of default
TCP. Robot will move in the orientation of the new frame.
public static SPL spl(AbstractFrame destination)
destination - The destination.
public static RelativeSPL splRel()
public static RelativeCIRC circRel(ITransformation transformation)
transformation - The transformation of the frame relative to the current frame
public static CIRC circ(AbstractFrame auxiliaryFrame,
AbstractFrame destination)
CIRC.setCircAngle(double).
The CIRC motion may be used inside a Spline to indicate a CIRC segment, or can be used for a standalone
CIRC motion, too.
auxiliaryFrame - The auxiliary frame to calculate the CIRC segment.destination - The destination.
public static PositionHold positionHold(IMotionControlMode controlMode,
long timeout,
TimeUnit timeUnit)
Please note, if a valid timeout value (>= 0) for the PositionHold command has been defined, this will be used as a command stop condition, otherwise this command has no implicit stop condition. In this case it has to be cancelled manually using the cancel-method of the ExecutionEngine or you have to specify your own stop condition.
controlMode - The control mode for the position hold command.timeout - The maximum time the position hold command is active. For
endless timeout use a value < 0.timeUnit - The unit of the timeout.
public static SplineJP splineJP(SplineMotionJP<?>... motions)
motions - spline segments.
public static PTP ptp(double... jointAngles)
jointAngles - The joint angles (in [rad]).
public static PTP ptp(JointPosition jointAngles)
jointAngles - The joint angles (in [rad]).
public static CartesianPTP ptp(AbstractFrame destination)
destination - The destination.
public static PTPHome ptpHome()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||