by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 5.0, Creation date: 2020-12-05, Last change: 2025-09-15
See Also: SGTsetofRL
[T,NSB,A]=SGTregisterframes(A,[B,NA,NB,usez])
A: | Solid A | |
B: | Solid B | |
NA: | Frame name wildcard or cell list of A; default is empty | |
NB: | Frame name wildcard or cell list of B; default is NA | |
usez: | if true, only set with same ez are options; default is true |
T: | Transformation Matrix | |
NSB: | Transformed Sold with removed Frames | |
A: | Solid with removed Frames |
load Yannick_robot.mat
SGTsetofRL(YKShoulder,'','Servo'); A=ans
SGTsetofRL(YKShoulderServo,'','Screw'); B=ans
SGTregisterframes(A,B,'Servo','Screw')
SGTregisterframes(A,B,{'Servo03','Servo05','Servo07'},{'Screw02','Screw07','Screw05'})