TaskBridge

class suave.task_bridge.TaskBridge

Map task requests and cancellations to adaptation functions.

__init__()

Initialize task services and task-tracking state.

call_service(cli, request)

Call a ROS service and return its response within a bounded wait.

forward_task_cancel_request(function)

Report that subclasses must define cancellation forwarding.

forward_task_request(function)

Report that subclasses must define task-request forwarding.

task_cancel_cb(req, response)

Forward a task cancellation and remove the active task.

task_request(req, forward_request)

Apply a forwarding callback to every function required by a task.

task_request_cb(req, res)

Forward a task request and record it when successful.

Methods

__init__()

Initialize task services and task-tracking state.

call_service(cli, request)

Call a ROS service and return its response within a bounded wait.

forward_task_cancel_request(function)

Report that subclasses must define cancellation forwarding.

forward_task_request(function)

Report that subclasses must define task-request forwarding.

task_cancel_cb(req, response)

Forward a task cancellation and remove the active task.

task_request(req, forward_request)

Apply a forwarding callback to every function required by a task.

task_request_cb(req, res)

Forward a task request and record it when successful.

Attributes