![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
Dr. Hely
向往喧嚣的落寞行者
展开
-
重装Ubuntu18.04及安装ROS遇到的问题
先附上比较好用的安装教程Ubuntu18.04安装教程_Sunshine的博客-CSDN博客_ubuntu安装教程ubuntu18.04安装ROS Melodic(最详细配置)_抚琴弹出情凋零的博客-CSDN博客_ubuntu18.04安装ros问题1:分盘问题在重装之前需要卸载之前安装过的Ubuntu系统,之前分了很多个盘,不知道哪个是ubuntu,哪个是windows的。上次误删了windows的某些文件,导致windows打不开了。清理之前ubuntu盘的方法:问题2:原创 2021-10-27 18:52:44 · 256 阅读 · 1 评论 -
error while loading shared libraries: libaruco.so.3.1: cannot open shared object file: No such file
mjy@mjy-PK:~/opencv-3.4.1/aruco306_installed/aruco-3.1.12/build/utils_calibration$ `./aruco_calibration`./aruco_calibration: error while loading shared libraries: libaruco.so.3.1: cannot open shared object file: No such file or directory解决:找了好几篇博文,解决办原创 2021-07-13 16:10:39 · 295 阅读 · 0 评论 -
Ubuntu18.04安装OpenCv依赖包无法定位libjasper-dev
在下载包 sudo apt-get install libjaster-dev时提示无法定位软件包:errorE: unable to locate libjasper-dev解决方法sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main"sudo apt updatesudo apt install libjasper1 libjasper-dev其中libjasper1是libj转载 2021-07-13 11:20:26 · 920 阅读 · 2 评论 -
Ubuntu 18.04安装WPS
进入WPS官网下载安装包https://www.wps.cn/product/wpslinux/#双击安装。下载libpng12-0 wget http://ftp.cn.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.49-1+deb7u2_amd64.deb原创 2021-07-13 10:08:02 · 199 阅读 · 0 评论 -
Ubuntu18.04安装ROS
不用看别的博文,直接用官网的http://wiki.ros.org/melodic/Installation/Ubuntu原创 2021-07-12 17:30:41 · 110 阅读 · 0 评论 -
Python实现更改大量文件名
Python实现更改大量文件夹名称想要实现文件夹名字从1-n,可以利用下面的代码:(可以更改后缀)import ospath='E:\\aLearn\\daiduan'i=1for file in os.listdir(path): if os.path.isfile(os.path.join(path,file))==True: new_name=file.replace(file,"%d.jpg"%i) os.rename(os.path.join(原创 2021-05-24 20:13:38 · 103 阅读 · 0 评论 -
实验三 信号与系统&Matlab 连续时间信号的频域分析
连续时间信号的频域分析题目:第一题:clear allclcm = input('m=');t = -2*pi:0.01:2*pi;n = round(length(t)/8);f = [ones(n,1);-1*ones(n,1);-1*ones(n,1);ones(n,1);ones(n,1);-1*ones(n,1);-1*ones(n+1,1);ones(n,1)];y = zeros(m+1,max(size(t)));y(m+1,:)=f';figure(1);plot原创 2021-05-02 14:38:38 · 2792 阅读 · 0 评论 -
实验二 信号与系统&Matlab 求系统的冲激响应、阶跃响应、零状态响应
实验内容题目一:clear all;ts=0;te=5;dt=0.01;num=[0 3 2];den=[1 5 6];sys=tf(num,den);t=ts:dt:te;y=impulse(sys,t);plot(t,y);grid;xlabel(‘time(sec)’);ylabel(‘h(t)’)题目二:clear all;ts=0;te=5;dt=0.01;num=[0 0 1];den=[2 1 8];%zuosys=tf(num,den);t=ts:dt:t原创 2021-04-12 18:09:43 · 18901 阅读 · 0 评论 -
ROS error: ‘nullptr’ was not declared in this scope
ROS中,编译cv_bridge时,error: ‘nullptr’ was not declared in this scope在cv_birdge 的cmakelists.txt中添加:include(CheckCXXCompilerFlag)CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X)if(CO原创 2021-04-09 16:27:57 · 542 阅读 · 0 评论 -
MATLAB (信号与系统)实验一:信号的MATLAB表示及信号运算
实验一 信号的MATLAB表示及信号运算一、实验目的1、掌握MATLAB的使用;2、掌握MATLAB生成信号波形;3、掌握MATLAB分析常用连续信号;4、掌握信号运算的MATLAB实现。二、实验内容编写程序实现下列常用函数,并显示波形。1、正弦函数 f(t)=Ksin(wt+a)2、抽样函数 Sa(t)=sint/t3、单位阶跃信号 f(t)=u(t)4、单边指数函数 f(t)=Ke^(-t)u(t)5、 f(t)=te^(-t)u(t)6、已知信号,f1(t)=u原创 2021-03-19 16:56:50 · 29959 阅读 · 2 评论 -
ImportError: dynamic module does not define module export function (PyInit__tf2)
运行launch文件时出现错误:ImportError: dynamic module does not define module export function (PyInit__tf2)解决办法:pip3 install rospkgsudo apt-get install ros-kinetic-tfsudo gedit .bashrcalias python=python2 #在最后一行添加source .bashrc再看就已经导入tf了,并且运行launch文件也不会报错mxy原创 2021-02-28 19:56:39 · 2518 阅读 · 0 评论 -
Ubuntu PyQt4、PyQt5的问题
**1. ImportError: No module named PyQt4**在python2下sudo apt-get install python-qt4RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap the QObject classsudo apt-get remove python-pyqt5原创 2021-02-22 20:02:59 · 307 阅读 · 0 评论 -
Ubuntu sudo apt-get update 出现错误
Ubuntu sudo apt-get update 错误W: GPG 错误:http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_16.04 InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 62EB1A0917280DDFW: 仓库 “http://download.opensuse.org/repositories/network:/mes原创 2021-02-22 19:59:22 · 649 阅读 · 1 评论 -
Ubuntu转换python版本(python2与python3转换)
Ubuntu转换版本:(以python3转向python2为例)python --version / python -V #查看默认指向的python安装版本python2 --version / python2 -V #查看python2安装版本python3 --version / python3 -V #查看python3安装版本echo alias python=python2 >> ~/.bashrc #从python3转向python2source ~/.原创 2021-02-22 19:56:28 · 170 阅读 · 0 评论 -
Ununtu18.04建图和导航
建图先将gazebo_pkg放在catkin_ws里编译成功。roslaunch gazebo_pkg race.launch控制小车建图export TURTLEBOT3_MODEL=burgerroslaunch gazebo_pkg slam_gmapping.launchrosrun teleop_twist_keyboard teleop_twist_keyboard.py保存地图要先安装map_server再保存sudo apt-get install ros-melo.原创 2021-02-17 19:05:11 · 173 阅读 · 0 评论