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

Module rlutil

source code

Uncategorized utility routines for roslaunch.

This API should not be considered stable.

Functions
 
check_log_disk_usage()
Check size of log directory.
source code
 
resolve_launch_arguments(args)
Resolve command-line args to roslaunch filenames.
source code
 
update_terminal_name(ros_master_uri)
append master URI to the terminal name
source code
 
change_terminal_name(args, is_core)
use echo (where available) to change the name of the terminal window
source code
 
get_or_generate_uuid(options_runid, options_wait_for_master)
:param options_runid: run_id value from command-line or ``None``, ``str`` :param options_wait_for_master: the wait_for_master command option.
source code
 
check_roslaunch(f)
Check roslaunch file for errors, returning error message if check fails.
source code
 
print_file_list(roslaunch_files)
:param roslaunch_files: list of launch files to load, ``str``
source code
Variables
  __package__ = 'roslaunch'
Function Details

check_log_disk_usage()

source code 

Check size of log directory. If high, print warning to user

resolve_launch_arguments(args)

source code 

Resolve command-line args to roslaunch filenames.

:returns: resolved filenames, ``[str]``

get_or_generate_uuid(options_runid, options_wait_for_master)

source code 

:param options_runid: run_id value from command-line or ``None``, ``str``
:param options_wait_for_master: the wait_for_master command
  option. If this is True, it means that we must retrieve the
  value from the parameter server and need to avoid any race
  conditions with the roscore being initialized. ``bool``

check_roslaunch(f)

source code 

Check roslaunch file for errors, returning error message if check fails. This routine is mainly to support rostest's roslaunch_check.

:param f: roslaunch file name, ``str`` :returns: error message or ``None``

print_file_list(roslaunch_files)

source code 

:param roslaunch_files: list of launch files to load, ``str``

:returns: list of files involved in processing roslaunch_files, including the files themselves.