- 博客(125)
- 资源 (18)
- 收藏
- 关注
原创 ERROR: cannot download default sources list from: https://raw.githubusercontent.com/ros/rosdistro/ma
出现问题:bruce@bruce:~$ sudo rosdep initERROR: cannot download default sources list from:https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.listWebsite may be down.解决方法:在网上搜索后得知是由于raw.githubusercontent.com被墙,程序无法下载相
2020-08-29 21:41:38
4190
4
原创 树莓派设备端口号绑定
树莓派设备端口号绑定1、查看USB设备信息使用lsusbbruce@bruce-desktop:~$bruce@bruce-desktop:~$ lsusbBus 001 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial PortBus 001 Device 004: ID 0513:0318 digital-X, Inc.Bus 001 Device 007: ID 067b:2303 Prolific Tec
2020-08-18 10:13:23
1059
原创 操作ROS 的 msg文件 和 srv文件
一.msg文件1.1 msg文件就是一个简单的text文件msg文件就是一个简单的text文件,其中每行有一个类型和名称,可用的类型如下:int8, int16, int32, int64 (plus uint*)float32, float64stringtime, durationother msg filesvariable-length array[] and fixed-length array[C] Header(包含一个timestamp和坐标系信息)1.2 msg
2020-07-17 22:57:29
1620
原创 Python中使用 try 语句遇到的问题
1.IndentationError: unexpected indent(语法错误)bruce@bruce-desktop:~/catkin_ws$ rosrun my_serial_node serial_subscribe.py File "/home/bruce/catkin_ws/src/my_serial_node/scripts/serial_subscribe.py", line 56 try: ^IndentationError: unexpected inden
2020-07-17 22:49:35
660
原创 C语言、Python 字符型数据 和 整型,浮点型数据转换
1.python 字符串和整数的转换常用的格式化字符串:%d 整数%f%F 浮点数%e%E 科学计数%g%G e 和%f/%E 和%F 的简写 %% 输出%格式化操作符辅助指令 符号 作用 * 定义宽度或者小数点精度 - 用做左对齐 + 在正数前面显示加号( + ) <sp>
2020-07-14 11:24:23
1125
原创 树莓派使用USB To TTL 收发数据(Python版本)
1.出现问题:>>> import serial>>> ser= serial.Serial('/dev/ttyUSB0',115200,timeout=0.5)Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line
2020-07-09 17:20:06
3697
原创 Ubuntu Mate系统下melodic版本ROS,树莓派串口与STM32单片机串口通信
树莓派 与 STM32串口通信1、ubuntu电脑设置1.让电脑连接上树莓派,安装putty运行putty命令:putty2.安装串口调试工具cutecomUbuntu下串口调试工具运行cutecom命令:sudo cutecom
2020-06-24 09:51:09
1389
原创 Springboot 定时任务 调度远程服务方法 ,完成 Mqtt 遗嘱消息
一、Springboot 定时任务 调度远程服务方法 ,完成 Mqtt 遗嘱消息DEMO的主要功能为:springboot的定时调度任务,远程访问设备存储在数据库的断面信息,并将取到的断面信息发送给设备。相关配置,依赖,启动类如下:1.1相关配置#Mqtt消息的配置 mqtt.broker = tcp://177.168.7.184:1883mqtt.clientId = mqttRetainedmqtt.userName = clientmqtt.password = cli
2020-06-22 16:37:41
1701
原创 Springboot 写一个mqtt 发布/订阅案例(二)
其它的相关配置参考我这篇文章:Springboot 写一个mqtt 发布/订阅案例(一),在这篇文章中,就贴代码了。实现的功能是:将“订阅的数据” 同时“发布”出去。1.1 添加依赖<!-- mqtt --><dependency> <groupId>org.eclipse.paho</groupId> <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
2020-06-04 14:23:37
735
原创 Springboot 写一个mqtt 发布/订阅案例(一)
Springboot 写一个mqtt 发布/订阅案例一、配置MQTTfx 软件MQTTfx 这个软件 能够模拟 “发布”功能,也能模拟“订阅”功能。这里的 “地址和端口” 与 程序中 “mqtt地址” 是一致的。二、直接贴代码2.1 添加依赖<!-- mqtt --><dependency> <groupId>org.eclipse.paho</groupId> <artifactId>org.eclipse.pah
2020-06-02 17:31:36
3109
1
原创 ERROR: slow sql .. millis.
2020-05-20 15:10:51.684 INFO 13400 --- [nio-9008-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'2020-05-20 15:10:51.700 INFO 13400 --- [nio-9008-exec-1] o.s.web.servlet.DispatcherServlet : Completed ini
2020-05-20 15:22:09
14376
原创 springboot项目集成dataway工具,完成一个报表数据源的接口配置
1、 主要参考官网的配置进行操作1.1 官网地址:https://www.hasor.net/web/dataway/for_boot.html1.2 配置数据源的时候,还有网页调试时参考,采取这篇文章:在 Spring Boot 中使用 Dataway 配置数据查询接口但这篇文章,创建Mysql 表那边,和官网相比缺少 “api_option”,所以在这步,根据官网代码来操作。2、在 IDEA 上的配置要点环境配置:IDEA 、MyS数据库、Navica2.1 建立一个Springboot
2020-05-20 15:03:02
1468
1
原创 IDEAL install ways
安装查看这个网址文章:https://blog.youkuaiyun.com/qq_37788383/article/details/100160149第三步中:修改hosts文件时1,用管理员权限打开。2,https://www.cnblogs.com/wyqn/p/8683697.html win10这样操作,用命令行打开文件 cmd notepad hosts...
2020-03-17 16:38:25
154
原创 Windows 连接 树莓派(命令行+文件管理界面)
一、安装 SSH树莓派SSH连接-SSH服务安装与开机自动启动https://blog.youkuaiyun.com/qq813480700/article/details/71597808sudo apt-get install openssh-clientsudo apt-get install openssh-server树莓派3下开启SSH服务sudo dpkg-reconfigure ...
2020-01-13 10:30:24
1275
原创 ROS(launch 启动文件 + publisher/subscriber + service/client)
参考文章:1、ROS的启动文件 launch 使用方法2、实现 发布者的编程、订阅者的编程 步骤Publisher话题消息发布,Subscriber接收发布消息 的步骤3、客户端Client编程实现,用程序产生一个新的小乌龟。服务端Server编程,控制小乌龟。服务数据的定义与使用,Client 先 Request,Server 再 Response首先 需要创建 工作空间创...
2019-12-25 17:51:38
498
原创 RLException: [simple_launch] is neither a launch file in package [learning_launch] nor is [learning_
出现问题:RLException: [simple_launch] is neither a launch file in package [learning_launch] nor is [learning_launch] a launch file nameThe traceback for the exception was written to the log filebruce@b...
2019-12-25 16:41:22
5013
5
原创 [rospack] Error: package 'learning_service' not found
出现问题:[rospack] Error: package ‘learning_service’ not foundbruce@bruce-desktop:~$ rosrun learning_service person_server[rospack] Error: package 'learning_service' not found在最后运行时,出现error: package...
2019-12-25 14:41:01
2253
原创 [rosrun] Couldn't find executable named person_cilent below /home/bruce/catkin_ws/src/learning_servi
[rosrun] Couldn’t find executable named person_cilent below /home/bruce/catkin_ws/src/learning_service出现这个问题是我在运行 rosrun learning_service person_cilent 时,输入错误。应该是:rosrun learning_service person_cli...
2019-12-25 14:36:49
2721
原创 英语话题 Life experience
self-esteem自尊self-image自我形象self-repair自我修复self-respect自尊self-adjustment自我调整facing life’s ups and downsrespond to challenges,disappointment,joy,frustration,painb...
2019-12-09 19:10:01
535
原创 CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):Could not find a package configuration file provided by “std-msgs” with anyof the following names:std-msgsCon...
2019-12-02 19:36:41
20102
2
原创 安装 Ubuntu 操作系统(二)
参考我收藏夹文章收藏夹:Ubuntu 系统重装成功安装 Ubuntu。收藏夹地址:https://i.youkuaiyun.com/#/uc/collection-list
2019-11-29 14:19:07
226
原创 安装 Windows 操作系统(一)
参考我收藏夹文章收藏夹:windows 系统重装成功安装 win7。需要安装 win10 的,也可以作为参考。收藏夹地址:https://i.youkuaiyun.com/#/uc/collection-list
2019-11-29 14:16:46
166
原创 树莓派b+ CSI接口500万像素摄像头安装碰到的一些问题
安装参考博文下面是碰到的一些问题1、使用sudo apt-get install 安装软件的时候报错:dpkg: 处理归档 /var/cache/apt/archives/libexpat1-dev_2.2.5-3_amd64.deb (–unpack)时出错:正试图覆盖 /usr/include/expat.h,它同时被包含于软件包 expat-devel 2.2.6-2dpkg-d...
2019-11-26 10:23:05
895
原创 linux系统如何安装flash player
linux系统如何安装flash playerhttps://jingyan.baidu.com/article/f00622286117f9fbd3f0c8d8.html2.2 “tar -zxvf FlashPlayer.tar.gz” 解压文件 FlashPlayer.tar.gz ,在解压之前你要用 ls 找到文件的位置。...
2019-11-25 15:21:16
305
原创 树莓派HDMI—DVI 出现屏幕无信号/黑屏的问题
树莓派HDMI—DVI 出现屏幕无信号/黑屏的问题修改/boot/config.txt修改 :#uncomment to force a HDMI mode rather than DVI. This can make audio work in#DMT (computer monitor) modes#hdmi_drive=2 —注释掉就行了在Ubuntu mate 中,直接把 ...
2019-11-25 15:19:53
2268
原创 树莓派3B+ 安装ubuntu mate 、Windows 远程桌面
一、树莓派3B+ 安装ubuntu mate1、下载所需软件都直接下载最新版本的就行(1)镜像烧录软件https://sourceforge.net/projects/win32diskimager/(2)系统镜像 推荐使用Ubuntu Matehttp://ubuntu-mate.org/download/2、安装ubuntu mate2.2、解压烧录镜像 压缩包 时,要在 ...
2019-11-18 18:33:21
1040
原创 Mysql 数据库命令、读取MySQL数据
IntelliJ IDEA 连接数据库 详细过程https://www.cnblogs.com/Ran-Chen/p/9646187.htmlMysql 数据库命令进入终端,连接 mysqlmysql -h localhost -P3306 -u root -p注意啊,这句结尾没 分号,其它命令是有分号的显示数据表show databases;退出数据库ex...
2019-11-14 17:28:46
544
原创 Leisure activity
algebra equation代数方程式sent us up the wall把我们弄的苦恼head-spining tests头晕目眩的测试easy the pain减轻痛苦
2019-11-14 08:28:37
1942
原创 英语话题 Festival
1、电影(70th anniversary of the founding of PRC)lunar calendar农历 agriculturenationwide festival全国性节日valentine’s day西方的情人节所有中国节日我们祈求的是happiness幸福warmthhealth...
2019-11-02 19:29:08
298
原创 URDF 机器人建模(后面用 xacro模型)
1、机器人的组成2、给机器人构建 添加所需的模块包(在仿真时,需要真实显现这个模块的功能,而不要外接实际的硬件)2.1、摄像头2.2、Kinect (3D体感摄影机)3、URDF 建立机器人模型3.1、URDF 是用来构建机器人模型,在 rviz 和 Gazebo 中会用到。3.2、URDF 模型文件的编写(后面会用URDF模型进化版,xacro模型编写文件)3.2...
2019-10-31 18:55:13
871
原创 (客户端Client编程实现,用程序产生一个新的小乌龟。服务端Server编程,控制小乌龟。)
1、2、新建一个功能包,还是在之前创建的catkin_ws/src 里面创建3、创建 cpp、py 文件,在learning_service/src文件夹中4、创建好 cpp 文件,配置编译规则5、最后编译运行...
2019-10-22 10:25:11
351
Ubuntu Mate系统下melodic版本ROS,树莓派串口与STM32单片机串口通信、调用yaml文件参数
2020-06-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人