ROS actionlib框架解析

ROS actionlib提供了一种在ROS server基础上,支持长时间任务中断和执行反馈的机制。它允许Action Client发送goal请求,Action Server执行并可能被取消。反馈机制允许服务器在执行过程中报告status、result和feedback。在机器人系统中,goal定义关节目标位置和速度,cancel用于取消指令,result指示目标是否成功,status表示机器人状态,feedback则包含关节实时位置和速度信息。
摘要由CSDN通过智能技术生成

actionlib的概念和作用:

ROS wiki的解释为:

In any large ROS based system, there are cases when someone would like to send a request to a node to perform some task, and also receive a reply to the request. This can currently be achieved via ROS services.
In some cases, however, if the service takes a long time to execute, the user might want the ability to cancel the request during execution or get periodic feedback about how the request is progressing. The actionlib package provides tools to create servers that execute long-running goals that can be preempted. It also provides a client interface in order to send requests to the server.

译:在任何基于ros的大型系统中,都存在这样的情况:有人希望向节点发送请求以执行某些任务,同时也希望收到对请求的回复。这目前可以通过ros server实现。
但是,在某些情况下,如果服务需要很长时间才能执行,则用户可能希望能够在执行期间取消请求,或获得有关

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值