Syntax
[W,U,B1,B2,rs,PL,ss]=invkinplan2(l1,l2,[PL])
Input Parameter
l1 : | | length first link |
l2 : | | length second link |
PL : | | Point list (n x 2) or [r dx dy] or [r dx dy n] or |
Output Parameter
W : | | Angle Pair [n x 2] for solution 1 |
U : | | Angle Pair [n x 2] for solution 2 |
B1 : | | Endpoint of Arm 1 for solution 1 |
B2 : | | Endpoint of Arm 1 for solution 2 |
rs : | | real solutions index; true ~ solution exist |
PL : | | used Point list in case that PL was empty or a triple for a circle |
ss : | | Singularity Index rs&ss |
Examples
invkinplan2(25,20,[20 20; 25 25;27 27])
w=0:0.3:2*pi; w=w'; PL=30*[cos(w) sin(w)];
invkinplan2(20,11,PL)
w=0:0.3:2*pi; w=w'; PL=10*[cos(w) sin(w)]+[-30 +5];
invkinplan2(30,20,PL)
w=0:0.1:2*pi; w=w'; PL=10*[cos(w) sin(w)]+[-30 10]; invkinplan2(50,80,PL);
invkinplan2(50,80); % Check work space
invkinplan2(50,80,[10 -40 10]); % Check a fourbar linkage
Copyright 2018-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21