Package roslaunch :: Module nodeprocess
[frames] | no frames]

Module nodeprocess

source code

Local process implementation for running and monitoring nodes.

Classes
  LocalProcess
Process launched on local machine
Functions
 
create_master_process(run_id, type_, ros_root, port)
Launch a master
source code
LocalProcess
create_node_process(run_id, node, master_uri)
Factory for generating processes for launching local ROS nodes.
source code
Variables
  __package__ = 'roslaunch'
Function Details

create_master_process(run_id, type_, ros_root, port)

source code 

Launch a master

Parameters:
  • type_ (str) - name of master executable (currently just Master.ZENMASTER)
  • ros_root (str) - ROS_ROOT environment setting
  • port (int) - port to launch master on
Raises:

create_node_process(run_id, node, master_uri)

source code 

Factory for generating processes for launching local ROS nodes. Also registers the process with the ProcessMonitor so that events can be generated when the process dies.

Parameters:
  • run_id (str) - run_id of launch
  • node (Node) - node to launch. Node name must be assigned.
  • master_uri (str) - API URI for master node
Returns: LocalProcess
local process instance
Raises: