4 MA! LAB R2018tf - pielenie uie
L^J ^ LftjFhd^bB v>
[U, Ciwpaie » c^GoTo"
New Ope-i Savc
• » » £a)Pliit * *
_£M_
MV '5ATE
hsert ^ /c ^ -Com-ent jj
nden< U *:i
Ecr
PBUSC
Run nnd Advan«
Run Seclcn Advanee
Run orni T!-e
ty.ci ► Oenktnp ► KST-Kuka-Suruitc ToelboK master ► Matlab.etant
KSTci33 3 Tjtor.al 0'ec1Ser/cCafle3lar m 0 KSTdas$_Tuloi :il_<Sr«cł$«ivi>Caitcsiani m 0 KSTcłass.T Jtor 3l_c'ecIser/f.bmeSsmBs.n 0 KSTcias 3 Tjtor 3l o/eclser/oFas; m 0 K'STdn:;s_Tiitor'.'il_63_:;omi!_:;!.iirm
KSTcIats Tutorial direttSeryo.m (Script) |
A |
Workspsce |
♦ + 23 ► C: ► Uicn ►
Current Tolder L2 Name *■
_I ycu-t.! . U9.III
0 Si:IF<lcfnaJTor:|uc/<Lloin! m 0 Ge: ner 3Matro<C' m 0 csUoir;3Cx1emaTorque3.m 0 geUoint$Measure<JToiqucs m 0 53Uoir:5Po$.m 0 csO.(e£3ufe<JTofGjeAL:3in1.rn 0 ge!Pin3Slale m 0 gstPniBlale m 0 cetP.n10Dl£:e.m 0 gelPin 1 3Sla!e m 0 getPmlCSIate.m
fi KST.rn
0 KSTdass_Tulofial_cifcłes m KSlc 0 KSTC
SKSI dąs »_ I utor 3i_g ene -alHorpus e.m KST0333 Tjtor 3i cstters.m
Name |
V«lue |
3 ars |
1 A |
daral |
1 |
da«9? |
0 0360 |
dc |
1636.603C-0.0303] |
Cer |
1x6 ce" |
UJ dide_Słartirvg_PoiM |
1x6ee>! |
. oe *3; |
100 |
ri de:av |
0 |
d delta? |
0 |
Din |
1x6 cel! |
0112 |
1x6 cdi |
d H:,g |
1 |
ej iiwa |
?*JKsr |
3>o |
•172.311.147- |
d* |
11 Ul |
iU pir; |
1x7 u'- |
^1PC3 |
bffceS |
111 Pas |
1x3 cel! |
Br |
75 |
3 rewel |
01500 |
d Ttfjtoogc |
clcublr v |
Buiy
S Cditor - |
C:\U5ef5\user\De5lctop\KST-Kuka-Sunrise-To3lbox-mastef\Matlab client sKSTclass Tutorial direfl | |
KSTcIass Tutorial directS«rvo m + | ||
i |
%% Example of using KST class for interfacing with Y | |
2 |
% This example script is used to show how to utilise | |
3 |
% the soft real time control of the KUKA iiwa 7 R 800 for | |
4 c |
% Moving first joint of the robot, using a sinusoidal functior | |
6 |
% First start the sen/er on the KUKA iiwa controller | |
7 Ci |
% Then run this script using Matlab | |
O 5 |
% Important: Be careful when runnning the script, be surę | |
10 |
% are around the robot | |
11 | ||
12 |
% This example works with Sunrise application version K£ | |
13 |
% Copyright Mohammad SAFEEA, 8th-August-2018 | |
14 | ||
15 | ||
16 |
close all;clear;clc; | |
17 " |
warning('off) | |
18 |
%% Create the robot object | |
15 ' |
ip=172.31.1.147'; % The IP of the controller | |
20 " |
arg1=KST.LBR7R800; % choose the robot iiwa7R800 or | |
21 - |
arg2=KST.Medien_Flansch_elektrisch; % choose the type | |
22 |
Tef_flange=eye(4); % transofrm matrix of EEF with respe | |
23 - |
ir.va=KST(ip.arg1,arg2,Tef_flange); % create |
the object |
24 | ||
25 |
%% Start a connection with the server | |
26 ~ |
flag=iiwa.net_establishConnection(); | |
27 - |
if flag==0 | |
28 - |
return; | |
25 " |
end | |
30 - |
pause(1); | |
31 - |
disp('Moving first joint of the robot using a sinusoidal funct | |
32 |
H3
Ssirch Doccmertation