上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 43 下一页
摘要: ###atan2是求解反正切角度的函数,返回值为 (-Pi, Pi] #include <iostream> int main() { float y1 = -0.000000; float x1= -0.000000; float y2 = 0.000000; float x2 = -0.0000 阅读全文
posted @ 2020-08-04 16:04 采男孩的小蘑菇 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 博客转自:从Eigen向量化谈内存对齐 Eigen是一个非常常用的矩阵运算库,至少对于SLAM的研究者来说不可或缺。然而,有时候会由于Eigen向量化的内存对齐问题使程序运行异常。 事情起源:我的程序原本在NVIDIA TX2上跑的好好的,直到有一天,我打算把它放到服务器上,看看传说中的RTX 20 阅读全文
posted @ 2020-08-04 15:34 采男孩的小蘑菇 阅读(1776) 评论(0) 推荐(1) 编辑
摘要: Eigen 内由于断言失败而终止的打印信息类似如下 program: path/to/eigen/Eigen/src/Core/DenseStorage.h:44: Eigen::internal::matrix_array<T, Size, MatrixOptions, Align>::inter 阅读全文
posted @ 2020-08-04 15:15 采男孩的小蘑菇 阅读(1831) 评论(0) 推荐(0) 编辑
摘要: QT 版本问题 旧版本g2o/cmake_modules/FindQGLViewer.cmake中优先使用QT4 # Need to find both Qt{4,5} and QGLViewer if the QQL support is to be built FIND_PACKAGE(Qt4 阅读全文
posted @ 2020-08-03 20:08 采男孩的小蘑菇 阅读(550) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-08-02 20:35 采男孩的小蘑菇 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-08-02 20:28 采男孩的小蘑菇 阅读(3) 评论(0) 推荐(0) 编辑
摘要: core dump 定义 A core dump is the recorded state of the working memory of a computer program at a specific time, generally when the program has terminat 阅读全文
posted @ 2020-08-01 17:59 采男孩的小蘑菇 阅读(7104) 评论(0) 推荐(0) 编辑
摘要: Visual Studio编译器和x86上的gcc 都把`char `定义为`signed char`, 而arm-linux-gcc 却把char 定义为`unsigned char` , 所以造成了 同样的代码在PC 和 ARM 设备上执行的结果不一样。 解决办法:添加编译参数 -fsigned 阅读全文
posted @ 2020-07-08 11:25 采男孩的小蘑菇 阅读(606) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-06-11 23:02 采男孩的小蘑菇 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 例子一 #include <iostream> #include <boost/thread.hpp> using namespace std; void func1(const int &id) { cout<<"func1 id : "<<id<<endl; } void func2(const 阅读全文
posted @ 2020-06-08 22:39 采男孩的小蘑菇 阅读(1442) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 43 下一页