bob_q3tts.gui_node ================== .. py:module:: bob_q3tts.gui_node Classes ------- .. autoapisummary:: bob_q3tts.gui_node.GUInode Functions --------- .. autoapisummary:: bob_q3tts.gui_node.main Module Contents --------------- .. py:class:: GUInode Bases: :py:obj:`rclpy.node.Node`, :py:obj:`PyQt5.QtWidgets.QMainWindow` ROS 2 node with a Qt GUI for tuning TTS parameters. .. py:attribute:: target_node :value: 'tts' .. py:attribute:: set_cli .. py:attribute:: get_cli .. py:attribute:: central_widget .. py:attribute:: layout .. py:attribute:: header .. py:attribute:: refresh_btn .. py:attribute:: scroll .. py:attribute:: content_widget .. py:attribute:: content_layout .. py:attribute:: params .. py:attribute:: groups .. py:attribute:: widgets .. py:attribute:: value_labels .. py:method:: initial_sync_timer() Try to sync once the services are available. .. py:method:: setup_parameters() Create GUI widgets for each parameter. .. py:method:: sync_parameters() Read all current values from the target node. .. py:method:: on_sync_response(future) Update GUI widgets based on current ROS parameter values. .. py:method:: on_bool_change(name, state) .. py:method:: on_int_change(name, val, label) .. py:method:: on_double_change(name, val, scale, label) .. py:method:: on_string_change(name, val) .. py:method:: set_ros_param(name, p_type, val) Send a SetParameters request to the target node. .. py:function:: main(args=None)