This module handles the ROS interfaces for client resources managed by a scheduler for the Robotics in Concert (ROCON) project.
It wraps the resource_pool classes, adding ROS topic and service interfaces to its basic resource pool allocation and release. Derived classes may override those interfaces with different resource allocation policies.
Subscribes:
- concert_client_changes (concert_msgs/ConcertClients) containing updated client information known to the Conductor.
Publishes:
- resource_pool (scheduler_msgs/KnownResources) containing the current status of all resources known to the Scheduler.
Scheduler clients interface.
Parameters: | msg (concert_msgs/ConcertClient) – ROCON resource description message. |
---|
Provides all attributes defined for the base pool_resource class, plus these:
Handler for starting and stopping rapps on this resource.
Release this resource and stop any running rapps.
Parameters: | request_id (uuid.UUID or None) – Optional owning request. |
---|---|
Raises: | ResourceNotOwnedError if request_id is specified and is not the owner. |
Raises: | FailedToStopRappError if the associated client rapp does stop when requested. |
Scheduler clients interface.
Parameters: |
|
---|
Provides all attributes defined for the base resource_pool class, plus these:
Big scheduler lock for serializing updates.