petercorke / robotics-toolbox-matlab

Robotics Toolbox for MATLAB
GNU Lesser General Public License v2.1
1.29k stars 444 forks source link

Strange behaviour about ikine Block in simulink/roblocks.slx #34

Open wangfys opened 5 years ago

wangfys commented 5 years ago

I'm using Matlab R2018b, RTB10.3 I try to use simulink to visualize the movement. image The four blocks from left to right are mstraj, xyz2T, ikine and plot. Then an error occurs like this: image I'm sure the problem happens due to ikine block because I visualize the movement without simulink correctly. Then I look inside the ikine block, I find it looks like this: image I change it like this and everything works fine. (I haven't used Matlab before, I'm learning it just for a few days so I'm not sure whether this is a feature or a bug.) Is there any solutions that I don't need to change the rolocks.slx? image

petercorke commented 5 years ago
screen shot 2018-12-05 at 4 16 26 pm

perhaps an old version of RTB, the ikine mask has a field for the mask matrix which should have only 4 one values in it (out of 6).