摘要: publisher #!/usr/bin/env python # license removed for brevity import rospy from std_msgs.msg import String def talker(): pub = rospy.Publisher('chatte 阅读全文
posted @ 2023-08-02 11:02 langyong 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 1、在Pycharm中右键运行python程序时出现Run 'pytest' in XXX.py,这是进入了Pytest模式。2、解决办法进入到File - Seetings - Tools - Python integrated Tools页面,找到Testing下的Default test ru 阅读全文
posted @ 2023-08-02 10:23 langyong 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 1. 先配置pycharm的Poject Structure 打开Pycharm --> File --> Settings --> Project:项目名 --> Project Structure --> +Add Content Root,添加上会用到的库 /opt/ros/melodic/l 阅读全文
posted @ 2023-08-01 17:12 langyong 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 问题:在webots里使用rospy时报warning。 分析:无 解决方案:参考https://blog.csdn.net/ckkboy/article/details/98504880 1. 在/etc/下创建ros目录 cd /etc/ sudo mkdir ros 2. 将python_lo 阅读全文
posted @ 2023-08-01 16:56 langyong 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 首次提交:1、通过命令 git init 把这个目录变成git可以管理的仓库git init2、把文件添加到版本库中 -- 通过命令 git add . / git add -A 将所有文件添加到暂存区,注意后面的小数点“.”和“-A”,意思是为添加文件夹下的所有文件,如果需添加指定文件夹 git 阅读全文
posted @ 2021-12-23 08:14 langyong 阅读(40) 评论(0) 推荐(0) 编辑
摘要: sudo apt install sendmail sendmail -h man sendmail sendmail "邮箱地址" < "hello" 阅读全文
posted @ 2021-12-23 08:11 langyong 阅读(58) 评论(0) 推荐(0) 编辑
摘要: apt-get install libbluetooth3 libbluetooth3-dbg libbluetooth-dev 阅读全文
posted @ 2021-09-28 19:58 langyong 阅读(53) 评论(0) 推荐(0) 编辑
摘要: ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE) Failed to start Docker Application Co 阅读全文
posted @ 2021-04-01 18:48 langyong 阅读(338) 评论(0) 推荐(0) 编辑
摘要: GOOS:目标平台的操作系统(darwin、freebsd、linux、windows) GOARCH:目标平台的体系架构(386、amd64、arm) 交叉编译不支持 CGO 所以要禁用它 make build GOOS=myTargetOS GOARCH=myTargetArchitecture 阅读全文
posted @ 2021-03-29 14:18 langyong 阅读(86) 评论(0) 推荐(0) 编辑
摘要: #deb包deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ xenial-security main restri 阅读全文
posted @ 2021-03-24 19:30 langyong 阅读(74) 评论(0) 推荐(0) 编辑