Got many inspiration and imported from willow_app_manager implementation
Installs all dependencies of the specified rapp
Parameters: | dependency_checker (rocon_app_utilities.rapp_repositories.DependencyChecker) – DependencyChecker object for installation of the rapp dependencies |
---|---|
Returns: | A C{tuple} of a flag for the installation success and a string containing the reason of failure |
Return type: | C{tuple} |
Is the rapp both launched and currently running?
Actually three possible states 1) not launched 2) running, 3) stopped Could acutally return a tertiary value, but rapp manager doesn’t need to make any decision making about that (for now), so just return running or not.
Used by the rapp_manager.
Returns: | True if the rapp is executing or False otherwise. |
---|---|
Return type: | Bool |
Convert the published interfaces as a rocon_app_manager_msgs.PublishedInterface list.
Convert the published parameters as a rocon_std_msgs.KeyValue list.
Some important jobs here.
This guarantees that flipped entities generate unique node id’s that won’t collide when communicating with each other (refer to https://github.com/robotics-in-concert/rocon_multimaster/issues/136).
Parameters: |
|
---|
Converts rocon_app_utilities.Rapp into rocon_app_manager.Rapp
Parameters: | rapp_specs ({ancestor_name: rocon_app_utilities.Rapp}) – dict of rapp specification |
---|---|
Returns: | runnable rapps |
Return type: | {ancestor_name:rocon_app_manager.Rapp} |