class Node(object):
Known subclasses: niryo_libraries.roslaunch.core.Test
Constructor: Node(package, node_type, name, namespace, ...)
Data structure for storing information about a desired node in the ROS system Corresponds to the 'node' tag in the launch specification.
| Method | __init__ |
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'... |
| Method | to |
convert representation into remote representation. Remote representation does not include parameter settings or 'machine' attribute :returns:: XML representation for remote machine, str |
| Method | to |
convert representation into XML representation. Currently cannot represent private parameters. :returns:: XML representation for remote machine, str |
| Method | xmlattrs |
Undocumented |
| Method | xmltype |
Undocumented |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | args |
Undocumented |
| Instance Variable | cwd |
Undocumented |
| Instance Variable | env |
Undocumented |
| Instance Variable | filename |
Undocumented |
| Instance Variable | launch |
Undocumented |
| Instance Variable | machine |
Undocumented |
| Instance Variable | machine |
Undocumented |
| Instance Variable | name |
Undocumented |
| Instance Variable | namespace |
Undocumented |
| Instance Variable | output |
Undocumented |
| Instance Variable | package |
Undocumented |
| Instance Variable | process |
Undocumented |
| Instance Variable | remap |
Undocumented |
| Instance Variable | required |
Undocumented |
| Instance Variable | respawn |
Undocumented |
| Instance Variable | respawn |
Undocumented |
| Instance Variable | type |
Undocumented |
niryo_libraries.roslaunch.core.Testadditional 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
| Parameters | |
| package | node package name, str |
| node | node type, str |
| name | node name, str |
| namespace | namespace for node, str |
| machine | name of machine to run node on, str |
| args | argument string to pass to node executable, str |
| respawn | if respawn is True, respawn node after delay, float |
| respawn | Undocumented |
| remap | list of [(from, to)] remapping arguments, [(str, str)] |
| env | list of [(key, value)] of |
| output | Undocumented |
| cwd | Undocumented |
| launch | Undocumented |
| required | Undocumented |
| filename | Undocumented |
| Raises | |
Unknown exception | ValueError If parameters do not validate |
convert representation into remote representation. Remote representation does not include parameter settings or 'machine' attribute :returns:: XML representation for remote machine, str