摘要: 这里从官方文档做一些整理,以备后续查看。msg的定义不用说了,这里说说msg在ros相关项目中实现的东西。1. msg overviewROS uses a simplified messages description language for describing the data values (akamessages) that ROSnodespublish. This description makes it easy for ROS tools to automatically generate source code for the message type in severa 阅读全文
posted @ 2013-05-22 19:04 IT屁民 阅读(2651) 评论(0) 推荐(0) 编辑
摘要: Q:Hi i am new to ROS, i have done the tutorials. But i am a bit unsure on how to read messages (in code)If i have a ros node which has subscribed to a topic /LaserScan see bellow std_msgs/Header header float32 angle_min float32 angle_max float32 angle_increment float32 time_increment float32 scan_ti 阅读全文
posted @ 2013-05-22 18:49 IT屁民 阅读(431) 评论(0) 推荐(0) 编辑
摘要: Q:Suppose I have the following string:s = 'Foo 1.000 3.000 3.554'I would like to read it with the textscan function as follows.[name x y z] = textscan(s, '%s %f %f %f')However, when I do this, I always get the Too many output arguments error.I think it has to do with the fact that te 阅读全文
posted @ 2013-05-22 10:37 IT屁民 阅读(220) 评论(0) 推荐(0) 编辑