module documentation

Uncategorized utility routines for roslaunch.

This API should not be considered stable.

Function change_terminal_name use echo (where available) to change the name of the terminal window
Function check_log_disk_usage Check size of log directory. If high, print warning to user
Function check_roslaunch Check roslaunch file for errors, returning error message if check fails. This routine is mainly to support rostest's roslaunch_check.
Function get_or_generate_uuid No summary
Function print_file_list No summary
Function resolve_launch_arguments Resolve command-line args to roslaunch filenames.
Function update_terminal_name append master URI to the terminal name
Function _set_terminal Undocumented
Function _wait_for_master Block until ROS Master is online
Variable _terminal_name Undocumented
def change_terminal_name(args, is_core):

use echo (where available) to change the name of the terminal window

def check_log_disk_usage():

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

def check_roslaunch(f, use_test_depends=False, ignore_unset_args=False):

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

Parameters
froslaunch file name, str
use_test_dependsConsider test_depends, Bool
ignore_unset_argsConsider ignore default arg requirements, Bool
Returns
error message or None
def get_or_generate_uuid(options_runid, options_wait_for_master):
Parameters
options_runidrun_id value from command-line or None, str
options_wait_for_masterthe 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
def print_file_list(roslaunch_files):
Parameters
roslaunch_fileslist of launch files to load, str
Returns
list of files involved in processing roslaunch_files, including the files themselves.
def resolve_launch_arguments(args):

Resolve command-line args to roslaunch filenames.

Returns
resolved filenames, [str]
def update_terminal_name(ros_master_uri):

append master URI to the terminal name

def _set_terminal(s):

Undocumented

def _wait_for_master():

Block until ROS Master is online

Raises
Unknown exceptionRuntimeError If unexpected error occurs
_terminal_name =

Undocumented