原创 三菱Q系列UDP設置

三菱Q系列配置網絡模塊時,UDP設置如下:        

原创 By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH

CMake Warning at hector_compressed_map_transport/CMakeLists.txt:26 (find_package):   By not providing "FindEigen3.cmake

原创 嵌入式 bool類型定義的問題

如果程序中使用到bool類型,但編譯時提示類型未定義,這個時候可在頭文件中加入下面一句: typedef enum {FALSE = 0,TRUE = 1} bool;

原创 AS報錯 This Gradle plugin requires a newer IDE able to request IDE model level 3

This Gradle plugin requires a newer IDE able to request IDE model level 3 報錯。 解決方法: (1): 升級android studio IDE的版本。 (2):在

原创 [ERROR] Failure executing javac, but could not parse the error: javac: invalid target release: 1.8

[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Failure execut

原创 Ubuntu系統下adb devices 不能顯示手機設備

1. 查看usb設備,命令:lsusb 結果如下: Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 00

原创 tensorflow 國內最新源安裝

pip install --upgrade --ignore-installed -i https://pypi.doubanio.com/simple/ tensorflow 安裝後新建工程會提示numpy版本問題,使用pip3 uni

原创 Rplidar A3使用教程(在A2基礎上)

rplidar A3的ID與a2相同,均爲10c4:ea60,串口文件中配置過A2可以直接換a3 在工作空間下git rplidar最新軟件包 git clone https://github.com/ncnynl/rplidar_ros

原创 二月二

二月二日江上行, 東風日暖聞吹笙。 花須柳眼各無賴, 紫蝶黃蜂俱有情。 萬里憶歸元亮井, 三年從事亞夫營。 新灘莫悟遊人意, 更作風檐夜雨聲。

原创 boost::property_tree::ptree解析json數組

json數組如下: {"var_name":"var1","positions":[0.1,0.1,0.1,0.1,0.1,0.1]},; 1 代碼: #include <boost/property_tree/ptree.hpp> #i

原创 使用Property Trees在Boost中創建JSON數組

問題:Assertion `!p.empty() && "Empty path not allowed for put_child."' failed! 解答: 簡單數組:     #include <boost/property_t

原创 ubuntu 64位下liblzo2-dev

sudo apt-get install liblzo2-dev

原创 ubuntu14.04 安裝ros-indigo報錯

錯誤如下: Reading package lists... Done Building dependency tree        Reading state information... Done You might want to

原创 Could not find com.android.databinding:library:1.2.1. Required by: XXXXX:app:unspecified

由於androidstudio 的版本 更新到最新版本 2.2.1 , 編譯工程時 導致如標題的錯誤 。 此時 我的工程 會提示更新SDK。但只需要跟新  如圖所示的包後 在編譯一遍工程即可

原创 ubuntu下7z文件的解壓方法

安裝:apt-get install p7zip-full 解壓7z:使用方法:7z x file file是你要解壓的文件名。