c++
auteman_dan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
regex正则表达式
regex使用 #include <iostream> #include <regex> #include <fstream> #include <vector> #include <string> #include <Eigen/Dense> #include <Eigen/Core> using namespace std; int main() { ifstream in("/home/xcy/CLion原创 2021-09-30 15:14:07 · 154 阅读 · 0 评论 -
Cartographer位姿估计器
Cartographer位姿估计器 pose_extrapolator重要变量 姿态预测相关:在AddPose中更新 imu_tracker_: 只在添加位姿时更新,用于保存添加校准位姿时的姿态 odometry_imu_tracker_: 在添加位姿时更新,用于根据里程计数据计算线速度 extrapolation_imu_tracker_: 只在添加位姿时更新,用于更新时的姿态预测 通过里程计计算线速度和角速度: linear_velocity_from_odometry_: 只在添加里程计数据时更原创 2021-09-05 17:46:32 · 737 阅读 · 0 评论 -
Cartographer_ros
Cartographer_ros的数据处理与流向 cartographer数据类型 struct Subscriber { ::ros::Subscriber subscriber; // ::ros::Subscriber::getTopic() does not necessarily return the same // std::string // it was given in its constructor. Since we rely on the topic原创 2021-09-04 15:50:42 · 340 阅读 · 0 评论 -
数组类型与函数类型
数组类型与函数类型数组类型、函数类型数组指针、函数指针 数组类型、函数类型 我们声明一个数组,这里数组类型为int[3] int main() { int a[3]; } 假如我们有一个函数fun() int fun(int val) { return val + 1; } 那么这个函数的类型应该是int(int)。 数组的类型可以用来声明或者定义一个数组,比如以下代码可以通过编译。 #include <iostream> using k = int[3]; k原创 2021-07-17 17:08:46 · 442 阅读 · 1 评论 -
Cartographer_ros(1)
Cartographer_ros(1) 入口node_main.cc node_main.cc主要实现参数文件读取和程序启动功能。 gflags 首先,使用谷歌的gflags命令行参数解析工具,实现将命令行输入参数读取到程序内部的功能。 DEFINE_bool(collect_metrics, false, "Activates the collection of runtime metrics. If activated, the " "metrics ca原创 2021-07-10 20:08:14 · 246 阅读 · 0 评论 -
ubuntu下SFML小游戏编译报错
SFML CMakeListsSFML库的安装编译报错 SFML库的安装 sudo apt-get sudo apt-get install libsfml-dev ubuntu会将库文件安装到/usr/include目录下 编译报错 CMakeFiles/04_Snake.dir/main.cpp.o:在函数‘main’中: main.cpp:42:对‘sf::String::String(char const*, std::locale const&)’未定义的引用 main.cpp:42:原创 2021-07-09 16:35:56 · 727 阅读 · 1 评论
分享