Module actionlib
Actionlib implementation for Lua. This module and its sub-modules provide tools to make use of actionlib from within Lua.
Copyright© Tim Niemueller, Carnegie Mellon University, Intel Research Pittsburgh
Release: Released under BSD license
Functions
action_client (name, type, flags) | Create a new action client. |
action_server (name, type, goal_cb, spin_cb, cancel_cb) | Create a new action server. |
Functions
- action_client (name, type, flags)
-
Create a new action client. This is a convenience method for ActionClient:new(). Since no registration is performed it is ok to use the constructor directly.
Parameters
- name: name of the action client
- type: type of the action (i.e. the package-prefixed action file)
- flags: Optional table of flags, passed as named arguments exactly as in the table
- action_server (name, type, goal_cb, spin_cb, cancel_cb)
-
Create a new action server. This is a convenience method for ActionServer:new(). Since no registration is performed it is ok to use the constructor directly.
Parameters
- name: name of the action server
- type: type of the action (i.e. the package-prefixed action file)
- goal_cb: goal callback
- spin_cb: spin callback
- cancel_cb: cancel callback (optional)