65 self._main_launch_widget.load_parameters()
69 Checks nodes that's set (via self.set_node_controllers) one by one and 70 starts one if each node is not running. 71 Then disable START ALL button and enable STOP ALL button. 74 if not n.is_node_running():
75 n.start(restart=
False)
78 self._main_launch_widget._pushbutton_start_all.setEnabled(
False)
79 self._main_launch_widget._pushbutton_stop_all.setEnabled(
True)
83 Checks nodes that's set (via self.set_node_controllers) one by one and 84 stops one if each node is running. 85 Then enable START ALL button and disable STOP ALL button. 88 if n.is_node_running():
92 self._main_launch_widget._pushbutton_start_all.setEnabled(
True)
93 self._main_launch_widget._pushbutton_stop_all.setEnabled(
False)
97 n.check_process_status()
100 rospy.logdebug(
'Launchmain.shutdown')
104 self._mainwidget.save_settings(plugin_settings, instance_settings)
107 self._mainwidget.restore_settings(plugin_settings, instance_settings)
110 if __name__ ==
'__main__':
115 sys.exit(main.main(sys.argv, standalone=
'rqt_launch'))
def check_process_statuses(self)
def save_settings(self, plugin_settings, instance_settings)
def restore_settings(self, plugin_settings, instance_settings)
def __init__(self, plugin_context)
def set_node_controllers(self, node_controllers)