- 博客(8)
- 收藏
- 关注
原创 apollo中的单例模式
apollo的单例模式的宏定义位于cyber/common/macros.h中其中,(1)Instance()函数用于改类被使用时进行构造(2)call_once的作用是保证在多线程中,单例的构造函数只被调用一次。
2023-06-13 09:29:05 85 1
原创 贝塞尔曲线
贝塞尔曲线具有保凸性。Bti∑ninpi1−tn−1ti0n1−tnt0p01n1−tn−1t1p12n1−tn−2t2p2nn1−t0tnpn其中,knk!n−kn!。
2023-03-20 20:22:17 3417 1
原创 massif——程序堆内存分析工具
1.安装教程 sudo apt-get install massif-visualizersudo apt-get install valgrind 2.使用方法 2.1 在roslaunch文件中增加launch-prefix,例如: <node name="cartographer_node" pkg="cartographer_ros" type="cartographer_node" launch-prefix="valgrind ...
2021-08-27 15:46:17 957
原创 debug:g2o cmake时报错“Qt5 not found. Install it and set Qt5_DIR accordingly
**debug:g2o cmake时报错“Qt5 not found. Install it and set Qt5_DIR accordingly”**完整报错:@ubuntu:~/WorkSpace/g2o/build$ cmake …/– Compiling on Unix– Found CHOLMOD and its dependencies– Compiling with OpenGL support– Could NOT find Qt4 (missing: QT_CORE_I
2020-10-14 17:23:56 530
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人