hku-mars/IKFoM

我在配置sample1中的FAST-LIO时编译产生如下报错,请问原因是什么?

Opened this issue · 0 comments

/home/ROS_WS/M_EKF_ws/src/FAST_LIO/include/IKFoM_toolkit/esekfom/esekfom.hpp: In member function ‘void esekfom::esekf<state, process_noise_dof, input, measurement, measurement_noise_dof>::update_iterated_dyn_share_modified_extrinsic(double)’: /home/ROS_WS/M_EKF_ws/src/FAST_LIO/include/IKFoM_toolkit/esekfom/esekfom.hpp:2695:20: error: there are no arguments to ‘K_’ that depend on a template parameter, so a declaration of ‘K_’ must be available [-fpermissive] 2695 | sen_p(j) = K_(idx+j,i); | ^~ /home/ROS_WS/M_EKF_ws/src/FAST_LIO/include/IKFoM_toolkit/esekfom/esekfom.hpp:2695:20: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
我应该是按照教程先做了FAST-LIO的1. Prerequisites然后将2. build替换成了IKFoM的代码再catkin_make,流程上似乎没有问题?