robokudo.utils.query

Classes

QueryHandler

QueryHandler provides an interface to interact with the ROS Action-based query interface.

Module Contents

class robokudo.utils.query.QueryHandler

Bases: object

QueryHandler provides an interface to interact with the ROS Action-based query interface. This wrapper eases the use of the various Blackboard variables devoted to the communication with the query interface.

static init_feedback_queue() None
static get_feedback_queue() queue.Queue
static send_feedback(feedback: robokudo_msgs.action.Query.Feedback) None

Add a feedback part of the Query msg to the feedback queue, ready to be sent.

static send_feedback_str(feedback_str: str) None

Add a simple string to the feedback to the feedback queue, ready to be sent.

static send_answer(result: robokudo_msgs.action.Query.Result) None
static send_arbitrary_answer(result: robokudo_msgs.action.Query.Result) None
static preempt_requested() bool
static acknowledge_preempt_request() None