Professional Documents
Culture Documents
Robotics labsheet-1
Robotics labsheet-1
--------------------------------------------------------------------------------------------------------------------------
NAME: HIMAYA K.P. ROLL NO. : AM.EN.U4AIE22022
--------------------------------------------------------------------------------------------------------------------------
Question 1 :
Using Matlab, load commercially available robot models like the Universal
Robots™ UR10 cobot, Boston Dynamics™ Atlas humanoid, and KINOVA™ Gen 3
manipulator. Explore how to generate joint configurations and interact with
the robot models.
Atlas:
Code:
atlas = loadrobot("atlas");
show(atlas)
%generating joint configurations
for i = 1:9
subplot(3,3,i)
config = randomConfiguration(atlas);
show (atlas,config);
end
%Interacting with robot model
interactiveGUI = interactiveRigidBodyTree(atlas);
% Saving the joint configuration
interactiveGUIConfiguration = randomConfiguration(atlas);
addConfiguration(interactiveGUI);
disp(interactiveGUI.Storedconfiguration);
output:
b. UR10:
code:
ur10 = loadrobot("universalUR10");
show(ur10)
%generating joint configurations
for i = 1:9
subplot(3,3,i)
config = randomConfiguration(ur10);
show (ur10,config);
end
%Interacting with robot model
interactiveGUI = interactiveRigidBodyTree(ur10);
% Saving the joint configuration
interactiveGUIConfiguration = randomConfiguration(ur10);
addConfiguration(interactiveGUI);
disp(interactiveGUI.Storedconfiguration);
Output:
c. gen3
code:
gen3 = loadrobot("kinovaGen3","DataFormat","column");
disp(gen3)
show(gen3)
%generating joint configurations
for i = 1:9
subplot(3,3,i)
config = randomConfiguration(gen3);
show (gen3,config);
end
%Interacting with robot model
interactiveGUI = interactiveRigidBodyTree(gen3);
% Saving the joint configuration
interactiveGUIConfiguration = randomConfiguration(gen3);
addConfiguration(interactiveGUI);
disp(interactiveGUI.Storedconfiguration);
Output:
Question 2:
Explain with a tripleangle application in the Toolbox. Explain
roll,pitch, and yaw motions about the nominal attitude and
at singularities.
Answer:
In command window:
By default:
Parallel:
The angle of three sides may vary each time when you set it to
parallel
The plane is in parallel axis when Rx = 90.0 angle, Ry=-90.0 angle and
Rz = -18.0 angle