摘要: 记录1: https://pypi.org/project/roslibpy/ 记录2: def message_callback_pause(self, message): pass def ros_run(self): client = roslibpy.Ros(host='192.168.64 阅读全文
posted @ 2023-08-03 10:13 hello_tree 阅读(18) 评论(0) 推荐(0)
摘要: https://cloud.tencent.com/developer/article/2089139 阅读全文
posted @ 2023-08-03 09:25 hello_tree 阅读(19) 评论(0) 推荐(0)
摘要: https://www.lmlphp.com/user/19897/article/item/503866/ adb shell monkey -p com.keenon.peanut.solutionfooddelivery --pct-syskeys 0 --ignore-crashes --i 阅读全文
posted @ 2023-06-21 17:00 hello_tree 阅读(31) 评论(0) 推荐(0)
摘要: import time import pywifi from pywifi import const #有密码 def connect_wifi_password(name, password): wifi = pywifi.PyWiFi() # 创建一个wifi对象 ifaces = wifi.i 阅读全文
posted @ 2023-04-21 13:42 hello_tree 阅读(292) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/hsukang/p/17132256.html 阅读全文
posted @ 2023-04-07 16:52 hello_tree 阅读(12) 评论(0) 推荐(0)
摘要: 前置更新文件: 其中,<文件路径>是要强制更新的文件的路径。 这个命令将从仓库的最新提交中检出指定的文件,并覆盖本地的文件内容。注意,这将导致本地对该文件进行的任何修改都会丢失,请谨慎使用。 git checkout HEAD -- <文件路径> 前置更新文件夹 git checkout HEAD 阅读全文
posted @ 2023-04-04 11:40 hello_tree 阅读(151) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/weixin_38809962/article/details/126966598 AttributeError: ‘NoneType‘ object has no attribute ‘shape‘ 出现以上问题,原因大致可分为一下几种: 1.图片不存在 阅读全文
posted @ 2023-03-28 10:02 hello_tree 阅读(93) 评论(0) 推荐(0)
摘要: 1. 可能原因就是不是root 用户登录的 2、文件夹权限需要改变 https://blog.csdn.net/weixin_42895478/article/details/114928866 阅读全文
posted @ 2023-03-24 14:09 hello_tree 阅读(622) 评论(0) 推荐(0)
摘要: import restr = "电量低4%实在不能工作了adbds"info = re.findall(r'\d', str)a=''.join(info)print(re.findall(r'[a-zA-Z]',str)) # 取带小写字母print(re.findall(r'[^u4e00-u9 阅读全文
posted @ 2023-03-07 19:41 hello_tree 阅读(29) 评论(0) 推荐(0)
摘要: 1. 不能有重复的文件和文件夹名称 2. 尽量不要命名重复的文件名,即使不在同一个文件下 Traceback (most recent call last):File "/home/lll/zzz/work/video/zzz/generate.py", line 7, in <module>imp 阅读全文
posted @ 2023-03-07 15:53 hello_tree 阅读(43) 评论(0) 推荐(0)