Skip to content

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

@Elio-in-summer

Description

@Elio-in-summer

/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,流程上似乎没有问题?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions