Functions | Variables
rocon_launch::launch Namespace Reference

Functions

def _process_arg_tag
def choose_terminal
def get_roslaunch_pids
def main
def parse_arguments
def parse_rocon_launcher
def preexec
 Methods.
def signal_handler

Variables

 hold = False
list processes = []
 Global variables.
list roslaunch_pids = []

Function Documentation

def rocon_launch.launch._process_arg_tag (   tag,
  args_dict = None 
) [private]
  Process the arg tag. Kind of hate replicating what roslaunch does with
  arg tags, but there's no easy way to pull roslaunch code.

  @param args_dict : dictionary of args previously discovered

Definition at line 97 of file launch.py.

def rocon_launch.launch.choose_terminal (   gnome_flag,
  konsole_flag 
)
  Use ubuntu's x-terminal-emulator to choose the shell, or over-ride if it there is a flag.

Definition at line 194 of file launch.py.

  Search the pstree of the parent pid for any rocon launched process.

Definition at line 46 of file launch.py.

Definition at line 232 of file launch.py.

Definition at line 174 of file launch.py.

def rocon_launch.launch.parse_rocon_launcher (   rocon_launcher,
  default_roslaunch_options,
  args_mappings = {} 
)
  Parses an rocon multi-launcher (xml file).

  :param rocon_launcher str: xml string in rocon_launch format
  :param default_roslaunch_options list: options to pass to roslaunch (usually "--screen")
  :param args_mappings dict: command line mapping overrides, { arg_name : arg_value }
  @return launchers : list with launcher parameters as dictionary elements of the list.

  @raise IOError : if it can't find any of the individual launchers on the filesystem.

Definition at line 124 of file launch.py.

Methods.

  Don't forward signals.

  http://stackoverflow.com/questions/3791398/how-to-stop-python-from-propagating-signals-to-subprocesses

Definition at line 37 of file launch.py.

def rocon_launch.launch.signal_handler (   sig,
  frame 
)

Definition at line 69 of file launch.py.


Variable Documentation

Definition at line 30 of file launch.py.

Global variables.

Definition at line 28 of file launch.py.

Definition at line 29 of file launch.py.



rocon_launch
Author(s): Daniel Stonier
autogenerated on Fri May 2 2014 10:35:40