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

Add mdh option plot3d #110

Open
wants to merge 3 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
6 changes: 5 additions & 1 deletion @SerialLink/animate.m
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ function animate(robot, qq)
end
end
T = T * links(L).A(q(L));
set(h.link(L), 'Matrix', T.T);
if isempty(robot.faces)
set(h.link(L), 'Matrix', T.T);
else
set(h.link(L+1), 'Matrix', T.T);
end
vert = [vert; T.t'];
end
% update the transform for link N+1 (the tool)
Expand Down
4 changes: 1 addition & 3 deletions @SerialLink/plot3d.m
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@

function plot3d(robot, q, varargin)


assert( ~robot.mdh, 'RTB:plot3d:badmodel', '3D models are defined for standard, not modified, DH parameters');


opt = plot_options(robot, varargin);


Expand Down
1 change: 1 addition & 0 deletions AstarPO.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
% navigation algorithm for multiobjective optimization (MOO) - i.e.
% optimizes over several objectives/criteria.
%

% Methods::
% plan Compute the cost map given a goal and map
% path Compute a path to the goal
Expand Down