Skip to content

Commit 6edc67c

Browse files
author
Ross Hatton
committed
Improved handling of symbolic variables in kinematics and N_link_chain code
1 parent 0fd5098 commit 6edc67c

File tree

1 file changed

+4
-0
lines changed
  • ProgramFiles/Utilities/kinematics

1 file changed

+4
-0
lines changed

ProgramFiles/Utilities/kinematics/Adj.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@
88

99
Adjoint_action = TgRginv(g)*TeLg(g);%invTgRginv\TeLg;
1010

11+
if isa(Adjoint_action,'sym')
12+
Adjoint_action = simplify(Adjoint_action,'steps',50);
13+
end
14+
1115
end

0 commit comments

Comments
 (0)