摘要: My turtlesim control node. and CMakeLists.txt: package.xml: 阅读全文
posted @ 2017-05-17 12:02 Montauk 阅读(477) 评论(0) 推荐(0)
摘要: 发布者跟订阅者都ok了, 现在要建立节点: 修改CMakeLists.txt 尾部增加这个: catkin_make一下吧. 开始运行吧: 首先talker: 然后另一个窗口 通过rosrun rqt_graph rqt_graph看看topic的中转吧: 阅读全文
posted @ 2017-05-17 10:53 Montauk 阅读(303) 评论(0) 推荐(0)
摘要: wget一下: https://raw.github.com/ros/ros_tutorials/kinetic-devel/roscpp_tutorials/listener/listener.cpp 阅读全文
posted @ 2017-05-17 10:33 Montauk 阅读(394) 评论(0) 推荐(0)
摘要: wget https://raw.github.com/ros/ros_tutorials/kinetic-devel/roscpp_tutorials/talker/talker.cpp 阅读全文
posted @ 2017-05-17 10:29 Montauk 阅读(644) 评论(0) 推荐(0)
摘要: 首先, msg, 消息可以理解成一个类, 或者结构体, 用于在C++跟Python之间传递数据用, 里面就是数据结构类似: int8, int16, int32, int64 (plus uint*) float32, float64 string time, duration other msg 阅读全文
posted @ 2017-05-17 09:47 Montauk 阅读(974) 评论(0) 推荐(0)