ros2action.api package

Module contents

class ros2action.api.ActionGoalPrototypeCompleter(*, action_type_key=None)

Bases: object

Callable returning an action goal prototype.

class ros2action.api.ActionTypeCompleter(*, action_name_key=None)

Bases: object

Callable returning a list of action types.

ros2action.api.action_name_completer(prefix, parsed_args, **kwargs)

Callable returning a list of action names.

ros2action.api.action_type_completer(**kwargs)

Callable returning a list of action types.

ros2action.api.get_action_class(node: rclpy.node.Node, action_name: str)

Load action type module for the given action.

The action should be running for this function to find the action type. :param node: The node object of rclpy Node class. :param action_name: The fully-qualified name of the action. :return: the action class or None

ros2action.api.get_action_clients_and_servers(*, node, action_name)
ros2action.api.get_action_names(*, node)
ros2action.api.get_action_names_and_types(*, node)