by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 4.2, Creation date: 2018-07-20, Last change: 2025-09-14
See Also: SGof2T
, SGTset
, SGTofDenavitHartenberg
, SGTchain
[SG,Ti,SGN,Tii,E]=SGTofDHset(DHS,[r,g])
DHS: | Denavit-Hartenberg Parameter [nx3] [d a wx] or [d a xw xy] | |
r: | optional diameter for tube | |
g: | optional offset for phiz |
SG: | Cell list of Solid Geoemtries | |
Ti: | Cell ist of Symbolic Equation | |
SGN: | Compiled Solid using the kinematic chain | |
Tii: | Cell list of complete symbolic equations | |
E: | Final movement matrix of the TCP |
SGTofDHset([10 0 pi/2])
SGTofDHset([20 0 pi/2;0 20 pi;10 0 pi/2; 3 0 pi/4; 3 0 pi/4],1,pi/10); SG=ans
SGTofDHset([20,0,pi/2 0;0 20 pi*0.99 0;0 20 0 pi/2]) % including roation around y
SGTofDHset([20 0 pi/2 0; 0,20,pi 0;0 10 0 pi/2;10 0 pi/4 0; 10 0 -pi/4 0;10 0 0 0])
SGTofDHset([50 0 0 0; 100,0,pi/2 0;0 100 pi*0.99 0;0 100 0 pi/2],[PLcircle(10);nan nan; PLsquare(12)]); SGA=ans;
SGTofDHset([50 0 0 0; 100,0,pi/2 0;0 100 pi*0.99 0;0 100 0 pi/2],[PLsquare(20);nan nan; PLcircle(7)]); SGA=ans;