Tried to run demo_skel2RR.m file after copying the .mat generated in the first step and I got the following error
>> demo_skel2RR
1
Error using svd
Input to SVD must not contain NaN or Inf.
Error in myscript_5_calculate_RR_W (line 32)
[U, S, V] = svd(S0);
Error in skel2RR (line 20)
[ R, ~, ~ ] = myscript_5_calculate_RR_W( hip_points_wangchuyu2, hip_points_scape, weights );
Error in demo_skel2RR (line 40)
[ RR, R ] = skel2RR( skel, skel_scape );
I printed the values, and found it has a nan, what could be the reason, how to fix it?
skel =
1.0e+06 *
0.0000 0 0
0.0000 0.0000 0.0000
0 0.0000 0.0000
0.0000 0.0000 0.0000
0.0000 0.0000 NaN
0.0000 0.0000 0.0000
0.0000 0.0000 0.0000
0.0000 0.0000 0.0000
-0.2052 0.2239 -0.1732
0.9907 0.1787 -0.1732
1.0224 0.0280 -0.1732
1.6550 -0.1944 0.3118
0.9785 0.1787 -0.1732
1.4086 -0.5319 -0.6151
1.5216 -0.1191 -0.6151
Tried to run demo_skel2RR.m file after copying the .mat generated in the first step and I got the following error
I printed the values, and found it has a nan, what could be the reason, how to fix it?