You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rosnode is not found as a node due to the install issues as reported #2262. However, if we manually add the rosnode as a node, by the change suggested in that PR, it will still fail to run the kill all command. Because, roslaunch gives the node name and log file as arguments to the node, and the rosnode script does not allow any other args as in the lines below
parser.error("invalid arguments with kill all (-a) option")
For example, when we run the above launch file, the args will be non-empty, with the contents: ['__name:=kill_all_nodes', '__log:=/blabla/.ros/log/flhais84523589nlaf/kill_all_nodes-1.log']
A solution might be removing the if condition here, but it may be needed for some other reason I don't know.
The text was updated successfully, but these errors were encountered:
We have a launch file with the following:
<node pkg="rosnode" type="rosnode" name="kill_all_nodes" args="kill -a" />
Rosnode is not found as a node due to the install issues as reported #2262. However, if we manually add the rosnode as a node, by the change suggested in that PR, it will still fail to run the kill all command. Because, roslaunch gives the node name and log file as arguments to the node, and the rosnode script does not allow any other args as in the lines below
ros_comm/tools/rosnode/src/rosnode/__init__.py
Lines 675 to 678 in dd78ac8
For example, when we run the above launch file, the
args
will be non-empty, with the contents:['__name:=kill_all_nodes', '__log:=/blabla/.ros/log/flhais84523589nlaf/kill_all_nodes-1.log']
A solution might be removing the if condition here, but it may be needed for some other reason I don't know.
The text was updated successfully, but these errors were encountered: