Package roshlaunch :: 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
[str]
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) source code
str
check_roslaunch(f)
Check roslaunch file for errors, returning error message if check fails.
source code
 
namespaces_of(name) source code
Variables
  DEFAULT_MASTER_PORT = 11311
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: [str]
resolved filenames

get_or_generate_uuid(options_runid, options_wait_for_master)

source code 
Parameters:
  • options_runid (str) - run_id value from command-line or None
  • options_wait_for_master (bool) - 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.

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.

Parameters:
  • f (str) - roslaunch file name
Returns: str
error message or None