common

This module provides some common definitions for the ROCON resource scheduler, part of the Robotics in Concert project.

rocon_scheduler_requests.common.HEARTBEAT_HZ = 0.25

Default requester heartbeat frequency (Hz).

rocon_scheduler_requests.common.SCHEDULER_TOPIC = 'rocon_scheduler'

Default ROCON scheduler topic name.

rocon_scheduler_requests.common.feedback_topic(uuid, scheduler_topic='rocon_scheduler')[source]

Construct scheduler feedback topic name.

Parameters:
  • uuid (uuid.UUID) – UUID of the requester.
  • topic (str) – Topic name for the corresponding scheduler. If missing, the usual scheduler topic name is assumed.
Returns:

Topic name string for replying to this requester.

Previous topic

rocon_scheduler_requests

Next topic

exceptions

This Page