clinet ->client client.call(srv) 就是handlefunction返回的bool结果 接下来要修改cmakelist.txt但是这里省略了 ...
分类:
其他好文 时间:
2019-05-04 09:17:16
阅读次数:
130
在VIM中进行文本替换: 1. 替换当前行中的内容: :s/from/to/ (s即substitude) :s/from/to/ : 将当前行中的第一个from,替换成to。如果当前行含有多个 from,则只会替换其中的第一个。 :s/from/to/g : 将当前行中的所有from都替换成to。 ...
分类:
系统相关 时间:
2019-05-04 00:32:54
阅读次数:
143
What Is Cloud Native Infrastructure? Infrastructure is all the software and hardware that support applications.This includes data centers, operating s ...
分类:
其他好文 时间:
2019-05-04 00:21:37
阅读次数:
109
topic是一种信息传递模式,这里先看下service topic是一种单项传输信息的模式,在下面的场景:右node会连续不断发送数据给左node 也可以写一个服务,让右边node接收到信息才开始发送,但是这样写起来很麻烦 此时应该用service node a发送请求,node b才会发送信息回来 ...
分类:
其他好文 时间:
2019-05-03 11:25:11
阅读次数:
148
Chapter 1 // 需求:你要封装一个方法,我给你一个要读取文件的路径,你这个方法能帮我读取文件,并把内容返回给我 // 这是普通读取文件的方式 // 初衷: 给定文件路径,返回读取到的内容// 我们可以规定一下, callback 中,有两个参数,第一个参数是失败的结果;第二个参数是成功的结 ...
分类:
其他好文 时间:
2019-05-02 21:38:15
阅读次数:
155
slides: https://www.gitbook.com/book/sychaichangkun/ros-tutorial-icourse163/details only on folder then apply catkin_make and we have much more files ...
分类:
其他好文 时间:
2019-05-02 10:10:57
阅读次数:
161
PR2: personal robot 2 如何管理进程和它们之间的通信? node1 and 2 先在master上面注册,然后点对点通信 所以要通过roscore这个命令启动ros master 多个node启动,不用一个个启动,写launch文件 bringup就是最核心启动的东西 ...
分类:
其他好文 时间:
2019-05-02 09:57:43
阅读次数:
187
packages are like the organs of a body. this stucture has no function... if you are not familar with the cmake written style, read the book “cmake实践”. ...
分类:
其他好文 时间:
2019-05-02 09:44:43
阅读次数:
152
建立工作空间:名字可以任意取,但里面必须有src文件夹 编译:用source把编译完的workspace刷新到环境变量里,这样系统才知道ros可执行文件在哪,才能运行。否则roslaunch找不到工作空间。 package is the most basic element for catkin m ...
分类:
其他好文 时间:
2019-05-02 09:35:43
阅读次数:
117
比如: 最下面一行表示是metapackage 这些在根目录下面有 所以定义一个navigation metapackage就是把不同的软件包组织起来 ...
分类:
Web程序 时间:
2019-05-02 09:24:57
阅读次数:
165