|
This example computes the inverse kinematics for the offset spherical regional structure via a geometric solution.
clear all
d2 = 18; % cm
px = 18; % cm py = 50; % cm pz = 0; % cm
theta1R = atan2d(py, px) + atan2d(d2, sqrt(px*px + py*py - d2*d2)) % deg theta2 = -atan2d(sqrt(px*px + py*py - d2*d2), pz) % deg d3 = sqrt(px*px + py*py + pz*pz - d2*d2) % cm
theta1R = 90 theta2 = -90 d3 = 50
This MATLAB example illustrates a computation from the textbook Fundamentals of Robot Mechanics by G. L. Long, Quintus-Hyperion Press, 2015. See http://www.RobotMechanicsControl.info for additional relevant files.