OK, Besides, How to solve the second norm of a matrix in LUA script? I only find the vector norm of this vector in file (matrix.lua).
Thanks.
How to optimize the control of manipulator
Re: How to optimize the control of manipulator
What is the second norm of a matrix?
Re: How to optimize the control of manipulator
oh. That is just the matirx norm. For example,the function norm in matlab.
Thanks.
Thanks.
Re: How to use the customed algorithm to calculate IK of manipulator
As my first problem of statement,
As the build-in cals.method,
How to use a customed algorithm embedded in the script of the scene to calculate the IK of the manipulator?
I want to replace the DLS cals.method with my control algorithm, how are the paramaters to set?
As the build-in cals.method,
Code: Select all
simIK.setIkGroupCalculation(ikEnv,ikGroup,simIK.method_damped_least_squares,1.1,10)
I want to replace the DLS cals.method with my control algorithm, how are the paramaters to set?
Re: How to optimize the control of manipulator
Matrix norm is a very ambiguous concept in mathematics.
According to the MATLAB documentation of
norm
:that is the largest singular value.2-Norm of Matrix
Calculate the 2-norm of a matrix, which is the largest singular value.
n = 4.7234Code: Select all
X = [2 0 1;-1 1 0;-3 3 0]; n = norm(X)
There is no SVD in matrix.lua, but you can find it in the simExtEigen plugin. Once you compiled and installed the simEigen plugin, you can do in CoppeliaSim:
Code: Select all
m=Matrix:fromtable{{2,0,1},{-1,1,0},{-3,3,0}}
singularValues=Matrix:fromtable(simEigen.svd(m:totable{}))