ROS-leaning-(2)-ActionLib
来源:互联网 发布:数据库内找账号密码 编辑:程序博客网 时间:2024/06/05 05:24
- Actionlib tutorial
The actionlib stack provides a standardized interface for interfacing withpreemptable tasks. Examples of this include moving the base to a target location, performing a laser scan and returning the resulting point cloud, detecting the handle of a door, etc.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 ROSservices.
In some cases, however, if the service takes a long time to execute, the user might want the ability tocancel 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.Viewing the Code
$ apt-get install ros-%DISTRO%-common-tutorials$ roscd actionlib_tutorials
Workspace Setup
$ cd %YOUR_CATKIN_WORKSPACE%/src$ catkin_create_pkg actionlib_tutorials actionlib message_generation roscpp rospy std_msgs actionlib_msgs
Beginner Tutorials
- Writing a Simple Action Server using the Execute Callback
This tutorial covers using the simple_action_server library to create a Fibonacci action server. This example action server generates a Fibonacci sequence, the goal is the order of the sequence, the feedback is the sequence as it is computed, and the result is the final sequence.
- Writing a Simple Action Client
This tutorial covers using the simple_action_client library to create a Fibonacci action client. This example program creates an action client and sends a goal to the action server.
- Running an Action Client and Server
This tutorial covers running the Fibonacci server and client then visualizing the channel output and node graph.
- Writing a Simple Action Server using the Execute Callback (Python)
This tutorial covers using the simple_action_server library to create a Fibonacci action server in Python. This example action server generates a Fibonacci sequence, the goal is the order of the sequence, the feedback is the sequence as it is computed, and the result is the final sequence.
- Writing a Simple Action Client (Python)
This tutorial covers using the action_client library to create a Fibonacci simple action client in Python.
- Writing a Simple Action Server using the Execute Callback
Intermediate Tutorials
- Writing a Simple Action Server using the Goal Callback Method
This tutorial covers using the simple_action_server library to create an averaging action server. This example shows how to use an action to process or react to incoming data from ros nodes. The action server averages data from a ros node, the goal is the number of samples to average, the feedback is the sample number, the sample data, the current average, and current standard deviation, and the result is the average and standard deviation of the requested number of samples.
- Writing a Threaded Simple Action Client
This tutorial covers using the simple_action_client library to create a averaging action client. This example program spins a thread, creates an action client, and sends a goal to the action server.
- Running an Action Server and Client with Other Nodes
This tutorial covers running the averaging action server and client with another data node then visualizing the channel output and node graph.
- Writing a Simple Action Server using the Goal Callback Method
Advanced Tutorials
Actionlib Document- Writing a Callback Based SimpleActionClient
Example of using callbacks for program flow that's more complicated than a simple, linear script.
- Writing a Callback Based SimpleActionClient
- Overview
- Detailed Description
- Client-Server Interaction
- Action Specification: Goal, Feedback, & Result
- .action File
- Catkin
- Rosbuild
- Results
- Using the ActionClient
- C++ SimpleActionClient
- Python SimpleActionClient
- Implementing an ActionServer
- C++ SimpleActionServer
- Python SimpleActionServer
- SimpleActionServer Goal Policies
- Tutorials
- Report a Bug
- ROS-leaning-(2)-ActionLib
- ROS ACTIONLIB
- ROS 使用方法 关于actionlib
- ROS actionlib-----简介
- ROS-leaning(3)-Gazebo
- ROS专题----actionlib简明笔记
- actionlib
- actionlib
- J2ME leaning! NO.2
- ros actionlib多客户端加单服务器的同步问题
- ROS actionlib-----应用实战(by goal-result-feedback callback)
- ROS 进阶学习笔记(18):ROS导航3:关于 ROS ActionLib 包
- 项目名字缩成rtp了:关于ROS actionlib的multiple goals
- 【ROS总结】教程Actionlib——使用Execute Callback编写一个简单的行为服务器
- actionlib 举例
- HIVE Leaning
- ROS入门2: ROS文件系统
- ros:(2)ros节点
- 机器学习中的数学(慢慢补充)
- Webrtc delay-base-bwe代码分析(5): AimdRateControl模块
- sigmoid和softmax总结
- 为什么要配置环境变量
- 六 访问控制权限总结
- ROS-leaning-(2)-ActionLib
- EventLoop与EventLoopGroup
- hdoj1019 Least Common Multiple(一组数的最小公倍数)
- C#调用WebService实例和开发
- 数组指针和指针数组
- centos 6.8 + make + pgql9.6
- Python学习手册(第三部分)
- 二叉树的各个考点
- viewpager跟HorizontalScrollView,listview冲突的问题