Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix demo fkine.m and update mdl_puma560 documentation #124

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions demos/fkine.m
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@
xlabel('Time (s)');
ylabel('X (m)')
subplot(3,1,2)
plot(t, p(:,1))
plot(t, p(:,2))
xlabel('Time (s)');
ylabel('Y (m)')
subplot(3,1,3)
plot(t, p(:,1))
plot(t, p(:,3))
xlabel('Time (s)');
ylabel('Z (m)')

Expand Down
4 changes: 2 additions & 2 deletions models/mdl_puma560.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
% Also define the workspace vectors:
% qz zero joint angle configuration
% qr vertical 'READY' configuration
% qstretch arm is stretched out in the X direction
% qs arm is stretched out in the X direction
% qn arm is at a nominal non-singular configuration
%
% Notes::
Expand Down Expand Up @@ -146,7 +146,7 @@
qz = [0 0 0 0 0 0]; % zero angles, L shaped pose
qr = [0 pi/2 -pi/2 0 0 0]; % ready pose, arm up
qs = [0 0 -pi/2 0 0 0];
qn=[0 pi/4 pi 0 pi/4 0];
qn = [0 pi/4 pi 0 pi/4 0];

p560 = SerialLink(L, 'name', 'Puma 560', ...
'configs', {'qz', qz, 'qr', qr, 'qs', qs, 'qn', qn}, ...
Expand Down