摘要: =delete 1. 禁止使用编译器默认生成的函数 class LeafFromTree{ public: LeafFromTree() = default; ~LeafFromTree() = default; LeafFromTree( const LeafFromTree& ) = delet 阅读全文
posted @ 2021-02-24 11:37 玥茹苟 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 0、整体架构 1、cartographer_ros 我们先看cartographer_ros 是怎样接入 cartographer的? cartographer_ros 在node_main中调用了cartographer::mapping::CreateMapBuilder(),Node对象构建; 阅读全文
posted @ 2021-02-24 11:04 玥茹苟 阅读(113) 评论(0) 推荐(0) 编辑
摘要: map与unordered_map 如果要在c++ 中使用这map 和unordered_map 两个函数,需要分别引入下面的两个头文件 #include<map> #include<unordered_map> unordered_map 容器,直译过来就是"无序 map 容器"的意思。所谓“无序 阅读全文
posted @ 2021-02-24 10:36 玥茹苟 阅读(195) 评论(0) 推荐(0) 编辑