-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject_Main.m
More file actions
24 lines (20 loc) · 832 Bytes
/
Project_Main.m
File metadata and controls
24 lines (20 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
fileID = fopen('input.txt','r');
formatSpec = '%f';
input = fscanf(fileID,formatSpec);
disp('\n');
disp('program paused , press anykey to continue to Calculating InverseKinematics');
pause;
disp('\n');
disp('The values of q1,q2,q3 are listed below');
InverseKinematic(input(10),input(11),input(12),input(13),input(14),input(15));
disp('\n');
disp('program paused , press anykey to continue to Calculating Max Torque');
pause;
disp('\n');
disp('The values of max Torque for each are listed below');
GetMaxTorque(input(16),input(17),input(18),input(19),input(20),input(21),input(22),input(23),input(24),[input(25) input(26) input(27)]')
disp('\n');
disp('program paused , press anykey to continue to Plotting');
pause;
disp('\n');
PlotWorkingSpace(input(1),input(2),input(3),input(4),input(5),input(6),input(7),input(8),input(9));