3 import com.kuka.roboticsAPI.applicationModel.RoboticsAPIApplication;
15 private RoboticsAPIApplication _app;
16 private String _controllingLaptopIPAddress;
17 private String _controllingLaptopZMQPort;
18 private String _controllingLaptop_ROS_MASTER_URI_Port;
19 private String _RobotIPAddress;
20 private String _FRI_KONI_RobotIPAddress;
21 private String _FRI_KONI_LaptopIPAddress;
22 private String _ROS_MASTER_URI;
23 private String _ZMQ_MASTER_URI;
25 private double _jointVelRel;
26 private double _jointAccelRel;
29 private double _jointImpedenceDamping;
30 private double _jointImpedenceStiffness;
33 private double _cartesianImpedenceStiffnessX;
34 private double _cartesianImpedenceStiffnessY;
35 private double _cartesianImpedenceStiffnessZ;
36 private double _cartesianImpedenceStiffnessA;
37 private double _cartesianImpedenceStiffnessB;
38 private double _cartesianImpedenceStiffnessC;
41 private double _cartesianImpedenceDampingX;
42 private double _cartesianImpedenceDampingY;
43 private double _cartesianImpedenceDampingZ;
44 private double _cartesianImpedenceDampingA;
45 private double _cartesianImpedenceDampingB;
46 private double _cartesianImpedenceDampingC;
49 private double eeWeight;
55 return _ZMQ_MASTER_URI;
74 private void update_ZMQ_MASTER_URI() {
75 this._ZMQ_MASTER_URI =
"tcp://" + _controllingLaptopIPAddress +
":" + _controllingLaptopZMQPort;
80 return _ROS_MASTER_URI;
83 private void update_ROS_MASTER_URI() {
84 this._ROS_MASTER_URI =
"http://" + _controllingLaptopIPAddress +
":" + _controllingLaptop_ROS_MASTER_URI_Port;
88 return _controllingLaptopIPAddress;
92 this._controllingLaptopIPAddress = _controllingLaptopIPAddress;
93 update_ZMQ_MASTER_URI();
94 update_ROS_MASTER_URI();
98 return _controllingLaptopZMQPort;
102 this._controllingLaptopZMQPort = _controllingLaptopJAVAPort;
103 update_ZMQ_MASTER_URI();
107 return _controllingLaptop_ROS_MASTER_URI_Port;
111 this._controllingLaptop_ROS_MASTER_URI_Port = _controllingLaptopROSPort;
112 update_ROS_MASTER_URI();
116 return _RobotIPAddress;
120 this._RobotIPAddress = _RobotIPAddress;
124 return _FRI_KONI_RobotIPAddress;
128 this._FRI_KONI_RobotIPAddress = _FRI_KONI_RobotIPAddress;
132 return _FRI_KONI_LaptopIPAddress;
136 this._FRI_KONI_LaptopIPAddress = _FRI_KONI_LaptopIPAddress;
141 return _jointImpedenceDamping;
145 return _jointImpedenceStiffness;
149 return _cartesianImpedenceStiffnessX;
153 return _cartesianImpedenceStiffnessY;
157 return _cartesianImpedenceStiffnessZ;
161 return _cartesianImpedenceStiffnessA;
165 return _cartesianImpedenceStiffnessB;
169 return _cartesianImpedenceStiffnessC;
175 return _cartesianImpedenceDampingX;
179 return _cartesianImpedenceDampingY;
183 return _cartesianImpedenceDampingZ;
187 return _cartesianImpedenceDampingA;
191 return _cartesianImpedenceDampingB;
195 return _cartesianImpedenceDampingC;
203 _controllingLaptopIPAddress = _app.getApplicationData().getProcessData(
"Laptop_IP").getValue();
204 _controllingLaptopZMQPort = _app.getApplicationData().getProcessData(
"Laptop_Port").getValue();
205 _controllingLaptop_ROS_MASTER_URI_Port = _app.getApplicationData().getProcessData(
"Laptop_ROS_MASTER_URI_Port").getValue();
211 _RobotIPAddress = _app.getApplicationData().getProcessData(
"Robot_IP").getValue();
216 _FRI_KONI_LaptopIPAddress = _app.getApplicationData().getProcessData(
"Laptop_KONI_FRI_IP").getValue();
222 _FRI_KONI_RobotIPAddress = _app.getApplicationData().getProcessData(
"Robot_KONI_FRI_IP").getValue();
225 _jointVelRel = _app.getApplicationData().getProcessData(
"JointVelRel").getValue();
226 _jointAccelRel = _app.getApplicationData().getProcessData(
"JointAccelRel").getValue();
228 _jointImpedenceDamping = _app.getApplicationData().getProcessData(
"JointImpedenceDamping").getValue();
229 _jointImpedenceStiffness = _app.getApplicationData().getProcessData(
"JointImpedenceStiffness").getValue();
232 _cartesianImpedenceStiffnessX = _app.getApplicationData().getProcessData(
"CartesianImpedenceStiffnessX").getValue();
233 _cartesianImpedenceStiffnessY = _app.getApplicationData().getProcessData(
"CartesianImpedenceStiffnessY").getValue();
234 _cartesianImpedenceStiffnessZ = _app.getApplicationData().getProcessData(
"CartesianImpedenceStiffnessZ").getValue();
235 _cartesianImpedenceStiffnessA = _app.getApplicationData().getProcessData(
"CartesianImpedenceStiffnessA").getValue();
236 _cartesianImpedenceStiffnessB = _app.getApplicationData().getProcessData(
"CartesianImpedenceStiffnessB").getValue();
237 _cartesianImpedenceStiffnessC = _app.getApplicationData().getProcessData(
"CartesianImpedenceStiffnessC").getValue();
239 _cartesianImpedenceDampingX = _app.getApplicationData().getProcessData(
"CartesianImpedenceDampingX").getValue();
240 _cartesianImpedenceDampingY = _app.getApplicationData().getProcessData(
"CartesianImpedenceDampingY").getValue();
241 _cartesianImpedenceDampingZ = _app.getApplicationData().getProcessData(
"CartesianImpedenceDampingZ").getValue();
242 _cartesianImpedenceDampingA = _app.getApplicationData().getProcessData(
"CartesianImpedenceDampingA").getValue();
243 _cartesianImpedenceDampingB = _app.getApplicationData().getProcessData(
"CartesianImpedenceDampingB").getValue();
244 _cartesianImpedenceDampingC = _app.getApplicationData().getProcessData(
"CartesianImpedenceDampingC").getValue();
246 eeWeight = _app.getApplicationData().getProcessData(
"eeWeight").getValue();
247 eeX = _app.getApplicationData().getProcessData(
"eeX").getValue();
248 eeY = _app.getApplicationData().getProcessData(
"eeY").getValue();
249 eeZ = _app.getApplicationData().getProcessData(
"eeZ").getValue();
251 update_ROS_MASTER_URI();
252 update_ZMQ_MASTER_URI();
266 this._jointVelRel = _jointVelRel;
273 return _jointAccelRel;
280 this._jointAccelRel = _jointAccelRel;
double get_CartesianImpedenceStiffnessA()
double get_CartesianImpedenceDampingX()
double get_JointImpedenceStiffness()
String get_ZMQ_MASTER_URI()
void set_jointVelRel(double _jointVelRel)
String get_RobotIPAddress()
String get_controllingLaptopIPAddress()
double get_CartesianImpedenceStiffnessY()
void set_jointAccelRel(double _jointAccelRel)
String get_FRI_KONI_RobotIPAddress()
String get_ROS_MASTER_URI()
double get_CartesianImpedenceDampingA()
double get_CartesianImpedenceStiffnessC()
void set_FRI_KONI_LaptopIPAddress(String _FRI_KONI_LaptopIPAddress)
void set_RobotIPAddress(String _RobotIPAddress)
double get_CartesianImpedenceDampingC()
String get_controllingLaptopJAVAPort()
double get_CartesianImpedenceDampingY()
double getEndEffectorWeight()
double get_CartesianImpedenceStiffnessX()
String get_controllingLaptopROSPort()
String get_FRI_KONI_LaptopIPAddress()
double get_jointAccelRel()
double get_CartesianImpedenceDampingB()
void set_controllingLaptopIPAddress(String _controllingLaptopIPAddress)
void set_controllingLaptopROSPort(String _controllingLaptopROSPort)
double get_CartesianImpedenceStiffnessB()
double get_JointImpedenceDamping()
ProcessDataManager(final RoboticsAPIApplication app)
double get_CartesianImpedenceDampingZ()
void set_FRI_KONI_RobotIPAddress(String _FRI_KONI_RobotIPAddress)
void set_controllingLaptopJAVAPort(String _controllingLaptopJAVAPort)
double get_CartesianImpedenceStiffnessZ()