Definition at line 45 of file rqt_roscomm_util.py.
def rqt_py_common.rqt_roscomm_util.RqtRoscommUtil._list_resources |
( |
|
path, |
|
|
|
rfilter = os.path.isfile |
|
) |
| |
|
staticprivate |
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 170 of file rqt_roscomm_util.py.
def rqt_py_common.rqt_roscomm_util.RqtRoscommUtil._list_types |
( |
|
path, |
|
|
|
ext |
|
) |
| |
|
staticprivate |
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 150 of file rqt_roscomm_util.py.
def rqt_py_common.rqt_roscomm_util.RqtRoscommUtil._msg_filter |
( |
|
ext | ) |
|
|
staticprivate |
def rqt_py_common.rqt_roscomm_util.RqtRoscommUtil.is_roscore_running |
( |
| ) |
|
|
static |
def rqt_py_common.rqt_roscomm_util.RqtRoscommUtil.iterate_packages |
( |
|
subdir | ) |
|
|
static |
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 105 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 129 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: