原创 libpoint_cloud_odometry.so:undefined reference to pclsearch::KdTree

     編譯blam遇到這個錯誤: /blam-master/internal/devel/lib/libpoint_cloud_odometry.so: undefined reference to `pcl::search::K

原创 TX1/2 linux 設置交換空間 記錄

TX1等當內存不足時會出現 internal compile error 設置交換空間   free -m //查看內存 sudo mkdir /swap cd /swap sudo dd if=/dev/zero of=swap

原创 PCD格式保存

#coding:utf-8 import time filename="1.txt" print ("the input file name is:%r." %filename) start = time.time() print (

原创 python 文件操作記錄

#!/usr/bin/env python # coding=utf-8 import os import shutil def getimagepath(path): file=open(path) data=fi

原创 opencv 記錄: cv::mat eigen 轉換

#include"iostream" #include"stdlib.h" #include"eigen3/Eigen/Dense" #include"opencv2/core/core.hpp" #include"opencv2/co

原创 3個方法解決百度網盤限速

轉載自 <作者:奔跑中的奶酪 , 原文鏈接:https://www.runningcheese.com/baiduyun > 3個方法解決百度網盤限速 (2019-06-20 更新) 3個方

原创 c++ 計時 chrono

#ifdef COMPILEDWITHC11 std::chrono::steady_clock::time_point t1 = std::chrono::steady_clock::now(); #else

原创 caffe 編譯錯誤:too few argument in function call

error log:  caffe/include/caffe/util/cudnn.hpp(112): error: too few arguments in function call cudnn版本問題,解決: 添加判斷,不同版本

原创 python pip 小記

使用sudo權限 sudo -H  [   ] python命令 爲符號軟連接,可指向python2或3,默認2.7 。使用python3可以改軟連接也可直接使用python3(也是軟連接)   pip 與 pip3 對應python2和

原创 .cmake 文件編寫示例

 from http://people.csail.mit.edu/kaess/isam/   ######################################################################

原创 配置讀取類 示例

 from Kintinuous   c++配置讀取類 示例   注:僅適用於應用了PCL 的工程,無PCL ,可直接讀取argv值判斷   #ifndef CONFIGARGS_H_ #define CONFIGARGS_H_ #i

原创 readlink 讀取當前路徑 linux

使用readlink讀取當前程序執行路徑   linux中 符號鏈接 /proc/self/exe 爲當前執行路徑的值  #include"unistd.h" #include"string.h" using namespace s

原创 Too many levels of symbolic links

ln 時出現錯誤: Too many levels of symbolic links     原因:使用了相對路勁 解決:全部使用絕對路徑  

原创 flann error

error: /usr/include/flann/util/serialization.h:18:9: error: ‘class std::unordered_map<unsigned int, std::vector<unsigne

原创 ROS 相關問題記錄

1、卸載ROS sudo apt-get remove -f ros-<distro>-desktop-full sudo apt-get remove -f ros-<distro>-* sudo rm -r /opt/ros/<di