上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: ##发布消息 #! /usr/bin/env python """ 发布方: 循环发送消息 """ import rospy from demo02_talker_listener.msg import Person if __name__ == "__main__": #1.初始化 ROS 节点 阅读全文
posted @ 2022-04-07 23:28 shamozhicheng 阅读(18) 评论(0) 推荐(0) 编辑
摘要: #http://www.autolabor.com.cn/book/ROSTutorials/ #include "ros/ros.h" #include "plumbing_pubsub/Person.h" void doPerson(const plumbing_pubsub::Person:: 阅读全文
posted @ 2022-04-07 23:25 shamozhicheng 阅读(7) 评论(0) 推荐(0) 编辑
摘要: #include "ros/ros.h" #include "plumbing_pubsub/Person.h" int main(int argc, char *argv[]) { setlocale(LC_ALL,""); ROS_INFO("这是消息发布方"); ros::init( argc 阅读全文
posted @ 2022-04-07 23:23 shamozhicheng 阅读(79) 评论(0) 推荐(0) 编辑
摘要: ros通信机制 阅读全文
posted @ 2022-04-05 14:36 shamozhicheng 阅读(16) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2022.cnblogs.com/blog/2298258/202202/2298258-20220213214716484-1468332036.png) 阅读全文
posted @ 2022-02-13 21:55 shamozhicheng 阅读(12) 评论(0) 推荐(0) 编辑
摘要: ##解决远程控制中断,导致任务中断问题 ####1.当与远程主机的会话被关闭时,在远程主机上运行的命令也随之被中断。 ####2.网络波动也有可能导致任务中断。 ####3.打开窗口太多,窗口命令输出太多,导致无法分辨 ###screen是一款能够实现多窗口远程控制的开源服务程序,简单来说就是为了解 阅读全文
posted @ 2021-12-16 16:52 shamozhicheng 阅读(27) 评论(0) 推荐(0) 编辑
摘要: ##方法一 ###1.输入命令nmtui 回车 ###2.根据配置项进行网络参数配置 ##方法二 ###1.vim /etc/sysconfig/network-scripts/ifcfg-ens33 ###2.修改参数 ONBOOT=yes ###3.重启网络服务 systemctl restar 阅读全文
posted @ 2021-12-16 14:54 shamozhicheng 阅读(203) 评论(0) 推荐(0) 编辑
摘要: #衡量CPU性能的指标: ##1,用户使用CPU的情况; CPU运行常规用户进程 CPU运行niced process CPU运行实时进程 ##2,系统使用CPU情况; 用于I/O管理:中断和驱动 用于内存管理:页面交换 用户进程管理:进程开始和上下文切换 ##3,WIO:用于进程等待磁盘I/O而使 阅读全文
posted @ 2021-10-18 11:11 shamozhicheng 阅读(4089) 评论(0) 推荐(0) 编辑
摘要: ##sql语句 1.关联查询修改字段值 update 表A left join 表B on A.id=B.id set A.a=B.b where id>20 2.select in 指定排序 select * from A where in ('a','b','c')oder by field ( 阅读全文
posted @ 2021-09-15 18:32 shamozhicheng 阅读(22) 评论(0) 推荐(0) 编辑
摘要: ##端口的作用: 我们知道一台主机(对应一个IP地址)可以提供很多服务,比如web服务,ftp服务等等。如果只有一个IP,无法却分不同的网络服务,所以我们采用”IP+端口号”来区分不同的服务。 ##端口的定义: 端口号是标识主机内唯一的一个进程,IP+端口号就可以标识网络中的唯一进程。在我们通常用的 阅读全文
posted @ 2021-09-02 11:13 shamozhicheng 阅读(2012) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页