Problem with with mstraj function in Peter Corke's Robotic Toolbox
21 ビュー (過去 30 日間)
古いコメントを表示
Hi all, I've been trying to do trajectory planning with a 3 DOF robot arm, RRR, using the mstraj function in Peter Corke's Robotic Toolbox to calculate a trajectory between two points with one point in between. So far it has worked wonderfully for certain values for the time taken from one to another, however with values below 4 the coordinates generated cause the robot arm to jump from one point and back again. I've just started using MATLAB for about a month ago so I may not be aware of certain mistakes, so I hope that you can help diagnose and determine whether it's a bug or not. The full code is attached below.
Thanks in advance!
traj1 = mstraj(via1, [], [4 4], q1, 0.1, 3); %the value [4 4] for time taken work fine
traj2 = mstraj(via2, [], [4 4], q3, 0.1, 3);
traj1 = mstraj(via1, [], [3 3], q1, 0.1, 3); %the value [3 3] however gives coordinates which cause the robot arm to jump back from...
traj2 = mstraj(via2, [], [3 3], q3, 0.1, 3); % point to point
1 件のコメント
Dominika Krason
2022 年 2 月 8 日
Hi, do you by any chance have mtraj function somewhere or know where to download it? Ive been trying to use Peter Corke's pure pursuit simulink model but it seems to be missing even tho I have downloaded full toolbox. :/
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Biological and Health Sciences についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!