__init__(self,
package,
node_type,
name=None,
namespace=' / ' ,
machine_name=None,
args='
' ,
respawn=False,
respawn_delay=0.0,
remap_args=None,
env_args=None,
output=None,
cwd=None,
launch_prefix=None,
required=False,
filename=' <unknown> ' )
(Constructor)
| source code
|
:param package: node package name, ``str`` :param node_type: node
type, ``str`` :param name: node name, ``str`` :param namespace: namespace
for node, ``str`` :param machine_name: name of machine to run node on,
``str`` :param args: argument string to pass to node executable, ``str``
:param respawn: if True, respawn node if it dies, ``bool`` :param
respawn: if respawn is True, respawn node after delay, ``float`` :param
remap_args: list of [(from, to)] remapping arguments, ``[(str, str)]``
:param env_args: list of [(key, value)] of additional environment vars to
set for node, ``[(str, str)]`` :param output: where to log output to,
either Node, 'screen' or 'log', ``str`` :param cwd: current working
directory of node, either 'node', 'ROS_HOME'. Default: ROS_HOME, ``str``
:param launch_prefix: launch command/arguments to prepend to node
executable arguments, ``str`` :param required: node is required to stay
running (launch fails if node dies), ``bool`` :param filename: name of
file Node was parsed from, ``str``
:raises: :exc:`ValueError` If parameters do not validate
- Overrides:
object.__init__
|