Skip to content

Commit 17efa4e

Browse files
committed
Test performance on symbolics
1 parent b300638 commit 17efa4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unit_test/TransformationsTest.m

+3
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,9 @@ function trchain_test(tc)
748748

749749
syms q1 q2 q3 a1 a2 a3
750750
tc.verifyEqual( trchain('Rx(q1) Tx(a1) Ry(q2) Ty(a2) Rz(q3) Tz(a3)', [q1 q2 q3]), trotx(q1)*transl(a1,0,0)*troty(q2)*transl(0,a2,0)*trotz(q3)*transl(0,0,a3) );
751+
752+
syms q1(t) q2(t) q3(t) t a1 a2 a3
753+
tc.verifyEqual( trchain('Rx(q1) Tx(a1) Ry(q2) Ty(a2) Rz(q3) Tz(a3)', [q1 q2 q3]), formula(trotx(q1)*transl(a1,0,0)*troty(q2)*transl(0,a2,0)*trotz(q3)*transl(0,0,a3)) );
751754
end
752755

753756

0 commit comments

Comments
 (0)