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

'tranimate' function cant work with matrix sequence. #103

Open
xiangwu opened this issue Oct 8, 2021 · 0 comments
Open

'tranimate' function cant work with matrix sequence. #103

xiangwu opened this issue Oct 8, 2021 · 0 comments

Comments

@xiangwu
Copy link

xiangwu commented Oct 8, 2021

The environment is Matlab2020a + RTB10.4
when ran the code below:

clear all;
clf;
view([30,45]);
frame = SE3();
trplot(frame, 'frame','base','color','r');
hold on;
r0 = eye(3,3);
r1 = rotx(30,'deg');
r2 = r1*roty(60,'deg');
w = ones(3,3,3);
w(:,:,1) = r0;
w(:,:,2) = r1;
w(:,:,3) = r2;
tranimate(w,'movie','1.gif');

always get the error:

Error while evaluating TimerFcn for timer 'timer-1'
Index in position 3 exceeds array bounds (must not exceed 3).

no matter the w is 333 or 334
I have looked up the ref manual but only found the massage that 'tranimate' support 33N or 44N, there is no example.
how can i solve this problem? Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant