Package rosh :: Module plugin
[frames] | no frames]

Module plugin

source code

Classes
  PluginContext
  PluginData
Functions
 
reentrant_load(loaded_symbols, globals_)
Utility routine to allow plugins that have already loaded to initialize a new globals_ dictionary.
source code
 
globals_load(plugin_context, globals_, symbols)
Utility routine for plugins to load their symbols into the appropriate global symbol tables
source code
 
load_plugin(name, plugin_context, globals_=None)
Load ROSH plugin from another ROS package.
source code
Variables
  __package__ = 'rosh'
Function Details

load_plugin(name, plugin_context, globals_=None)

source code 

Load ROSH plugin from another ROS package.

load_plugin() loads the plugin into the rosh global symbol table. If globals_ is specified, plugin symbols will also be loaded into the provided dictionary.

Parameters:
  • globals_ (dict) - global symbol table to additionally load plugin to.
Raises: