3 import java.lang.Runnable;
     4 import java.nio.ByteBuffer;
     8 import com.kuka.connectivity.fastRobotInterface.FRIChannelInformation;
     9 import com.kuka.connectivity.fastRobotInterface.FRIConfiguration;
    10 import com.kuka.connectivity.fastRobotInterface.FRISession;
    11 import com.kuka.connectivity.userInterface.smartServo.ServoMotionUtilities;
    12 import com.kuka.roboticsAPI.deviceModel.LBR;
    13 import com.kuka.roboticsAPI.geometricModel.PhysicalObject;
    14 import com.kuka.roboticsAPI.geometricModel.Tool;
    19     private Tool _flangeAttachment;
    20     private FRIConfiguration _FRIConfiguration = null;
    30         return _flangeAttachment;
    34         this._flangeAttachment = _flangeAttachment;
    38         return _FRIConfiguration;
    42         this._FRIConfiguration = _FRIConfiguration;
    50         this._FRISession = _FRISession;
    53     private FRISession _FRISession = null;
    57         _flangeAttachment = flangeAttachment;
    66         if(link == null) 
return null;
    74         double[] translationOfTool =
    75         { toolpos.
x(), toolpos.y(), toolpos.z() };
    76         double[] centerOfMassInMillimeter =
    77         { comrot.x(), comrot.y(), comrot.z() };
    79         return ServoMotionUtilities.createTool(_lbr,
    80                 link.name(), translationOfTool,
    81                 link.inertia().mass(),
    82                 centerOfMassInMillimeter);
    92         if(friConfigBuf == null) 
return true;
    94         FRIConfiguration _FRIConfiguration = FRIConfiguration.createRemoteConfiguration(_lbr, controllingLaptopIPAddress);
    96         if(friConfigBuf !=null && friConfigBuf.sendPeriodMillisec() >0){
    97             _FRIConfiguration.setSendPeriodMilliSec(friConfigBuf.sendPeriodMillisec());
    98             _FRIConfiguration.setReceiveMultiplier(friConfigBuf.setReceiveMultiplier());
   101         _FRISession = 
new FRISession(_FRIConfiguration);
 void set_FRIConfiguration(FRIConfiguration _FRIConfiguration)
 
void set_flangeAttachment(Tool _flangeAttachment)
 
Tool get_flangeAttachment()
 
PhysicalObject linkObjectToPhysicalObject(grl.flatbuffer.LinkObject link)
 
UpdateConfiguration(LBR lbr, Tool flangeAttachment)
 
void set_FRISession(FRISession _FRISession)
 
FRIConfiguration get_FRIConfiguration()
 
FRISession get_FRISession()
 
boolean FRIflatbufferToConfigAndSession(grl.flatbuffer.FRI friConfigBuf, String controllingLaptopIPAddress)