- 博客(7)
- 收藏
- 关注
原创 ubuntu18.04安装ros rosdep update失败
当执行rosdep update报错更改resolv.conf文件或hosts文件无效时 Ubuntu@ubuntu:~$ rosdep update reading in sources list data from /etc/ros/rosdep/sources.list.d ERROR:unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml]:
2021-05-15 16:58:52
421
原创 树莓派4B固定IP连接无线网
树莓派4B固定ip开机自动连接无线网 sudo nano /etc/netplan/50-cloud-init.yaml network: ethernets: eth0: dhcp4:true optional:true version:2 wifis: wlan0: access-points: chao: password:'567890' dhcp4:true optional:true 固定IP wifis: wl
2021-04-05 16:28:07
262
原创 树莓派4B换源
在安装玩ubuntu18.04后,更新资源时很慢,因此需要跟换源,如中科大,阿里源等。 sudo nano/etc/apt/sources.list 打开文件将软件源更改为http://mirrors.ustc.edu.cn/ubuntu-ports 或者执行 sed -i 's/ports.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list 中科大源 ...
2021-04-05 14:40:48
212
原创 树莓派4B固定USB串口
在使用树莓派4B时,由于USB串口的变动导致在使用的过程中,频频报错。 树莓派的USB端口接通被映射为一个文件在/dev/目录下,通常是ttyUSB0,ttyUSB1等,但在实际应用过程中,树莓派并不能确定哪一个端口是ttyUSB0,哪一个是ttyUSB1,所以在应用过程中应给端口一个固定的明字,方便在程序中应用此端口。 查看USB端口号 命令: ls -l/sys/class/tty 通过查看端口自身都是有自己的编号,只需给编号指定名字就行。 执行:sudo nano/etc/udev/rules.d.
2021-04-05 14:26:51
1170
1
原创 vim使用方法
1.vim Vim是从 vi 发展出来的一个文本编辑器。代码补完、编译及错误跳转等方便编程的功能特别丰富,在程序员中被广泛使用。简单的来说, vi 是老式的字处理器,不过功能已经很齐全了,但是还是有可以进步的地方。 vim 则可以说是程序开发者的一项很好用的工具。 2.vim常用的命令 【Esc】 从编辑模式退出到命令模式 :vsplit 显示多个文件 ctrl+w+方向键 切换窗口 /关键字 匹配内容关键字 :行号 光标跳到指定行行首 :$ 光标跳
2021-03-02 21:53:30
78
原创 win10+python3.7.6安装tensorflow2.0
win10+python3.7.6安装tensorflow2.0 1.首先下载python对应版本的tensorflow,tensorflow2.0.0下载链接 使用命令查看anconda版本conda --vesion 查看目前安装环境:`conda info --envs 新建环境变量:conda create --name tensorflow python=3.7.6 激活环境变量:activate tensorflow_cpu 切换到下载目录,pip 进行安装 成功 不成功 ...
2021-02-07 12:15:18
334
原创 树莓派Ubuntu18.04安装ros,rosdep错误
# os-specific listings first yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx # generic yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml yaml https://raw.githubusercontent.com/ros/rosdistr
2020-05-20 21:59:35
473
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人