自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(23)
  • 资源 (5)
  • 收藏
  • 关注

原创 cartographer的scan to map matching

文件位置:cartographer/mapping/internal/2d/scan_matching/real_time_correlative_scan_matcher_2d.cccartographer/mapping/internal/2d/scan_matching/correlative_scan_matcher_2d.hcartographer/mapping/interna...

2018-12-30 17:38:19 1352

原创 Unable to find the requested Boost libraries. Boost version: 1.58.0 Boost include path: /usr/l

编译pcl代码.SET(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "/usr/local/include/boost")SET(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} "/usr/lib/x86_64-linux-gnu")加在pcl_find_boost.cmake文件最前面...

2018-12-03 18:51:16 3163 1

原创 git add . 权限错误及远程分支删除

git error:insufficient permission for adding an object to repository database ./object# 打开项目.git目录,修改所属组为你当前用户所在组,修改所有文件写权限cd /path/to/repo.git sudo chgrp -R groupname .sudo chmod -R g+rwX .git ...

2018-12-03 10:32:40 698

原创 UBUNTU uuid编辑解决重建swap分区,找不到导致的开机慢问题

查看系统启动耗时systemd-analyze #总耗时#Startup finished in 5.818s (firmware) + 4.644s (loader) + 8.211s (kernel) + 3min 704ms (userspace) = 3min 19.378ssystemd-analyze blame #各个进程耗时#1min 30.008s fwupd.s...

2018-12-02 13:54:54 1637 1

原创 github:sign_and_send_pubkey: signing failed: agent refused operation Permission denied (publickey).

问题描述:在自己的本地仓库内使用git push时总是报权限错误。如题目所示,问题定位,确认是权限问题,首先在本地重新生成了ssh key,并在github上重新更新了SSH KEY,问题没有解决,最后发现忘记在本地添加ssh key。命令如下:ssh-keygen -t rsa -C "**********@qq.com" #生成ssh keyssh-add ~/.ssh/id_rsa ...

2018-12-01 00:09:34 961

原创 PCL_ROS 从topic或者bag文件生成.pcd

接受一个topic保存一帧为.pcdrosrun pcl_ros pointcloud_to_pcd input:=/camera/depth/color/points从.bag中取出点云转换为.pcdrosrun pcl_ros bag_to_pcd '/home/lhd/ros/tergeo-indoor/2018-11-30-14-04-13.bag' /camera/depth/c...

2018-11-30 17:34:56 3296 6

原创 PointCloud2 标准点云消息格式

sensor_msgs/PointCloud2.msg# This message holds a collection of N-dimensional points, which may# contain additional information such as normals, intensity, etc. The# point data is stored as a bin...

2018-11-30 17:13:08 7508

原创 RP-Lidar报错:Error, cannot bind to the specified serial port /dev/ttyUSB0.

Error, cannot bind to the specified serial port /dev/ttyUSB0.[rplidarNode-2] process has died [pid 28680, exit code 255, cmd /home/lhd/ros/tergeo-indoor/install_isolated/lib/rplidar_ros/rplidarNode _...

2018-11-29 22:08:08 11220 1

原创 ROS sensor_Msg::LaserScan存储结构

# Single scan from a planar laser range-finder## If you have another ranging device with different behavior (e.g. a sonar# array), please find or create a different message, since applications# wi...

2018-11-29 22:06:24 741

原创 git 版本管理学习(廖雪峰)

git version controlinit and commitgit init (run in the directionary)git add fillnamegit commit -m “some explain word”statecheckgit status (check the changes happend in the directory)git d...

2018-11-20 11:30:35 299

原创 一个监督学习(极大似然分类)与非监督学习(K-means)的例子(matlab实现)

上遥感原理与应用的时候,老师给我们大致讲了一下遥感图像的地物分类问题,大致了解了一下机器学习方法在遥感影像处理方面的应用问题。 下面将所做作业进行一个大致的总结:数据训练集一共四种:building、road、vegetation、water,分别对应标签1,2,3,4,测试集为unknown; 数据为高光谱遥感影像数据,包含八个波段,需要对unknown进行逐像素的分类。 数据...

2018-06-02 23:58:20 6372 8

原创 CCF201604-3 路径解析

思路 首先把绝对目录和相对目录都转换成绝对目录,即加上目前的目录; 然后将中间多余的“/”、”/../”、”/./”都根据实际情况舍去; 判断是否是根目录,如果是根目录,加一个“/”; 最后注意的是有可能输入是一个换行符,则表示目前的目录,所以输入格式要注意。// 16_04_3.cpp: 定义控制台应用程序的入口点。//#include "stdafx.h"...

2018-03-17 17:06:23 135

原创 CCF201612-4 压缩编码(10分)

100分的答案在这里:http://blog.csdn.net/tigerisland45/article/details/61622152 这道题是一个动态规划的题,寻找最接近中点的两个节点,然后分开,这样,最后,每一个单词总的编码长度是最短的,关键在于理解一个单词编码一次长度加一,然后再与其他单词编码,长度再加一,我这里用到了一个递归的思想,模仿霍夫曼编码,进行了一个模拟,最终结果也是对的,...

2018-03-17 15:25:50 340

原创 CCF 17_09_2 火车购票

#include<iostream>#include<vector>#include<algorithm>using namespace std;int main(){ vector< bool> all(100,false); int opt, order; cin >> opt; f...

2018-03-12 15:29:45 127

原创 CCF 学生排队问题

核心思想:这个问题是随机的插入和删除,因此选择链表list作为容器,过程中通过insert和eraser来进行模拟插入和删除的操作。#include<iostream>#include<list>#include<algorithm>#include<iterator>using namespace std;void print(...

2018-03-10 19:08:57 1129

原创 CCF 公共钥匙盒

// borrow_keys.cpp: 定义控制台应用程序的入口点。//#include "stdafx.h"#include<iostream>#include<algorithm>#include<vector>using namespace std;struct change{ int time; int order...

2018-03-09 15:01:19 158

原创 CCF 第二题:游戏

这是网上大神的解我的解#include<iostream>#include<list>#include<algorithm>using namespace std;void erase(list<int> &lt, int cc,int begin){ int i = begin; list<...

2018-03-08 19:53:05 408

原创 Leetcode 240. Search a 2D Matrix II

题目描述 这道题的意思是从一个排好序的矩阵中搜索一个值是否存在,矩阵每一行每一列都是按照从小到大排列。 要提高效率,就要尽量减少比较元素的数目,因此,从第一列开始比较,当最后一个元素都小于该值时,则跳到下一行,若有大于该值的元素,则向前退,当小于该值时,若不是第一个元素,则向下运动一行。 关键:这里的j是递减的,即调到下一行也不会重新赋值,因为这是由矩阵的特性决定的,当上一行的该列元素大...

2018-03-06 18:56:28 96

原创 利用模板实现简单的栈类(数组和单链表)

主要的功能是实现一个后进先出的列表,有入栈、出栈、返回大小、判空等基本功能#pragma onceusing namespace std;const int MAXSIZE = 0xfff;template<class type>class Class_Linkstack{ int top; type* my_s; int max_size;...

2018-03-06 11:29:11 424

原创 LeetCode 4. Median of Two Sorted Arrays 求两个有序数组的中位数

链接:https://leetcode.com/problems/median-of-two-sorted-arrays/description/ 这道题主要是对时间复杂度有要求,因此,限制了解求的方式。 参考Discuss中的最高票答案,进行了很全面的分析,关键点在于对两个数组进行联合的二分法查找,由于两个数组都是有序的,因此,它们中位数是满足一个条件的: (m+n+1)/2==i+j

2018-02-06 15:37:27 91

原创 leetcode596:496. Next Greater Element I(寻找元素对应位置的下一个较大值)

原题:https://leetcode.com/problems/next-greater-element-i/description/ 分析:题意是有两个数组,一个数组包含另一个数组中的所有元素,设母数组为M,子数组为N,则求N中的任意一个元素在M中的对应位置之后的大于该元素的值,如果不存在,就返回-1。 Note: All elements in nums1 and nums2 a

2018-02-05 22:38:21 163

转载 Binary Tree Maximum Path Sum 求二叉树的最大路径和

原题地址:https://discuss.leetcode.com/category/132/binary-tree-maximum-path-sum 这道题求解一个二叉树的最短路径,该路径可以从任何一个节点开始,从任何一个节点结束,只要其和是最小的,参考LeetCode大神的答案,如下:class Solution { int sum;public: int maxP

2018-02-05 20:33:22 101

转载 归并排序的C++实现

转载自http://blog.csdn.net/martin_liang/article/details/41871365#includeusing namespace std;template class T>void Msort(T a[], int left, int right){ if (left < right) { int center =

2018-02-02 17:51:07 68

卡尔曼滤波器解析

Poor Man's Explanation of Kalman Filtering: Or How I Stopped Worrying and Learned to Love Matrix Inversion的Paper版本。

2019-01-06

深入理解卡尔曼滤波器

通俗易懂的卡尔曼滤波器原理及使用介绍,附有demo,卡尔曼滤波器在工业上应用广泛,而且结构简单的一种数字线性滤波器。

2019-01-05

rinex302格式GNSS数据样例

RINEX数据的接收机样例,可用于相应程序的测试数据,来自课程资料。

2018-03-24

deep_learning分章节版

第一部分介绍基本的数学工具和机器学习的概念,第二部分介绍最成熟的深度学习算法,而第三部分讨论某些具有展望性的想法,它们被广泛地认为是深度学习未来的研究重点。

2018-03-20

pyqt5-python-Gui入门教程

pyqt5 GUI开发教程,详细介绍了基本的程序结构和细小知识点。

2018-03-13

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除