- 博客(15)
- 资源 (1)
- 收藏
- 关注
原创 ubuntu 18.04 安装glog
git clone https://github.com/google/glog sudo apt-get install autoconf automake libtool cd glog ./autogen.sh //如果没有可以跳过 ./configure //如果没有可以跳过 mkdir build //创建一个build 文件 cd build cmake .. make sudo make install...
2021-11-29 01:11:29
1521
2
原创 ubuntu 18.04 下安装yaml
第一步:Boost安装yaml-cpp依赖于boost库,确保Boost library已经存在,否则会报错。(yaml-cpp 0.6.0 has been released! This release requires C++11, and no longer depends on Boost.)使用命令安装sudo apt-get install libboost-dev第二步:yaml-cpp文件安装a) 先下克隆代码GitHub - jbeder/yam
2021-11-28 21:17:56
4610
原创 2021-01-06
understand 跳转 选中view-->Browse Mode,则是点击跳转到定义处;取消则是ctrl+down跳转到定义处 UnderStand的窗口说明1. 最基本的区域为 代码编辑区以及左侧Project Browser 工程浏览窗口。 Project Browser 工程浏览窗口以代码文件结构目录的方式体现了代码的结构,在该界面点击Ctrl + F 可弹出搜索框,以工程文件名搜索文件。 【在Tool》Options》Key Binding 搜索 Project B.
2021-01-06 21:42:43
209
原创 linux 安装opencv 3 遇到 ippicv_linux_20151201.tgz 这个包无法下载
环境:ubuntu 16.04 opencv 3.1.0每次编遇到ippicv_linux_20151201.tgz 这个包无法下载,1.手动下载ippicv_linux_20151201.tgz (注意一定要下压缩包的形式,不能是解压的形式,切记。要不然编译的时候还会报错)2.将下载好的压缩包放在:opencv-3.1.0/3rdparty/ippic...
2019-05-14 19:30:17
2661
1
原创 视觉slam 十四讲 ch6 error while loading shared libraries: libg2o_core.so: cannot open shared object file:
电脑环境:ubuntu 16.04解决方法1. 运行sudo vim /etc/ld.so.conf运行后会出现 include etc/ld.so.conf.d/*.conf 在这句话的下面新起一行 添加 /usr/local/lib2. 修改后保存退出(vim中的指令是 :wq)3.运行 sudo ldconfig...
2019-05-11 15:00:31
696
原创 ROS imu_filter_madgwick 源码分析
主要对阅读imu_filter_madgwick这个功能包的主要源码提供了阅读的思路,适用于原功能包。 功能包在ros_wiki上可以找到。<node pkg="imu_filter_madgwick" type="imu_filter_node" name="imu_filter_madgwick" output="screen" respawn="false" >...
2019-04-29 13:54:17
4436
原创 understand 中文注释乱码解决方法
undderstand是一款比较好用的代码阅读工具,功能丰富,是程序员的必备。按以下操作:project->configure project->file options ->File encode->utf-8设置完点击ok即可...
2019-04-26 19:30:45
5872
3
原创 ps3手柄在linux ubuntu 下的使用
使用设备及系统:1. 64位工控机 自身没有蓝牙,2.系统:linux ubuntu 16.04.033.索尼原装ps3手柄4.蓝牙适配器 :蓝牙USB接收器 CSR适配器4.0 XBOXONES手柄接收器使用教程参考:http://wiki.ros.org/ps3joyhttp://wiki.ros.org/ps3joy/Tutorials/PairingJoysti...
2019-04-21 20:41:15
2437
2
原创 详解贝叶斯与卡尔曼滤波(KF)的姻缘
1. 条件概率:假定已经知道Y的值是y,想知道基于以上事实条件X为x概率,这样的概率表示为p(x| y)= p(X=x | Y=y) 成为条件概 率。如果p(y)>0,则条件概率定义为全概率:2.贝叶斯滤波算法: 其中第3行是控制更新,第4行是状态更新。bel代表的是置信度,整个过程是一个迭代的过程。这一算法的实现需要三个概率: 初始置信度,测...
2019-03-17 20:51:36
4299
原创 c++静态static
#include<iostream>#include<string>/*尽量使用staticstatic 函数不能使用This 指针 */ using namespace std;//全局变量保存//double interestRate;class Dog{ }; class Account { public: Account(...
2019-03-13 22:25:12
164
原创 代码详解c++ 三种友元函数
#include<iostream> #include<string>using namespace std;class Screen;class Dog{ public: int foo(Screen & screen); };class Screen{ public: friend int calcArea(Screen...
2019-03-11 22:56:35
370
原创 代码详解c++构造函数
/*代码详解构造函数 */#include <iostream>#include<string>using namespace std;class Person{ public: Person (const std::string &nm) :name(nm),age(22) { } public: std::stri...
2019-03-09 14:41:59
402
原创 代码详解c++类作用域
/*代码详解c++类作用域的相关知识*/#include <iostream>#include <string>using namespace std;void doA(){ int a; a=12;}void doB(){ int b; b=99;}class First{ publi...
2019-03-08 18:35:08
267
原创 ROS tf 图解
基于ros wiki所给出的例程,做了一个简单的图解说明,roswiki的地址http://wiki.ros.org/tf,可以结合着看。 这个例的目的就是已知了一个base_link相对于base_laser的坐标,listener.transformPoint("base_link", laser_point, base_point)其中"base_link"为parent...
2018-12-14 23:51:21
885
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人