摘要: 参考:https://blog.csdn.net/u014709760/article/details/86319090 原答案比较详尽,但是还是会有编译错误,这里记录一下以防以后要用 1.地图保存 Map.h 1.加头文件 #include <fstream> #include "Converte 阅读全文
posted @ 2020-06-24 23:54 九里九里 阅读(552) 评论(1) 推荐(0)
摘要: sudo apt install ntpdate ntpdate -s time.windows.com 阅读全文
posted @ 2020-06-24 22:09 九里九里 阅读(129) 评论(0) 推荐(0)
摘要: 代码 /** * This file is part of ORB-SLAM2. * * Copyright (C) 2014-2016 Raúl Mur-Artal <raulmur at unizar dot es> (University of Zaragoza) * For more inf 阅读全文
posted @ 2020-06-21 19:12 九里九里 阅读(393) 评论(0) 推荐(0)
摘要: 代码: /** * This file is part of ORB-SLAM2. * * Copyright (C) 2014-2016 Raúl Mur-Artal <raulmur at unizar dot es> (University of Zaragoza) * For more in 阅读全文
posted @ 2020-06-18 20:15 九里九里 阅读(524) 评论(0) 推荐(0)
摘要: 1 /** 2 * This file is part of ORB-SLAM2. 3 * 4 * Copyright (C) 2014-2016 Raúl Mur-Artal <raulmur at unizar dot es> (University of Zaragoza) 5 * For m 阅读全文
posted @ 2020-06-18 18:27 九里九里 阅读(337) 评论(0) 推荐(0)
摘要: 代码 /** * This file is part of ORB-SLAM2. * * Copyright (C) 2014-2016 Raúl Mur-Artal <raulmur at unizar dot es> (University of Zaragoza) * For more inf 阅读全文
posted @ 2020-06-17 12:16 九里九里 阅读(367) 评论(0) 推荐(0)
摘要: 源码 /** * This file is part of ORB-SLAM2. * * Copyright (C) 2014-2016 Raúl Mur-Artal <raulmur at unizar dot es> (University of Zaragoza) * For more inf 阅读全文
posted @ 2020-06-12 22:00 九里九里 阅读(379) 评论(0) 推荐(0)
摘要: 1.'gbk' codec can't encode character '\xXX' in position XX f=open(file,'w',encoding='utf-8')#要加encoding='utf-8'这个参数 f.write(ss.text)#就不会报错 2.爬虫request 阅读全文
posted @ 2020-05-27 14:01 九里九里 阅读(302) 评论(0) 推荐(0)
摘要: 1. import urllib.request from bs4 import BeautifulSoup import re import os url='http://cpc.people.com.cn/n1/2018/0318/c64094-29873799-8.html' #GB2312 阅读全文
posted @ 2020-05-26 21:07 九里九里 阅读(383) 评论(0) 推荐(0)
摘要: 1.AttributeError: module 'urllib.response' has no attribute 'read' 代码: res=urllib.response.read().decode('UTF-8')#读取网页内容,用utf-8解码成字节 1) python3中应该 imp 阅读全文
posted @ 2020-05-25 18:39 九里九里 阅读(8979) 评论(0) 推荐(1)