![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
疑难杂症
huangweibo的博客
计算机视觉, 视觉几何, SLAM
展开
-
Linux下pdf去除白边(使用PDFCrop)
安装PDFCrop:sudo apt install texlive-extra-utils自动将周围白边去除pdfcrop input.pdf output.pdf指定留白宽度为左边 10、上方 20、右边 10、下方 25pdfcrop --margins "10 20 10 25" input.pdf output.pdf多PDF文档处理: 用shell指令,如下:#!/bin/bash# 自动切除所有PDF页面的白边for FILE in ./*.pdf; do pdfc原创 2020-09-18 17:59:27 · 1400 阅读 · 0 评论 -
Matlab求曲线周长
clearclcsyms tr = 1.5;T = 20.0;K = 2*pi / T;K1 = 4.0;A = 0.3;t_start = 0; t_end = 40;% x = r * cos(K*t);y = r * sin(K*t);z = A * sin(K1*K*t);dL=sqrt((diff(x))^2+(diff(y))^2+(diff(z))^2)length = vpa(int(dL, t, t_start, t_end)) % 用vpa将结果转化原创 2020-09-17 23:07:40 · 1511 阅读 · 0 评论 -
ubuntu 18.04编译opencv 3.4.7问题与解决方法汇总
问题1: 找不到eigen[ 1%] Built target gen-pkgconfig[ 3%] Built target libjasper[ 8%] Built target libprotobuf[ 9%] Built target quirc[ 9%] Built target ittnotify[ 9%] Building CXX object modules...原创 2019-09-07 17:04:51 · 1506 阅读 · 1 评论 -
ubuntu 18.04 安装cuda 10.1
相关网址:Installation Instructions:https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1804&target_type=deblocalDeep L...原创 2019-09-06 19:29:49 · 5188 阅读 · 4 评论 -
/bin/bash^M: bad interpreter: 没有那个文件或目录
问题: 运行脚本时出现如下错误:bash: ./test.sh: /bin/bash^M: bad interpreter: No such file or directory即打开之后并没有找到所谓的^M文件。原因分析:执行vim test.sh:set ff?若出现fileforma=dos,则是因为linux和windows之间的文件格式不完全兼容。解决办法:继续执行命...原创 2019-08-28 16:27:50 · 287 阅读 · 0 评论 -
ros indigo opencv获取网络摄像头报错(尚未解决)
[h264 @ 0x7f928c5deca0] cabac decode of qscale diff failed at 46 48[h264 @ 0x7f928c5deca0] error while decoding MB 46 48, bytestream (-1)[h264 @ 0x7f928c65caa0] Reference 2 >= 2[h264 @ 0x7f928c6...原创 2018-10-30 13:07:28 · 2615 阅读 · 2 评论 -
[rosrun] Found the following, but they're either not files, or not executable:
运行 # rosrun beginner_tutorials talker.py时出现如下错误:[rosrun] Couldn’t find executable named talker.py below/home/hri/catkin_ws_touching_AI/src/beginner_tutorials [rosrun] Foundthe following, but they’...原创 2018-10-26 12:01:30 · 3742 阅读 · 4 评论 -
[rosbuild] rospack found package "ORB_VIO_Duo" at "", but the current directory is
cmake … 出现如下错误:[rosbuild] rospack found package “ORB_VIO_Duo” at “”, but the currentdirectory is “/home/hri/rosbuild_ws/package_dir/ORB_SLAM2_OpenCV3.2_Duo/Examples/ROS/ORB_VIO_Duo”.You shou...原创 2018-10-26 10:18:20 · 1638 阅读 · 0 评论 -
Warning: error while crawling /home/user: boost::filesystem::status: Permission denied
在输入roscd [rospack]时,当使用Tab进行代码补全时,出现如下错误:roscd beginn[rospack] Warning: error while crawling /home/usrer: boost::filesystem::status: Permission denied: "/home/hri/.gvfs"[rosstack] Warning: error whi...原创 2018-10-26 10:04:25 · 991 阅读 · 0 评论 -
[Ubuntu error] the system network service is not compatible with this version
[Ubuntu error] the system network service is not compatible with this version解决方法:sudo service network-manager start原创 2018-10-23 17:22:59 · 4874 阅读 · 1 评论