|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.common.TaggableObject
com.kuka.roboticsAPI.geometricModel.SceneGraphObject
com.kuka.roboticsAPI.geometricModel.SpatialObject
com.kuka.roboticsAPI.geometricModel.PhysicalObject
com.kuka.roboticsAPI.deviceModel.Device
com.kuka.roboticsAPI.deviceModel.MovableDevice
com.kuka.roboticsAPI.deviceModel.Robot
com.kuka.roboticsAPI.deviceModel.LBR
com.kuka.roboticsAPI.controllerModel.sunrise.SunriseLBR
public class SunriseLBR
Represents a LBR that is connected to a Sunrise system.
| Field Summary |
|---|
| Fields inherited from class com.kuka.roboticsAPI.deviceModel.LBR |
|---|
_gmsSensorLimits |
| Fields inherited from class com.kuka.roboticsAPI.deviceModel.Device |
|---|
_hardwareVersion |
| Constructor Summary | |
|---|---|
SunriseLBR(Controller controller,
String name)
Creates a new LBR instance with the given controller. |
|
| Method Summary | |
|---|---|
boolean |
areDrivesReady()
|
void |
configure(ActiveDevice pipe,
LoadData loadData)
Called when the Sunrise robot should configure the specified pipe. |
protected ITransformationProvider |
createBaseFlangeTransformationProvider()
Creates the robot-base-to-flange transformation provider for this robot. |
void |
deactivateDeviceCartesianVelocityLimit()
Deactivates the Device Cartesian velocity limit. |
CartesianVelocityLimitInfo |
getCartesianVelocityLimitInfo()
Gets a reference to a CartesianVelocityLimits object which contains all the Cartesian Velocity Limit related information for the current robot. |
String |
getObserverName()
Gets the name of the observer, that can be used for the device. |
String |
getPipeName(IMotionControlMode controlMode)
Gets the name of the pipe to be used for motion with the specified control mode. |
ISafetyState |
getSafetyState()
Gets the state of safety signals. |
String |
getValidatorModuleName()
Gets the name of the validator module, that can be used for the device. |
protected void |
initGmsSensorLimits()
Initializes the Sensor Nominal Limits for GMS-Sensor. |
boolean |
isMotionEnabled()
A Robot is motion enabled if the safety signals no stop. |
boolean |
isReadyToMove()
A Robot is ready to move if a movement command can be executed. |
void |
sendStartTrace()
Starts Trace on the Devices Observer with default parameters. |
void |
sendStartTrace(int numTraceRows,
int traceDecimation)
Starts Trace on the Devices Observer. |
void |
sendStopTrace()
Stops Trace on the Devices Observer. |
void |
setDeviceCartesianVelocityLimit(int cartesianVelocityLimit)
Sets the Device Cartesian velocity limit to the specified value. |
void |
setDrivesReady(boolean ready)
Sets ready to move value for this device. |
void |
setESMState(String name)
Sets an ESM (Event-driven Safety Monitoring) state configured in the safety configuration. |
void |
setMotionEnabled(boolean motionEnabled)
Sets ready to move value for this device. |
void |
setSafetyState(SunriseSafetyState safetyState)
Sets safety state for this device. |
void |
setSafetyWorkpiece(PhysicalObject wp)
Sets the workpiece load data used by safety monitoring functions. |
| Methods inherited from class com.kuka.roboticsAPI.deviceModel.LBR |
|---|
checkTorqueSensor, getAlphaAngle, getAlphaInverseKinematicFromReference, getExternalForceTorque, getExternalForceTorque, getExternalTorque, getInitialHomePosition, getInverseKinematicFromFrameAndRedundancy, getMeasuredTorque, getSensorForExternalForce, getSensorForExternalTorque, getSensorForMeasuredTorque, getSensorForTemperatures, getTemperatures, getTorqueSensorLimits, initializeJointCount, onInitialize |
| Methods inherited from class com.kuka.roboticsAPI.deviceModel.MovableDevice |
|---|
calculateReadyToMove, getOperationMode |
| Methods inherited from class com.kuka.roboticsAPI.deviceModel.Device |
|---|
acquireCommandPermit, dispose, getContext, getController, getHardwareVersion, getUniqueName, initialize, isInitialized, refreshHardwareVersion, releaseCommandPermit, setName |
| Methods inherited from class com.kuka.roboticsAPI.geometricModel.PhysicalObject |
|---|
addDefaultMotionFrame, getLoadData |
| Methods inherited from class com.kuka.roboticsAPI.geometricModel.SpatialObject |
|---|
attachTo, attachTo, changeParent, detach, switchParent, switchParent |
| Methods inherited from class com.kuka.roboticsAPI.geometricModel.SceneGraphObject |
|---|
addChildFrame, addChildFrame, addChildFrame, addChildFrame, addChildFrame, addChildFrame, allObjects, changeFrameParent, changeFramePosition, findMembersOfGroup, findRobot, getAllFrames, getAllUserParameters, getChild, getChildFrameLock, getChildren, getFrame, getName, getParent, getRootFrame, getRootOfGroup, getUserParameter, groupToParent, isDescendantOf, isGroupedToParent, isMemberOfGroup, isRootOfGroup, removeFrame, renameFrame, setRootFrame, setUserParameter, toString, ungroupFromParent |
| Methods inherited from class com.kuka.common.TaggableObject |
|---|
getTag, setTag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.kuka.roboticsAPI.deviceModel.IOperationModeProvider |
|---|
getOperationMode |
| Constructor Detail |
|---|
public SunriseLBR(Controller controller,
String name)
controller - The controller to which this device belongs.name - The name of the device.| Method Detail |
|---|
public void configure(ActiveDevice pipe,
LoadData loadData)
configure in interface ISunriseRobotpipe - The pipe.loadData - load data for robot flangepublic String getValidatorModuleName()
getValidatorModuleName in interface ISunriseRobotpublic String getObserverName()
getObserverName in interface ISunriseRobotpublic String getPipeName(IMotionControlMode controlMode)
ISunriseRobot
If the pipe should be chosen by the control mode mapper,
null should be returned.
getPipeName in interface ISunriseRobotcontrolMode - the control mode that is used for the motion.
null, if the pipe should be chosen by the
control mode mapper.
public void sendStartTrace(int numTraceRows,
int traceDecimation)
numTraceRows - - Number of ticks, which are stored.traceDecimation - - decimate the trace.public void sendStartTrace()
public void sendStopTrace()
public boolean isReadyToMove()
Robot is ready to move if a movement command can be executed. For a general robot this method returns
true if the SunriseSafetyState.SafetyStopType is SunriseSafetyState.SafetyStopType.NOSTOP and the correct enabling switch is pressed.
To be notified about changes of this state, use IControllerStateListener.onIsReadyToMoveChanged(com.kuka.roboticsAPI.deviceModel.Device, boolean). SunriseSafetyState.SafetyStopType is SunriseSafetyState.SafetyStopType.NOSTOP,
isReadyToMove in class MovableDevicetrue, if the robot is ready to move at this momentfalse, otherwisepublic boolean isMotionEnabled()
Robot is motion enabled if the safety signals no stop. SunriseSafetyState.SafetyStopType is SunriseSafetyState.SafetyStopType.NOSTOP,
isMotionEnabled in class MovableDevicetrue, if the robot is motion enabled at the momentfalse, otherwisepublic void setMotionEnabled(boolean motionEnabled)
setMotionEnabled in interface IMovableSunriseDevicemotionEnabled - true if device is ready to movepublic void setDrivesReady(boolean ready)
setDrivesReady in interface IMovableSunriseDeviceready - true if device is ready to movepublic boolean areDrivesReady()
protected ITransformationProvider createBaseFlangeTransformationProvider()
Robot
createBaseFlangeTransformationProvider in class Robotpublic void setSafetyState(SunriseSafetyState safetyState)
setSafetyState in interface IMovableSunriseDevicesafetyState - New safety state.public ISafetyState getSafetyState()
getSafetyState in class LBRprotected void initGmsSensorLimits()
LBR
initGmsSensorLimits in class LBRpublic void setESMState(String name)
LBRIf the given parameter is a valid ESM name but the corresponding ESM state is not known in the safety configuration a stop category 1 is performed.
setESMState in class LBRname - The name of the ESM state. Must be a numeric string between '1' and '10'.public void setSafetyWorkpiece(PhysicalObject wp)
LBRAccepted value ranges after rounding:
Please note that this mechanism will be changed in future releases.
setSafetyWorkpiece in class LBRwp - The physical object containing the load data.public void setDeviceCartesianVelocityLimit(int cartesianVelocityLimit)
setDeviceCartesianVelocityLimit in class RobotcartesianVelocityLimit - The new Device Cartesian velocity to set in [mm/s].
IllegalArgumentException - If the new Device specific Cartesian velocity to set (cartesianVelocityLimit parameter) is not
greater than 0.
IllegalStateException - In case the Enhanced Velocity Controller feature is not installed.public void deactivateDeviceCartesianVelocityLimit()
deactivateDeviceCartesianVelocityLimit in class RobotIllegalStateException - In case the Enhanced Velocity Controller feature is not installed.public CartesianVelocityLimitInfo getCartesianVelocityLimitInfo()
getCartesianVelocityLimitInfo in class RobotIllegalStateException - In case the Enhanced Velocity Controller feature is not installed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||