$search
Public Member Functions | |
| def | __init__ |
| def | add_to_tree |
| def | append_tree |
| def | on_set_initial_state |
| def | OnExit |
| def | OnIdle |
| def | OnQuit |
| def | select_cb |
| def | selection_changed |
| def | set_depth |
| def | set_dotcode |
| def | set_filter |
| def | set_label_width |
| def | set_path |
| def | ShowControlsDialog |
| def | toggle_all_transitions |
| def | update_graph |
Public Attributes | |
| content_splitter | |
| depth_spinner | |
| is_button | |
| path_combo | |
| path_input | |
| statusbar | |
| tree | |
| ud_gs | |
| ud_txt | |
| ud_win | |
| widget | |
| width_spinner | |
Private Member Functions | |
| def | _status_msg_update |
| def | _structure_msg_update |
| def | _update_graph |
| def | _update_server_list |
| def | _update_tree |
Private Attributes | |
| _client | |
| _containers | |
| _keep_running | |
| _label_wrapper | |
| _max_depth | |
| _needs_refresh | |
| _needs_zoom | |
| _path | |
| _selected_paths | |
| _server_list_thread | |
| _show_all_transitions | |
| _status_subs | |
| _structure_changed | |
| _structure_subs | |
| _top_containers | |
| _tree_nodes | |
| _update_cond | |
| _update_graph_thread | |
| _update_tree_thread | |
This class provides a GUI application for viewing SMACH plans.
Definition at line 435 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::__init__ | ( | self | ) |
Definition at line 439 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::_status_msg_update | ( | self, | ||
| msg | ||||
| ) | [private] |
Process status messages.
Definition at line 762 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::_structure_msg_update | ( | self, | ||
| msg, | ||||
| server_name | ||||
| ) | [private] |
Update the structure of the SMACH plan (re-generate the dotcode).
Definition at line 713 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::_update_graph | ( | self | ) | [private] |
This thread continuously updates the graph when it changes. The graph gets updated in one of two ways: 1: The structure of the SMACH plans has changed, or the display settings have been changed. In this case, the dotcode needs to be regenerated. 2: The status of the SMACH plans has changed. In this case, we only need to change the styles of the graph.
Definition at line 788 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::_update_server_list | ( | self | ) | [private] |
Update the list of known SMACH introspection servers.
Definition at line 915 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::_update_tree | ( | self | ) | [private] |
Update the tree view.
Definition at line 876 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::add_to_tree | ( | self, | ||
| path, | ||||
| parent | ||||
| ) |
Add a path to the tree view.
Definition at line 886 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::append_tree | ( | self, | ||
| container, | ||||
parent = None | ||||
| ) |
Append an item to the tree view.
Definition at line 901 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::on_set_initial_state | ( | self, | ||
| event | ||||
| ) |
Event: Change the initial state of the server.
Definition at line 618 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::OnExit | ( | self, | ||
| event | ||||
| ) |
Definition at line 955 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::OnIdle | ( | self, | ||
| event | ||||
| ) |
Event: On Idle, refresh the display if necessary, then un-set the flag.
Definition at line 908 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::OnQuit | ( | self, | ||
| event | ||||
| ) |
Quit Event: kill threads and wait for join.
Definition at line 601 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::select_cb | ( | self, | ||
| item, | ||||
| event | ||||
| ) |
Event: Click to select a graph node to display user data and update the graph.
Definition at line 651 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::selection_changed | ( | self, | ||
| event | ||||
| ) |
Event: Selection dropdown changed.
Definition at line 665 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::set_depth | ( | self, | ||
| event | ||||
| ) |
Event: Change the maximum depth and update the graph.
Definition at line 633 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::set_dotcode | ( | self, | ||
| dotcode, | ||||
zoom = True | ||||
| ) |
Set the xdot view's dotcode and refresh the display.
Definition at line 863 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::set_filter | ( | self, | ||
| filter | ||||
| ) |
Definition at line 958 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::set_label_width | ( | self, | ||
| event | ||||
| ) |
Event: Change the label wrapper width and update the graph.
Definition at line 639 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::set_path | ( | self, | ||
| event | ||||
| ) |
Event: Change the viewable path and update the graph.
Definition at line 627 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::ShowControlsDialog | ( | self, | ||
| event | ||||
| ) |
Definition at line 949 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::toggle_all_transitions | ( | self, | ||
| event | ||||
| ) |
Event: Change whether automatic transitions are hidden and update the graph.
Definition at line 645 of file smach_graph.py.
| def rqt_smach::smach_graph::SmachViewerFrame::update_graph | ( | self | ) |
Notify all that the graph needs to be updated.
Definition at line 613 of file smach_graph.py.
Definition at line 574 of file smach_graph.py.
Definition at line 443 of file smach_graph.py.
Definition at line 592 of file smach_graph.py.
Definition at line 501 of file smach_graph.py.
Definition at line 490 of file smach_graph.py.
Definition at line 446 of file smach_graph.py.
Definition at line 588 of file smach_graph.py.
Definition at line 587 of file smach_graph.py.
Definition at line 576 of file smach_graph.py.
Definition at line 593 of file smach_graph.py.
Definition at line 508 of file smach_graph.py.
Definition at line 580 of file smach_graph.py.
Definition at line 589 of file smach_graph.py.
Definition at line 579 of file smach_graph.py.
Definition at line 444 of file smach_graph.py.
Definition at line 882 of file smach_graph.py.
Definition at line 445 of file smach_graph.py.
Definition at line 596 of file smach_graph.py.
Definition at line 598 of file smach_graph.py.
Definition at line 452 of file smach_graph.py.
Definition at line 484 of file smach_graph.py.
Definition at line 552 of file smach_graph.py.
Definition at line 477 of file smach_graph.py.
Definition at line 541 of file smach_graph.py.
Definition at line 564 of file smach_graph.py.
Definition at line 528 of file smach_graph.py.
Definition at line 537 of file smach_graph.py.
Definition at line 548 of file smach_graph.py.
Definition at line 536 of file smach_graph.py.
Definition at line 522 of file smach_graph.py.
Definition at line 495 of file smach_graph.py.