|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.commandModel.Action<T>
com.kuka.roboticsAPI.motionModel.Motion<T>
com.kuka.roboticsAPI.motionModel.KROSMotion<T>
com.kuka.roboticsAPI.motionModel.velocityControlled.VelocityControlledMotion<T>
T - Type of the overriding class
@Deprecated public abstract class VelocityControlledMotion<T extends KROSMotion<T>>
Base class for velocity controller motions.
| Constructor Summary | |
|---|---|
protected |
VelocityControlledMotion(CommandDataSource dataSource)
Deprecated. Creates a new instance of the class. |
protected |
VelocityControlledMotion(int cycleRate,
int watchDogTolerance,
double acceleration,
CommandDataSource dataSource)
Deprecated. Creates a new instance of the class. |
| Method Summary | |
|---|---|
void |
acquireResources(Device device)
Deprecated. Prepares the action. |
int |
getCycleRate()
Deprecated. Gets the cycle rate (in msec). |
CommandDataSource |
getDataSource()
Deprecated. Gets the datasource for this motion. |
int |
getWatchdogTolerance()
Deprecated. Gets the tolerance of the watchdog (msec). |
void |
releaseResources(Device device)
Deprecated. Called when the instruction which is associated with the action is released. |
void |
setAcceleration(double acceleration)
Deprecated. Sets the acceleration. |
void |
setCycleRate(int cycleRate)
Deprecated. Sets the cycle rate (in msec). |
void |
setWatchdogTolerance(int watchDogTolerance)
Deprecated. Sets the tolerance of the watchdog (msec). |
| Methods inherited from class com.kuka.roboticsAPI.motionModel.KROSMotion |
|---|
addMotionOverlay, breakWhen, getConditions, getMode, getMotionOverlaySupport, getSCSupport, getTriggerSupport, hasConditions, hasMotionOverlay, hasTrigger, isApplicableFor, setMode, triggerWhen |
| Methods inherited from class com.kuka.roboticsAPI.commandModel.Action |
|---|
addParameter, addParams, getParams, removeParameter, self |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.kuka.roboticsAPI.motionModel.IParameterizable |
|---|
getParams |
| Constructor Detail |
|---|
protected VelocityControlledMotion(CommandDataSource dataSource)
Watchdog and cycle rate will have default values. Acceleration comes from the robot (if no acceleration is set afterwards).
dataSource - data source for this motion.
protected VelocityControlledMotion(int cycleRate,
int watchDogTolerance,
double acceleration,
CommandDataSource dataSource)
cycleRate - the cycle rate (in msec). How often the new velocity value
will be sent to the controller..watchDogTolerance - the tolerance of the watchdog (msec). Tolerance - is how long
controller will wait for a velocity value if it is not arrived
on time. If this time is elapsed - the command will become
invalid.acceleration - the acceleration. Must be between 0 and 1.dataSource - data source for this motion.| Method Detail |
|---|
public CommandDataSource getDataSource()
public int getCycleRate()
public final void setCycleRate(int cycleRate)
cycleRate - the cycle ratepublic int getWatchdogTolerance()
public final void setWatchdogTolerance(int watchDogTolerance)
watchDogTolerance - the tolerance of the watchdogpublic final void setAcceleration(double acceleration)
acceleration - The acceleration. Must be between 0 and 1.public void acquireResources(Device device)
An action is part of an instruction, and the prepare method passes the device part of the instruction to the action so that it can determine if the device is appropriate for the action.
acquireResources in interface IActionacquireResources in class KROSMotion<T extends KROSMotion<T>>device - The device part of the instruction in which the action is
contained.public void releaseResources(Device device)
releaseResources in interface IActionreleaseResources in class Action<T extends KROSMotion<T>>device - The device part of the instruction in which the action is
contained.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||