ROSLaunchConfig is the container for the loaded roslaunch file state. It also is responsible for validating then executing the desired state.
Method | __init__ |
Initialize an empty config object. Master defaults to the environment's master. |
Method | add |
Declare a parameter to be cleared before new parameters are set @param param: parameter to clear @type param: str |
Method | add |
Report human-readable error message related to configuration error @param msg: error message @type msg: str |
Method | add |
Declare an executable to be run during the launch @param exe: Executable @type exe: L{Executable} @raises ValueError |
Method | add |
Declare a machine and associated parameters so that it can be used for running nodes. @param m: machine instance @type m: L{Machine} @return: True if new machine added, False if machine already specified... |
Method | add |
Add node declaration @param node: node instance to add to launch @type node: L{Node} @param core: if True, node is a ROS core node @type core: bool @raises RLException: if ROS core node is missing required name... |
Method | add |
Declare a parameter to be set on the param server before launching nodes @param p: parameter instance @type p: L{Param} |
Method | add |
Add metadata about file used to create config |
Method | add |
Add test declaration. Used by rostest @param test: test node instance to add to launch @type test: L{Test} |
Method | assign |
Assign nodes to machines and determine whether or not there are any remote machines |
Method | has |
@return: True if roslaunch will launch nodes on a remote machine @rtype: bool @raises: RLException |
Method | set |
Set the master configuration @param m: Master @type m: L{Master} |
Method | summary |
Get a human-readable string summary of the launch @param local bool: if True, only print local nodes @return: summary @rtype: str |
Instance Variable | clear |
Undocumented |
Instance Variable | config |
Undocumented |
Instance Variable | executables |
Undocumented |
Instance Variable | logger |
Undocumented |
Instance Variable | machines |
Undocumented |
Instance Variable | master |
Undocumented |
Instance Variable | nodes |
Undocumented |
Instance Variable | nodes |
Undocumented |
Instance Variable | params |
Undocumented |
Instance Variable | resolved |
Undocumented |
Instance Variable | roslaunch |
Undocumented |
Instance Variable | tests |
Undocumented |
Method | _select |
Select a machine for a node to run on. For nodes that are already assigned to a machine, this will map the string name to a L{Machine} instance. If the node isn't already tagged with a particular machine, one will be selected for it... |
Instance Variable | _assign |
Undocumented |
Instance Variable | _remote |
Undocumented |
Declare a parameter to be cleared before new parameters are set @param param: parameter to clear @type param: str
Report human-readable error message related to configuration error @param msg: error message @type msg: str
Declare an executable to be run during the launch @param exe: Executable @type exe: L{Executable} @raises ValueError
Declare a machine and associated parameters so that it can be used for running nodes. @param m: machine instance @type m: L{Machine} @return: True if new machine added, False if machine already specified. @rtype: bool @raises RLException: if cannot add machine as specified
Add node declaration @param node: node instance to add to launch @type node: L{Node} @param core: if True, node is a ROS core node @type core: bool @raises RLException: if ROS core node is missing required name
Declare a parameter to be set on the param server before launching nodes @param p: parameter instance @type p: L{Param}
Add test declaration. Used by rostest @param test: test node instance to add to launch @type test: L{Test}
Get a human-readable string summary of the launch @param local bool: if True, only print local nodes @return: summary @rtype: str
Select a machine for a node to run on. For nodes that are already assigned to a machine, this will map the string name to a L{Machine} instance. If the node isn't already tagged with a particular machine, one will be selected for it. @param node: node to assign machine for @type node: L{Node} @return: machine to run on @rtype: L{Machine} @raises RLException: If machine state is improperly configured