摘要: 简介:编写一个node,实现通过该node进行barrett机械手的初始化。bhand_controller提供很多关于机械手操作的服务,如我们可以通过终端运行下面命令:$ rosservice call /bhand_node/actions "action: 1",实现机... 阅读全文
posted @ 2016-08-18 22:38 信雪神话 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 简介:介绍如何在一个node里调用现有的rosservice list查询到的service。 效果:通过talker publish需要调用服务的数据,listener接收到数据后调用服务进行三个整形数据相加,并返回相加和。 环境:ubuntu 14.04 +indigo. 备注:文中未详细介... 阅读全文
posted @ 2016-08-17 22:17 信雪神话 阅读(1851) 评论(0) 推荐(0) 编辑
摘要: 简介:介绍如何在一个node里调用现有的rosservice list查询到的service。效果:通过talker publish需要调用服务的数据,listener接收到数据后调用服务进行三个整形数据相加,并返回相加和。环境:ubuntu 14.04 +indigo.备注... 阅读全文
posted @ 2016-08-17 22:17 信雪神话 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 1 ros::init void ros::init ( const M_string & remappings, const std::string & name, uint32_t options = 0 ) ... 阅读全文
posted @ 2016-08-17 15:44 信雪神话 阅读(884) 评论(0) 推荐(0) 编辑
摘要: 1 ros::initvoid ros::init(const M_string & remappings,const std::string & name,uint32_t options = 0)alternate ROS initialization function.... 阅读全文
posted @ 2016-08-17 15:44 信雪神话 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 完整英文介绍见网址http://docs.ros.org/jade/api/roscpp/html/classros_1_1NodeHandle.html ros::NodeHandle1 NodeHandle::advertisePublisher ros::NodeH... 阅读全文
posted @ 2016-08-17 10:33 信雪神话 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 完整英文介绍见网址http://docs.ros.org/jade/api/roscpp/html/classros_1_1NodeHandle.html ros::NodeHandle 1 NodeHandle::advertise Publisher ros::NodeHand... 阅读全文
posted @ 2016-08-17 10:32 信雪神话 阅读(3991) 评论(0) 推荐(0) 编辑
摘要: 点击打开链接原文在这,搬运以便学习记录,感谢原作者#include "ros/ros.h" #include "std_msgs/String.h"//geometry_msgs #include "geometry_msgs/Twist.h"//包含elocity sp... 阅读全文
posted @ 2016-08-15 16:22 信雪神话 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 点击打开链接原文在这,搬运以便学习记录,感谢原作者 #include "ros/ros.h" #include "std_msgs/String.h"//geometry_msgs #include "geometry_msgs/Twist.h"//包含elocity space消息 #... 阅读全文
posted @ 2016-08-15 16:21 信雪神话 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 之前没有查找相关资料,过后发现有相似功能例程,网址:http://blog.csdn.net/scliu12345/article/details/44538927 之前以为ros::Rate 时间片用完后,会重新从while(ros::ok())开始,后来证明该想法是不对的,应该是从断点处继续... 阅读全文
posted @ 2016-08-06 22:17 信雪神话 阅读(216) 评论(0) 推荐(0) 编辑