摘要: Node之间必须有共同的话题 message 定义类似c++ struct 每次就是发送一个class过去 阅读全文
posted @ 2019-05-02 09:18 ecoflex 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 不了解一个进程的时候看下info i head forward j turn left l turn right k stop 一个node控制键盘和gazebo通信 再次查看rosnode list 可以看到多了一个 接下来打开摄像头: 阅读全文
posted @ 2019-05-02 09:11 ecoflex 阅读(158) 评论(0) 推荐(0) 编辑
摘要: PR2: personal robot 2 如何管理进程和它们之间的通信? node1 and 2 先在master上面注册,然后点对点通信 所以要通过roscore这个命令启动ros master 多个node启动,不用一个个启动,写launch文件 bringup就是最核心启动的东西 阅读全文
posted @ 2019-05-02 05:39 ecoflex 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 比如: 最下面一行表示是metapackage 这些在根目录下面有 所以定义一个navigation metapackage就是把不同的软件包组织起来 阅读全文
posted @ 2019-05-02 05:23 ecoflex 阅读(181) 评论(0) 推荐(0) 编辑
摘要: slides: https://www.gitbook.com/book/sychaichangkun/ros-tutorial-icourse163/details only on folder then apply catkin_make and we have much more files 阅读全文
posted @ 2019-05-02 05:18 ecoflex 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 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实践”. 阅读全文
posted @ 2019-05-02 03:43 ecoflex 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 建立工作空间:名字可以任意取,但里面必须有src文件夹 编译:用source把编译完的workspace刷新到环境变量里,这样系统才知道ros可执行文件在哪,才能运行。否则roslaunch找不到工作空间。 package is the most basic element for catkin m 阅读全文
posted @ 2019-05-02 03:16 ecoflex 阅读(135) 评论(0) 推荐(0) 编辑