原创 TX1 ubuntu 16.04 build and install PCL

Download PCL 1.8 from here: https://github.com/PointCloudLibrary/pcl Modify line 91 of CMakeLists.txt in PCL to sa

原创 opencv 尋找亞像素角點

 opencv 尋找亞像素角點 void CImageProcess::FindCorner() {  const int MAX_CORNERS = 1000 ;   CvPoint2D32f* corners = new CvP

原创 if (!ProcessShellCommand(cmdInfo))出錯

一般是由於控件沒有註冊,比如串口控件沒有註冊。在卸載一些程序的時候可能會卸載掉一些相關聯的控件。 

原创 VS“Operation GetValue on the component did not succeed, generating the error code 0x80070057”

VS2008上使用串口控件,控件屬性欄(about)出現“Operation GetValue on the component did not succeed, generating the error code 0x80070057”

原创 "試圖執行的操作不受支持"解決辦法

在VS2008使用串口控件,在DDX_Control(pDX, IDC_MSCOMM1, m_com)處彈出"試圖執行的操作不受支持"提示,查無重複資源或調用已刪除資源,最終發現是工程配置問題,具體解決方法如下: Configuratio

原创 ubuntu 12.04,undefined reference to opengl,opengl鏈接出錯

 Linking CXX executable ../../bin/generateTrajectory /usr/local/lib/libg2o_types_slam3d.so: undefined reference to `g2o

原创 CString轉char * ,string

CString頭文件#include <afx.h> string頭文件#include <string.h> 1、CString轉char * CString cstr; char *p =(LPSTR)(LPCTSTR)cst

原创 Hessian矩陣用於結構光細化

Hessian矩陣是一個自變量爲向量的實值函數的二階偏導數組成的方塊矩陣。圖像中可以得到橫縱方向的任意組合的二階導數。當然,如果結構光方向一致,也可以採用特定方向的一階導數找到光條兩側邊緣,兩側邊緣的中心即爲光條中心線。

原创 在ubuntu 14.04上安裝libqglviewer-qt4-dev包

在http://ftp.debian.org/debian/pool/main/libq/libqglviewer/上依次下載libqglviewe

原创 Delaunay三角剖分算法(二維)

// DelaunayT.cpp: implementation of the CDelaunayT class. // //////////////////////////////////////////////////////////

原创 Linux中USB轉串口前建議檢查串口連接狀態

# lsusb       查看當前usb連接狀態 # dmesg |grep ttyUSB      查看usb轉串口狀態 一定要把硬件流關掉,否則無法連接

原创 ubuntu14.04 indigo sudo rosdep init出錯

問題ubuntu14.04 indigo sudo rosdep init出錯 $sudo rosdep init ERROR: cannot download default sources list from: https:/

原创 minicom無法輸入問題,鍵入的內容不顯示

可能原因: 1.Serial port setup-->Hardware Flow Contorl選項被改成了Yes,這樣就造成了鍵盤沒有用了,接受不了任何輸入。把他改成No就好了。 2.修改Local Echo on/off。

原创 orbslam編譯rgbd_xtion_cc時,出現錯誤

錯誤如下: /usr/include/openni2/OniPlatform.h:49:3: error: #error Xiron Platform Abstraction Layer - Unsupported Platform! 將

原创 四元數概念與計算代碼

轉自:http://blog.sina.com.cn/s/blog_557d254601018dfv.html 一、四元數概念及運算 1.  四元數引入 將實數域擴充到複數域,並用複數來表示平面向量,用複數的加、乘運算表示平面向量的合