Package rosh
[frames] | no frames]

Package rosh

source code

ROS Shell (rosh).

Higher-level, interactive scripting environment for ROS.

Submodules

Functions
 
get_default_plugin_context() source code
 
kill(obj) source code
 
load(name, globals_=None)
Load plugin.
source code
 
ok()
Returns: True if ok to keep executing, False if script should exit.
source code
 
rosh_init() source code
Variables
  __package__ = 'rosh'
  ctx = None
hash(x)
  latching = True
  msg = None
hash(x)
  nodes = None
hash(x)
  parameters = None
hash(x)
  services = None
hash(x)
  srv = None
hash(x)
  topics = None
hash(x)
Function Details

load(name, globals_=None)

source code 

Load plugin. This loads the plugin into the rosh global symbol table. If globals_ is specified, plugin symbols will also be loaded into the provided dictionary. Common usage is:

   load_plugin('plugin_name', globals())
Parameters:
  • globals_ (dict) - global symbol table to additionally load plugin to.

ok()

source code 
Returns:
True if ok to keep executing, False if script should exit.