- 博客(13)
- 资源 (6)
- 收藏
- 关注
转载 Palindrome Linked List
Given a singly linked list, determine if it is a palindrome.Follow up: Could you do it in O(n) time and O(1) space?转自: http://www.cnblogs.com/grandyang/p/4635425.html解法一: 这道题让我们判断一个链表是否为回文链表,那么根据回文串的
2017-10-30 22:37:20 204
原创 Delete Node in a Linked List
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are given the third node with value 3, t
2017-10-30 22:28:30 235
原创 ORB-SLAM2 跑数据集&&运行自己的摄像头
假设你已经成功将ORB-SLAM2 编译通过1、运行单目 SLAM:我们这里采用 freiburg1_desk 数据,可以从这里下载: freiburg1_desk 数据集 将这个数据集放在 ORB_SLAM2 下的 Data 文件夹下面并解压缩。 运行如下指令:./Examples/Monocular/mono_tum Vocabulary/ORBvoc.txt Examples/Monoc
2017-10-28 10:42:57 9692 2
原创 cmake & catkin_make安装到指定目录
cmake -DCMAKE_INSTALL_PREFIX=/usr ..make install
2017-10-23 10:47:30 5380
原创 flaot类型数据与单个字节相互转换
利用共同体将4字节转换为浮点数union U{ float f ; unsigned char x[4];}data ; int main(void){ data.x[0] = 0xda; data.x[1] = 0x0f; data.x[2] = 0x49; data.x[3] = 0x40; printf("%
2017-10-13 19:07:44 568
原创 Installation QT ROS 插件 for Ubuntu 16.04
Installation Procedure for Ubuntu 16.04sudo add-apt-repository ppa:levi-armstrong/qt-libraries-xenialsudo add-apt-repository ppa:levi-armstrong/ppasudo apt update && sudo apt install qt57creatorsudo
2017-10-13 17:21:57 1484
原创 安装C++ boost 库
1、先去 Boost官网 下载最新的Boost版本, 我下载的是boost_1_6_0版本, 解压.2、进入解压后目录: cd boost_1_6_0, 执行下面的命令:./bootstrap.sh --prefix=path/to/installation/prefixprefix 的值是你希望安装boost的路径, 不开启此参数的话默认安装在 /usr/local 下. 我安装在 /home/c
2017-10-11 16:03:48 444
转载 c++中new和delete的使用方法
对于计算机程序设计而言,变量和对象在内存中的分配都是编译器在编译程序时安排好的,这带来了极大的不便,如数组必须大开小用,指针必须指向一个已经存在的变量或对象。对于不能确定需要占用多少内存的情况,动态内存分配解决了这个问题。new和delete运算符是用于动态分配和撤销内存的运算符。一、new用法1.开辟单变量地址空间使用new运算符时必须已知数据类型,new运算符会向系统堆区申请足够的存储空间,如
2017-10-09 21:13:51 373
原创 创建一个ROS节点
mkdir -p ~/catkin_ws/srccd ~/catkin_ws/src现在使用catkin_create_pkg命令来创建一个名为’beginner_tutorials’的新程序包,这个程序包依赖于std_msgs、roscpp和rospycatkin_create_pkg beginner_tutorials std_msgs rospy roscpp这将会创建一个名为beginne
2017-10-05 18:43:35 1417
原创 C++常用小知识点总结
1、size()是取字符串长度的,跟length()用法相同。举例:string str="0123456789";cout <<"str.length()="<<str.length()<<endl;//结果为10cout <<"str.size()="<<str.size()<<endl;//结果为10为了兼容,这两个函数一样。 length()是因为沿用C语言的习惯而保留下来的,strin
2017-10-05 11:06:29 453
原创 Two Sum
Problem DescriptionGiven an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may n
2017-10-04 11:14:43 227
Serial_Node.tar.gz
2017-11-06
Visual-Inertial Monocular SLAM with Map Reuse.pdf
2017-11-06
Robust Visual Inertial Odometry Using a Direct EKF-Based Approach.pdf
2017-11-06
Keyframe-Based Visual-Inertial Odometry Using Nonlinear Optimization.pdf
2017-11-06
Efficient Sparse Pose Adjustment for 2D Mapping.pdf
2017-11-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人