今天在使用 cartographer 的时候出现了如下警告:
WARN Could not compute submap fading: “base_link” passed to lookupTransform argument source_frame does not exist.
检查此时你是否打开了 rviz,更改rviz的配置文件或者直接在rviz中进行如下设置
将上面的 tracking_frame 设置为存在的某个 tf 变换树中的某个 frame,一般应该是你的 lua 文件中的 tracking_frame 即可,当然你也有可能是 base_footprint,道理一样的,更改即可