>> startup_rvc
- Robotics Toolbox for Matlab (release 9.4)
>> L1=216; L2=260; L3=152; L4=145.5;
>>
>> L(1)=Link([0 L1 0 0]);
>> L(2)=Link([0 L2 0 pi/2]);
>> L(3)=Link([pi/2 L3 0 0]);
>> L(4)=Link([pi/2 L4 0 0]);
>>
>> KukaKR3=SerialLink (L);
>>
>> KukaKR3
KukaKR3 =
robot (4 axis, RRRR, stdDH)
+---+-----------+-----------+-----------+-----------+
| j | theta | d | a | alpha |
+---+-----------+-----------+-----------+-----------+
| 1| q1| 216| 0| 0|
| 2| q2| 260| 0| 1.571|
| 3| q3| 152| 0| 0|
| 4| q4| 145.5| 0| 0|
+---+-----------+-----------+-----------+-----------+
grav = 0 base = 1 0 0 0 tool = 1 0 0 0
0 0 1 0 0 0 1 0 0
9.81 0 0 1 0 0 0 1 0
0 0 0 1 0 0 0 1
>> KukaKR3.plot ([0 0 0 0])
Warning: The DrawMode property will be removed in a future release. Use the SortMethod property
instead.
> In SerialLink/plot>create_new_robot (line 340)
In SerialLink/plot (line 184)
Warning: The EraseMode property is no longer supported and will error in a future release.
> In SerialLink/plot>create_new_robot (line 367)
In SerialLink/plot (line 184)
>> KukaKR3.plot ([0 0 pi/2 0])
Warning: The DrawMode property will be removed in a future release. Use the SortMethod property
instead.
> In SerialLink/plot>create_new_robot (line 340)
In SerialLink/plot (line 184)
Warning: The EraseMode property is no longer supported and will error in a future release.
> In SerialLink/plot>create_new_robot (line 367)
In SerialLink/plot (line 184)
>> KukaKR3.plot ([0 pi/2 0 0])
>> KukaKR3.plot ([0 pi/3 0 0])
Warning: The DrawMode property will be removed in a future release. Use the SortMethod property
instead.
> In SerialLink/plot>create_new_robot (line 340)
In SerialLink/plot (line 184)
Warning: The EraseMode property is no longer supported and will error in a future release.
> In SerialLink/plot>create_new_robot (line 367)
In SerialLink/plot (line 184)
>> KukaKR3.plot ([0 pi/4 0 0])
>> KukaKR3.plot ([0 0 0 pi/2])
>> KukaKR3.plot ([0 pi/3 0 pi/2])
>> KukaKR3.plot ([0 0 0 0])
Warning: The DrawMode property will be removed in a future release. Use the SortMethod property
instead.
> In SerialLink/plot>create_new_robot (line 340)
In SerialLink/plot (line 184)
Warning: The EraseMode property is no longer supported and will error in a future release.
> In SerialLink/plot>create_new_robot (line 367)
In SerialLink/plot (line 184)
>> KukaKR3.fkine ([0 0 0 0])
ans =
1.0000 0 0 0
0 0.0000 -1.0000 -297.5000
0 1.0000 0.0000 476.0000
0 0 0 1.0000
>> %inverse kinematics
>>
>> T= [1 0 0 0;
0 0 -1 -297.5;
0 1 0 476;
0 0 0 1];
>> KukaKR3.ikine(T)
I try run for inverse kinematic. but there got 'Error using SerialLink/ikine (line 114)
For a manipulator with fewer than 6DOF a mask matrix argument must be specified'