![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
日常bug记录
ScaredPan
这个作者很懒,什么都没留下…
展开
-
解决No CMAKE_CUDA_COMPILER could be found.No CMAKE_CUDA_COMPILER could be found.
解决bug原创 2022-11-08 15:04:17 · 2274 阅读 · 1 评论 -
EIGIN 对齐错误
my_program: path/to/eigen/Eigen/src/Core/DenseStorage.h:44:Eigen::internal::matrix_array<T, Size, MatrixOptions, Align>::internal::matrix_array()[with T = double, int Size = 2, int MatrixOptions = 2, bool Align = true]:Assertion `(reinterpret_cast原创 2021-11-26 16:39:52 · 199 阅读 · 0 评论 -
pytorch报: ‘str’ is not a member of ‘c10’
/home/aipan/anaconda3/libtorch/include/torch/csrc/api/include/torch/nn/modules/utils.h:19:3: error: ‘str’ is not a member of ‘c10’TORCH_INTERNAL_ASSERT(n >= 0);原因是ceres 和 libtorch不兼容。ceres改为1.14.0版本即可原创 2021-11-19 19:27:36 · 1867 阅读 · 0 评论 -
Error running link command: No such file or directory错误
在交叉编译时遇到问题[ 1%] Linking CXX static library libtp_core_detect.aError running link command: No such file or directorydetect/CMakeFiles/tp_core_detect.dir/build.make:120: recipe for target ‘detect/libtp_core_detect.a’ failedmake[2]: *** [detect/libtp_cor原创 2021-09-02 11:46:45 · 1951 阅读 · 0 评论 -
Backtrace stopped: previous frame identical to this frame (corrupt stack?)错误
gdb调试出现这个错误.这个一般是内存出现错误,我遇到的是,cv::Mat image从vio传给pose_graph,但是我没有clone,也就是vio和pose_graph使用的是同一片内存,而vio又在改变这片内存,导致pose_graph使用时出现错误。...原创 2021-07-27 11:09:05 · 20387 阅读 · 0 评论 -
IIC和SPI同时通信遇到问题
IIC读磁力计数据,SPI读MPU6500数据。for( ; ;){ index++; if(index == 5) { compass.read(); index = 0; }ins.accumulate();vTaskDelayUntil(&xLastWakeTime, 2.5 );}代码如上,遇到问题:MPU6500数据间隔性为零,IIC有时接收不到数据。解决:把这两个读分开成两个任务,问题解决。分析:刚读完IIC,立马读SPI,会造成两个原创 2021-04-23 10:26:55 · 982 阅读 · 5 评论 -
bug记录
2021.3.241.安装kalibr时,出现eigen错误,是因为eigen版本太高,回退到3.3.1就ok了原创 2021-03-24 18:43:04 · 74 阅读 · 0 评论