自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 已解决CMake Error: Could not find CMAKE_ROOT !!!

在进行编译打时候,提示这个 Modules directory not found in /usr/share/cmake-3.20,我打开该路径发现根本没有这个cmake-3.20包(因为我在下载目录下编译cmake 的),因此只需要复制到/usr/share目录下,首先找到编译的cmake文件(我安装打cmake-3.20.5),在该路径下使用:sudo mv cmake-3.20.5 /usr/share/cmake-3.20可以看到已经复制过来,再次运行catkin_mak...

2021-09-03 11:29:10 10666

原创 《ROS机器人开发实践》编译github上的code遇到等问题

1,/usr/bin/ld: 找不到 -lmsc解决方法msc是科大讯飞的库,在ros_voice中的lib下找到libmsc这个库,拷贝到/usr/lib下即可2,/home/ross/catkin_ws1/build/ros_exploring/ros_advanced/dynamic_tutorials/setup_custom_pythonpath.sh: 5: exec: /home/ross/catkin_ws1/src/ros_exploring/ros_advanced/dy

2021-08-16 09:53:18 289

原创 树莓派ubuntu 20.10启动串口通讯

原文地址https://askubuntu.com/questions/1254376/enable-uart-communication-on-pi4-ubuntu-20-04

2021-05-30 10:10:16 315

原创 树莓派ubuntu系统20.10安装pigpio

树莓派ubuntu系统20.10安装pigpioIf the pigpio daemon is running it should be killed (sudo killall pigpiod) before make install and restarted afterwards (sudo pigpiod).The initial part of the make, the compilation of pigpio.c, takes 100 seconds on early model Pis

2021-05-26 15:35:18 763

转载 tensorflow/lite/micro/tools/make/Makefile:61: *** The TAGS command line option is no longer supporte

error:tensorflow/lite/micro/tools/make/Makefile:61: *** The TAGS command line option is no longer supported in the TFLM Makefile.解决方案参考:https://github.com/tensorflow/tensorflow/issues/46667原因:TAGS已经废弃,将这个删掉或者改成OPTIMIZED_KERNEL_DIR=cmsis_nnmake -f tensor

2021-04-22 15:33:18 409

原创 Python子类父类多线程理解class Producer(threading.Thread):

class Producer(threading.Thread): def __init__(self,data_queue,*args,**kwargs): super(Producer, self).__init__(*args,**kwargs) self.data_queue = data_queue``1.最近看到这段代码,记录一哈自己对这段代码的理解(当然请教了别人的),class producer 是建立了一个名字为Producer 的类,

2021-04-14 19:28:46 523

原创 关于detectMultiScale返回值为空元组的解决办法

关于detectMultiScale返回值为元组的解决办法1 网上纠错1 网上纠错完整代码:import osimport cv2def face_dateset(): cam = cv2.VideoCapture(0, cv2.CAP_DSHOW) cam.set(3, 640) # set video width cam.set(4, 480) # set video height i = 0 face_detector = cv2.Casca

2021-03-22 14:07:12 1537 1

原创 通过USB转TTL控制树莓派

通过串口控制树莓派安照网上教程配置好ttyAMA0安照网上教程配置好ttyAMA01,ls /dev -al 查看串口配置2 sudo anno /boot/config.txt,打开配置文件将serial0 配置成ttyAMA03 串口与电脑连接好USB转TTL数据线4 sudo rrboot在串口界面就可以登录了,输入pi ,密码这样就登录界面咯,可以在这个界面操作咯...

2021-03-17 21:06:10 577

原创 树莓派与pycharm远程连接报错:/usr/bin/python: can‘t open file ‘C:/Users/Administrator/PycharmProjects/pythonPro

树莓派与pycharm远程连接报错:/usr/bin/python: can’t open file ‘C:/Users/Administrator/PycharmProjects/pythonProject4/main.py’: [Errno 2] No such file or directory当远程连接报错的原因是:在树莓派的文件里面中找不到duoji.py这个项目来执行。在树莓派窗口搜索不存在。步骤1,打开python interpreter 看是否为空路径,如果为空则添加相应的路径。(任意找

2021-03-14 15:23:32 7835

原创 Python上手初体验

@[TOC]Python上手总结知识点基础1.注释行: 利用#进行注释2.字面常量:a数字:分为整数(integers)和浮点数(Floats);b字符串:可以用单引号(’)双引号(’’)和三引号(’’’ or “”")定义字符串,注意还可以同过format定义字符串,有时如果字符串中含有’时,python会对字符串开始和结束的位置感到困惑如(‘what’s your name’),这时需要用转义序列,变成(‘what’s your name’ or “what\'s your name” or

2021-03-10 15:14:35 244 1

原创 51单片机和ESP8266实现通讯点亮led灯的编程思想和代码

51单片机和ESP8266实现通讯的编程思想和代码1硬件电路硬件就不细说咯,注意:51单片机上的TXD(P31)需要连上esp8266的RXD,单片机上的RXD(P3^0)需要连上esp8266的TXD,esp8266的RXD的EN端连接上5V电压(高电平的时候使能)2编程思想 在使用esp8266的时候需要在电脑上运用串口助手进行调试(调节波特率,设置工作方式等),当转移到51单片机上使用时,同样需要对ESP8266进行初始化,同时还需要对单片机进行初始化配置(开定时器,开串口中断等)。然后在

2021-03-08 21:51:25 2446 2

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除