Page 1 of 1

simIK.getJacobian problem

Posted: 21 May 2022, 15:17
by huihui
I want to know the return value of the function is [Jv;Jw] or [Jw;Jv]?The right order of the return value?

Re: simIK.getJacobian problem

Posted: 21 May 2022, 17:15
by huihui
huihui wrote: 21 May 2022, 15:17 I want to know the return value of the function is [Jv;Jw] or [Jw;Jv]?The right order of the return value?
And how to make the return value as a matrix(the useful matrix Jacobian form)?

Re: simIK.getJacobian problem

Posted: 23 May 2022, 14:08
by fferri
you can use the CoppeliaSim's Matrix class in Lua:

Code: Select all

m=Matrix(2,3,{101,0,5,102,-3,0})
m:print()
--  101   0  5
--  102  -3  0
documentation is here: https://github.com/CoppeliaRobotics/lua ... /matrix.md