
bug
和道一文字_
自动驾驶
展开
-
LIO-SAM保存点云地图,报错terminate called after throwing an instance of ‘pcl::IOException‘ what(): : [pcl:
LIO-SAM保存点云地图,报错terminate called after throwing an instance of 'pcl::IOException'what(): : [pcl::PCDWriter::writeBinary] Error during open!原创 2023-02-23 18:52:08 · 1230 阅读 · 0 评论 -
ubuntu18.04启动时卡在Starting Gnome Display Manager
一般是之前安装了哪些软件,导致的冲突。可以参考一下帖子:https://blog.youkuaiyun.com/OxuanO/article/details/108799495需要注意的是,grub引导中,连接network只能连不需要验证的有线网(插上网线就能上网的那种)。并且每一次进入grub都需要重新连接network。检测是否连接上可用网络,可以在命令行ping一下,例如:我个人使用了dpkg和fsck进行恢复,再进入root,执行:再执行重启:即可解决。...原创 2022-06-15 14:07:51 · 2471 阅读 · 0 评论 -
ubuntu18.04安装gtsam过程及报错error: invalid initialization of reference of type ‘const std::vector<bool>&’
这里建议从这个链接下,不要从官网下,可能会有版本冲突2.安装依赖3.编译报错:1.error: invalid initialization of reference of type ‘const std::vector&’ from expression of type ‘const std::vector’ 124 | const std::vector& mask() const { retur...原创 2022-06-08 22:15:16 · 2645 阅读 · 4 评论 -
ubuntu系统重新安装后,未发现WiFi适配器,惠普
查找了很多资料,有用的如下:https://blog.youkuaiyun.com/github_33678609/article/details/86502916其中如何关掉惠普的secure boot(安全启动):http://www.ujiaoshou.com/upanjc/qidong/11134.html原创 2022-06-04 16:47:26 · 245 阅读 · 0 评论 -
安装ubuntu系统花屏问题,图形化界面崩溃解决办法
1.惠普电脑重启狂按F9,进入U盘启动界面,选USB启动项(带有USB的那一项,按回车)。2.然后选择第二项然后回车。3.按照教程,正常情况应该开始安装,但我的系统经过反复尝试,都是花屏,如下:经查阅资料,发现需要修改一些参数。1。在花屏页面长按电源键,强制重启电脑。2.重启过程继续长按F9,进入U盘启动界面,选择USB启动。3.进入ubuntu安装选择界面,按键盘上的上下按键,将选项光标放到第二行:然后按e,进入编辑界面。4.找到如下一行:偷懒加了省略号。5.将其改为:6.然后按F原创 2022-06-03 22:14:23 · 8855 阅读 · 1 评论 -
leetcode56报错:error: reference to non-static member function must be called
解决办法:核心思想:修改定义方式,去掉this指针.有两种方式:1.将cmp函数定义在class之外,就不会有this指针2.将cmp定义为静态成员函数,也不会有this指针,即:原创 2022-03-21 10:23:29 · 1008 阅读 · 2 评论 -
vector中push_back字符串string时报错
对于:string s;vector<string> ans;s[i]为char,vector的push_back()函数没有将char转换为string的功能.直接ans.push_back(s[i])会报错,应该:string temp = s[i];ans.push_back(temp);原创 2022-03-08 14:25:45 · 2214 阅读 · 0 评论 -
leetcode报错:AddressSanitizer:DEADLYSIGNAL
leetcode报错:AddressSanitizer:DEADLYSIGNAL ================================================================= ==43==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x00000034ca17 bp 0x7ffe82f08070 sp 0x7ffe82f07f40 T0) ==43==The signal is caused by a R原创 2022-03-08 14:20:48 · 4589 阅读 · 0 评论 -
Ubuntu开机启动时遇到welcome to emergency mode After logging in, type “journalctl -xb“...linux系统无法进入图形化界面
Ubuntu开机时无法进入图形化界面,遇到:welcome to emergency mode! After logging in, type "journalctl -xb"...如下图:ctrl+d修复也没用....解决办法:1.登录root账户(输入回车,进入命令行,显示当前是root用户,可不用再登录)2.在命令行执行 journalctl -xb 查看日志输出,搜索关键字”fsck failed”(输入/,然后输入关键字后回车,通过N/n查看上一个/下一个匹配项(可能就原创 2022-02-24 10:22:46 · 3277 阅读 · 0 评论 -
解决lego-loam运行bag包时无数据的问题
问题:下载编译lego-loam代码。运行run.launch后,再播放自己的bag包,发现无输出数据原因:录制bag包时的topic时间与系统时间(如tf)有差别,播放时,系统找不到对应时间的topic,缓冲队列一满,就默认把topic全都丢弃了,导致了lego-loam无输入topic,也就无输出数据。解决办法:改将run.launch文件中的/use_sim_time为true,这代表指定让程序使用模拟时间,而不是实际的 wall-clock time。<param n原创 2022-01-12 22:34:15 · 1942 阅读 · 0 评论 -
运行launch文件报错:Traceback (most recent call last)/ResourceNotFound:
运行launch文件报错:Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/__init__.py", line 308, in main p.start() File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/parent.py", line 268, in start...原创 2022-01-12 11:54:12 · 1472 阅读 · 0 评论 -
leetcode报错:reference binding to misaligned address 0xbebebebebebec0ba for type ‘int‘, which requir 4
leetcode,剑指offer 31题报错:Line 170: Char 16: runtime error: reference binding to misaligned address 0xbebebebebebec0ba for type 'int', which requires 4 byte alignment (stl_deque.h) 0xbebebebebebec0ba: note: pointer points here <memory cannot be printed&g原创 2022-01-10 17:21:45 · 21148 阅读 · 1 评论 -
make[2]: 警告:检测到时钟错误。您的创建可能是不完整的。
as modification time 28204 s in the futuremake[2]: 警告:检测到时钟错误。您的创建可能是不完整的。使用touch命令更新一下报错文件的时间就可以解决。针对我上述的报错,具体可以执行如下命令:原创 2021-12-13 10:51:14 · 6725 阅读 · 0 评论 -
处理点云程序段错误process has died [pid 31695, exit code -11, cmd /home
问题:编写了一个处理点云的程序。编译全部通过,播放点云bag包后运行程序时报错:[plane_fitter-1] process has died [pid 31695, exit code -11, cmd /home/lskk/ls_pc/devel/lib/plane_fitter/plane_fitter __name:=plane_fitter __log:=/home/lskk/.ros/log/5b94e870-573f-11ec-afbe-f02f74b2823c/plane_fit原创 2021-12-07 17:48:06 · 8555 阅读 · 6 评论