Static Public Member Functions | Static Private Member Functions
rqt_py_common.rqt_roscomm_util.RqtRoscommUtil Class Reference

List of all members.

Static Public Member Functions

def is_roscore_running
def iterate_packages
def list_files
def load_parameters

Static Private Member Functions

def _list_resources
def _list_types
def _msg_filter

Detailed Description

Definition at line 45 of file rqt_roscomm_util.py.


Member Function Documentation

def rqt_py_common.rqt_roscomm_util.RqtRoscommUtil._list_resources (   path,
  rfilter = os.path.isfile 
) [static, private]
Taken from rosmsg._list_resources

List resources in a package directory within a particular
subdirectory. This is useful for listing messages, services, etc...
:param rfilter: resource filter function that returns true if filename
        is the desired resource type, ``fn(filename)->bool``

Definition at line 175 of file rqt_roscomm_util.py.

def rqt_py_common.rqt_roscomm_util.RqtRoscommUtil._list_types (   path,
  ext 
) [static, private]
Taken from rosmsg

List all messages in the specified package
:param package str: name of package to search
:param include_depends bool: if True, will also list messages in
                     package dependencies.
:returns [str]: message type names

Definition at line 155 of file rqt_roscomm_util.py.

Taken from rosmsg._msg_filter

Definition at line 193 of file rqt_roscomm_util.py.

@rtype: bool

Definition at line 206 of file rqt_roscomm_util.py.

Iterator for packages that contain the given subdir.

This method is generalizing rosmsg.iterate_packages.

@param subdir: eg. 'launch', 'msg', 'srv', 'action'
@type subdir: str
@raise ValueError:

Definition at line 108 of file rqt_roscomm_util.py.

def rqt_py_common.rqt_roscomm_util.RqtRoscommUtil.list_files (   package,
  subdir,
  file_extension = '.launch' 
) [static]
#TODO: Come up with better name of the method.

Taken from rosmsg.
Lists files contained in the specified package

@param package: package name, ``str``
@param file_extension: Defaults to '.launch', ``str``
:returns: list of msgs/srv in package, ``[str]``

Definition at line 132 of file rqt_roscomm_util.py.

def rqt_py_common.rqt_roscomm_util.RqtRoscommUtil.load_parameters (   config,
  caller_id 
) [static]
Load parameters onto the parameter server.

Copied from ROSLaunchRunner.

@type config: roslaunch.config.ROSLaunchConfig
@raise RLException:

Definition at line 48 of file rqt_roscomm_util.py.


The documentation for this class was generated from the following file:


rqt_py_common
Author(s): Dorian Scholz, Isaac Saito
autogenerated on Wed Sep 16 2015 06:58:00