ROBOTIC GUI TOOL PROBLEM

1 次查看(过去 30 天)
ahmad haggag
ahmad haggag 2020-5-17
I watched a video regarding creating the GUI , actually, I managed to get the forward part to run but the inverse it keeps giving these error so I was wondering if anyone could help me with it, I attached the m. fig files.
the 2 videos that help me creating the gui
thanks in advance
the error:
Warning: ikine: rejected-step limit 100 exceeded (pose 1), final err 4.11458
> In SerialLink/ikine (line 244)
In guitst>btn_Inverse_Callback (line 235)
In gui_mainfcn (line 95)
In guitst (line 42)
In matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)guitst('btn_Inverse_Callback',hObject,eventdata,guidata(hObject))
Warning: failed to converge: try a different initial value of joint coordinates
> In SerialLink/ikine (line 273)
In guitst>btn_Inverse_Callback (line 235)
In gui_mainfcn (line 95)
In guitst (line 42)
In matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)guitst('btn_Inverse_Callback',hObject,eventdata,guidata(hObject))
Index exceeds array bounds.
Error in guitst>btn_Inverse_Callback (line 236)
handles.Theta_1.String =num2str(floor(J(1)));
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in guitst (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)guitst('btn_Inverse_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Robotics 的更多信息

产品


版本

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by