Package rocon_utilities :: Module launch'
[frames] | no frames]

Module launch'

source code

Functions
 
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.
source code
 
get_roslaunch_pid(parent_pid)
Get the pid of the roslaunch process running in the terminal specified by the parent pid.
source code
 
main() source code
 
parse_arguments() source code
 
parse_rocon_launcher(rocon_launcher, default_roslaunch_options)
Parses an rocon multi-launcher (xml file).
source code
 
preexec()
Don't forward signals.
source code
 
signal_handler(sig, frame) source code
Variables
  __package__ = 'rocon_utilities'
  processes = []
  roslaunch_pids = []
Function Details

parse_rocon_launcher(rocon_launcher, default_roslaunch_options)

source code 

Parses an rocon multi-launcher (xml file).

Parameters:
  • rocon_launcher - xml file in rocon_launch format
  • default_roslaunch_options - options to pass to roslaunch (usually "--screen")
Raises:
  • IOError - if it can't find any of the individual launchers on the filesystem.

preexec()

source code 

Don't forward signals.

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