Package rosh :: Package impl :: Module proc
[frames] | no frames]

Module proc

source code

ROSH library for running processes.

This library is necessary as ROSH commands, like set_master, can manipulate the environment in ways that would affect subprocesses.

Classes
  Process
ROSH wrapper for processes to make them kill-able
Functions
 
run(config, cmd, stdout=True)
Run the specified command using the current ROS configuration.
source code
(roslaunch.Node, roslaunch.Process)
launch_node(ctx, pkg, type_, args=[], remap={}, stdout=False)
Low-level launch() API for internal ROSH and ROSH plugin use.
source code
 
launch_roslaunch_file(ctx, roslaunch_filename) source code
Node
launch_roslaunch_Node(ctx, node)
Launch a Node instance.
source code
Variables
  __package__ = 'rosh.impl'
Function Details

launch_node(ctx, pkg, type_, args=[], remap={}, stdout=False)

source code 

Low-level launch() API for internal ROSH and ROSH plugin use.

Parameters:
  • ctx (Context) - ROSH context
  • pkg - package name
  • type_ - node type
Returns: (roslaunch.Node, roslaunch.Process)
Node and Process instance

launch_roslaunch_Node(ctx, node)

source code 

Launch a Node instance. This is a low-level launch() API for internal ROSH and ROSH plugin use.

Parameters:
  • ctx (Context) - ROSH context
  • node (roslaunch.Node) - node instance. The name attribute may be overwritten.
Returns: Node
Node instance