bob_q3tts.gui_node

Classes

GUInode

ROS 2 node with a Qt GUI for tuning TTS parameters.

Functions

main([args])

Module Contents

class bob_q3tts.gui_node.GUInode

Bases: rclpy.node.Node, PyQt5.QtWidgets.QMainWindow

ROS 2 node with a Qt GUI for tuning TTS parameters.

target_node = 'tts'
set_cli
get_cli
central_widget
layout
header
refresh_btn
scroll
content_widget
content_layout
params
groups
widgets
value_labels
initial_sync_timer()

Try to sync once the services are available.

setup_parameters()

Create GUI widgets for each parameter.

sync_parameters()

Read all current values from the target node.

on_sync_response(future)

Update GUI widgets based on current ROS parameter values.

on_bool_change(name, state)
on_int_change(name, val, label)
on_double_change(name, val, scale, label)
on_string_change(name, val)
set_ros_param(name, p_type, val)

Send a SetParameters request to the target node.

bob_q3tts.gui_node.main(args=None)