- 博客(8)
- 收藏
- 关注
原创 ROSubuntu实战:了解ROS中的服务services和参数
在开始这部分前,要保证turtlesim_node正在运行。1. ROS Services除了之前所说的topic之外,Services是节点们之间通讯的另一种途径。services即服务,允许节点发送请求request并接受相应reponse。2. rosservicerosservice可以轻易地通过服务附加到ROS的client/service即客户/服务框架之上。rosservic...
2019-02-22 16:16:08 679
原创 ROSubuntu实战:理解话题topics
1.准备工作1.1 roscore在新的终端中,运行roscore1.2 turtlesim运行turtlesim$ rosrun turtlesim turtlesim_node1.3 乌龟键盘遥操作我们需要有东西来操控乌龟移动。打开新的终端输入$ rosrun turtlesim turtle_teleop_key现在可以使用键盘的箭头按钮来控制乌龟移动。切记一定要在tu...
2019-02-20 20:56:20 857
原创 ROSubuntu实战:理解节点NODE
1. 先决条件$ sudo apt-get install ros-<distro>-ros-tutorials2.图形概念概述node:节点是使用ROS与其他节点联系的可执行程序messages:向topic话题发送数据时,主要以message为载体topics:节点可以向话题发布消息,同时也可以订阅话题以接受消息master:ROS的名称服务,即帮助节点找到彼此r...
2019-02-19 16:11:17 685
原创 ROSubuntu实战:workspace与package
主要操作流程来自与维基百科ROS/Tutorials-ROS Wiki。之前其实已经操作过,不过用的QT,最后除了很多莫名其妙的问题,这次用最原始的方法,一步一步记录,希望找出自己的问题所在,并将ROS真正搞懂。1.为catkin建立工作空间workspace$ source /opt/ros/kinetic/setup.bash建立一个单独的文件夹,我是在文档中建立了wiki_linu...
2019-02-14 17:29:31 422
翻译 ROS_TF:Writing a tf listener
In the previous tutorials we created a tf broadcaster to publish the pose of a turtle to tf. In this tutorial we’ll create a tf listener to start using tf.1.How to create a tf listenerLet’s first cr...
2019-01-30 17:03:45 256
翻译 ROS_TF:Writing a tf broadcaster (C++)
In the next two tutorials we will write the code to reproduce the demo from the tf introduction tutorial. After that, the following tutorials focus on extending the demo with more advanced tf features...
2019-01-30 15:11:06 362
翻译 ROS:Writing a Simple Service and Client (C++)
ROS中的服务。通俗理解,ros中的topic适用于节点间的多对多通信,而service主要适用于一对一通信。1 Writing a Service NodeHere we’ll create the service (“add_two_ints_server”) node which will receive two ints and return the sum.Change dire...
2019-01-29 16:59:27 167
翻译 ROS:Writing a Simple Publisher and Subscriber (C++)
Writing a Simple Publisher and Subscriber (C++)功能快捷键撤销:Ctrl/Command + Z重做:Ctrl/Command + Y加粗:Ctrl/Command + B斜体:Ctrl/Command + I标题:Ctrl/Command + Shift + H无序列表:Ctrl/Command + Shift + U有序列表:Ctr...
2019-01-23 14:35:33 399
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人