|
||||||||||
| 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
public abstract class LBR
A LBR represents the KUKA lightweight robot (LWR).
LBR has torque sensors in each joint and has the possibility to determine the external force on its defaultMotionFrame. This force is available via the LBR´s force sensor. It is also possible to use impedance control modes with this robot.
| Field Summary | |
|---|---|
protected double[] |
_gmsSensorLimits
torque sensor limits. |
| Fields inherited from class com.kuka.roboticsAPI.deviceModel.Device |
|---|
_hardwareVersion |
| Constructor Summary | |
|---|---|
LBR(Controller controller,
String name)
Creates a new LBR instance with the given controller. |
|
| Method Summary | |
|---|---|
boolean |
checkTorqueSensor(com.kuka.roboticsAPI.deviceModel.JointEnum joint)
Checks if the torque sensor of the given axis works properly. |
double |
getAlphaAngle(JointPosition joints)
Calculates the alpha redundancy parameter for a given joint configuration. |
JointPosition |
getAlphaInverseKinematicFromReference(AbstractFrame frame,
JointPosition correspondingJoints,
double alphaAngle)
Gets the joint position that correspond to alphaAngle and frame using the nearest solution to a given joint position. |
ForceSensorData |
getExternalForceTorque(AbstractFrame measureFrame)
Gets the external force measured by the robot at the position and in the orientation of the specified measure frame. |
ForceSensorData |
getExternalForceTorque(AbstractFrame measureFrame,
AbstractFrame orientationFrame)
Gets the external force measured by the robot at the position and in the orientation of the specified frames. |
TorqueSensorData |
getExternalTorque()
Gets the current external torque sensor data for this robot. |
protected JointPosition |
getInitialHomePosition()
Gets the default home position of the concrete robot. |
JointPosition |
getInverseKinematicFromFrameAndRedundancy(AbstractFrame frame)
Gets the inverse kinematics value of the given frame for this robot. |
TorqueSensorData |
getMeasuredTorque()
Gets the currently measured ("raw") torque sensor data for this robot. |
ISafetyState |
getSafetyState()
Gets the state of safety signals. |
SensorForExternalForce |
getSensorForExternalForce()
Gets the force sensor of this LBR which measures the external force at the robot defaultMotionFrame. |
SensorForExternalTorque |
getSensorForExternalTorque()
Gets the external torque sensor of this robot. |
SensorForMeasuredTorque |
getSensorForMeasuredTorque()
Gets the measured ("raw") torque sensor of this robot. |
SensorForLbrTemperatures |
getSensorForTemperatures()
Gets the temperature sensor object for the temperature sensors installed on the control logic boards of this robot. |
LbrTemperatureSensorData |
getTemperatures()
Gets the current temperature sensor data for this LBR. |
double[] |
getTorqueSensorLimits()
Gets the torque sensor Limits. |
protected abstract void |
initGmsSensorLimits()
Initializes the Sensor Nominal Limits for GMS-Sensor. |
protected int |
initializeJointCount()
Initializes the joint count of this device. |
protected void |
onInitialize()
Called when the device get's initialized. |
abstract void |
setESMState(String name)
Sets an ESM (Event-driven Safety Monitoring) state configured in the safety configuration. |
abstract void |
setSafetyWorkpiece(PhysicalObject wp)
Sets the workpiece load data used by safety monitoring functions. |
| Methods inherited from class com.kuka.roboticsAPI.deviceModel.MovableDevice |
|---|
calculateReadyToMove, getOperationMode, isMotionEnabled, isReadyToMove |
| 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 |
| Field Detail |
|---|
protected double[] _gmsSensorLimits
| Constructor Detail |
|---|
public LBR(Controller controller,
String name)
controller - The controller to which this device belongs.name - The name of the device.| Method Detail |
|---|
protected int initializeJointCount()
Robot
initializeJointCount in class Robotprotected JointPosition getInitialHomePosition()
getInitialHomePosition in class Robotprotected void onInitialize()
DeviceMay be overridden by subclasses. Will only be called once. If this method fails with an exception, the device will not be initialized and may behave strange under some circumstances.
onInitialize in class Robotpublic final SensorForMeasuredTorque getSensorForMeasuredTorque()
getSensorForMeasuredTorque in interface ITorqueSensitiveRobotpublic final TorqueSensorData getMeasuredTorque()
getMeasuredTorque in interface ITorqueSensitiveRobotpublic final SensorForExternalTorque getSensorForExternalTorque()
getSensorForExternalTorque in interface ITorqueSensitiveRobotpublic final TorqueSensorData getExternalTorque()
getExternalTorque in interface ITorqueSensitiveRobotpublic SensorForExternalForce getSensorForExternalForce()
Note that you may have to execute a motion command with the correct load data before capturing measurements using the robot's force sensor.
getSensorForExternalForce in interface IForceSensitiveRobotpublic ForceSensorData getExternalForceTorque(AbstractFrame measureFrame)
Please note:
ForceSensorData.isForceValid(double) and ForceSensorData.isTorqueValid(double))
getExternalForceTorque in interface IForceSensitiveRobotmeasureFrame - The frame where the measurement will take place. This frame must be statically attached to a device
that can measure forces (such as an LBR). If an orientationFrame is given, the orientation of
the frame is not important.
public ForceSensorData getExternalForceTorque(AbstractFrame measureFrame,
AbstractFrame orientationFrame)
Please note:
ForceSensorData.isForceValid(double) and ForceSensorData.isTorqueValid(double))
getExternalForceTorque in interface IForceSensitiveRobotmeasureFrame - The frame where the measurement will take place. This frame must be statically attached to a device
that can measure forces (such as an LBR).orientationFrame - Optional frame (may be null) that overrides the orientation of the measureFrame. The translation of
the orientationFrame has no influence on the measurement. Use this frame if you want to specify the
orientation of the measured force and torque relative to the world coordinate system, for example if
you want the coordinate axes orientation for the measurement to have the same orientation like the
coordinate system of a work piece.
public final SensorForLbrTemperatures getSensorForTemperatures()
public final LbrTemperatureSensorData getTemperatures()
public ISafetyState getSafetyState()
getSafetyState in class MovableDevicepublic double[] getTorqueSensorLimits()
getTorqueSensorLimits in interface ITorqueSensitiveRobotpublic boolean checkTorqueSensor(com.kuka.roboticsAPI.deviceModel.JointEnum joint)
checkTorqueSensor in interface ITorqueSensitiveRobotjoint - The index of the axis.
True if the torque sensor works properly, false otherwise.protected abstract void initGmsSensorLimits()
public abstract void setESMState(String name)
If 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.
name - The name of the ESM state. Must be a numeric string between '1' and '10'.
IllegalArgumentException - If the given parameter is not a numeric string between '1' and '10'.public abstract void setSafetyWorkpiece(PhysicalObject wp)
Accepted value ranges after rounding:
Please note that this mechanism will be changed in future releases.
wp - The physical object containing the load data.
IllegalArgumentException - If the load data values are out of the above specified limits.
IllegalStateException - In case the SSR fails.public final double getAlphaAngle(JointPosition joints)
joints - the joint position
public JointPosition getAlphaInverseKinematicFromReference(AbstractFrame frame,
JointPosition correspondingJoints,
double alphaAngle)
frame - The frame containing the robot pose for the alpha inverse kinematicscorrespondingJoints - The joint position reference to calculate the inverse kinematics. The result of the IK is the nearest
solution to this joint position.alphaAngle - The alpha angle redundancy parameter for the alpha inverse kinematics
public JointPosition getInverseKinematicFromFrameAndRedundancy(AbstractFrame frame)
getInverseKinematicFromFrameAndRedundancy in class Robotframe - The frame for which the inverse kinematics is requested.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||