Public Member Functions | |
def | __init__ |
def | on_btn_load_clicked_ |
def | on_btn_move_pressed_ |
def | on_btn_plot_pressed_ |
def | on_btn_refresh_ctrl_clicked_ |
def | on_btn_save_all_clicked_ |
def | on_btn_save_selected_clicked_ |
def | on_btn_select_file_path_clicked_ |
def | on_btn_set_all_clicked_ |
def | on_btn_set_selected_clicked_ |
def | on_btn_stop_mvts_clicked_ |
def | on_changed_controller_type_ |
def | prefix_selected |
def | read_settings |
def | refresh_controller_tree_ |
def | reset_file_path |
def | restore_settings |
def | save_controller |
def | save_settings |
def | set_controller |
def | shutdown_plugin |
Public Attributes | |
controller_type | |
controllers_in_dropdown | |
ctrl_widgets | |
file_to_save | |
move_threads | |
sr_controller_tuner_app_ | |
Private Member Functions | |
def | _unregisterPublisher |
Private Attributes | |
_hand_finder | |
_prefix | |
_publisher | |
_widget |
a rosgui plugin for tuning the sr_mechanism_controllers
Definition at line 244 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.__init__ | ( | self, | |
context | |||
) |
Definition at line 250 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner._unregisterPublisher | ( | self | ) | [private] |
Definition at line 696 of file controller_tuner.py.
reload the parameters in rosparam, then refresh the tree widget
Definition at line 431 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.on_btn_move_pressed_ | ( | self, | |
joint_name, | |||
btn | |||
) |
Definition at line 334 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.on_btn_plot_pressed_ | ( | self, | |
joint_name, | |||
btn | |||
) |
Definition at line 330 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.on_btn_refresh_ctrl_clicked_ | ( | self | ) |
Calls refresh_controller_tree_ after preparing widgets
Definition at line 484 of file controller_tuner.py.
Save all controllers
Definition at line 456 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.on_btn_save_selected_clicked_ | ( | self | ) |
Save only the selected controllers
Definition at line 442 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.on_btn_select_file_path_clicked_ | ( | self | ) |
Perform controller tuning and save settings to user specified file sr_config stack must be installed
Definition at line 362 of file controller_tuner.py.
Sets the current values for all controllers using the ros service.
Definition at line 477 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.on_btn_set_selected_clicked_ | ( | self | ) |
Sets the current values for selected controllers using the ros service.
Definition at line 463 of file controller_tuner.py.
Definition at line 688 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.on_changed_controller_type_ | ( | self, | |
index = None |
|||
) |
When controller type is changed clear the chosen file path and refresh the tree with the controller settings
Definition at line 339 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.prefix_selected | ( | self, | |
prefix | |||
) |
Sets the prefix in the controller tuner app and Refreshes the controllers
Definition at line 498 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.read_settings | ( | self, | |
joint_name | |||
) |
retrieve settings for joint with given name
Definition at line 508 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.refresh_controller_tree_ | ( | self, | |
controller_type = "Motor Force" |
|||
) |
Get the controller settings and their ranges and display them in the tree. Buttons and plots will be added unless in edit_only mode. Move button will be added if controller is position type Buttons "set all" "set selected" and "stop movements" are disabled in edit_only_mode Controller settings must exist for every motor of every finger in the yaml file.
Definition at line 554 of file controller_tuner.py.
Clear the chosen file path and disable the save button until user selects another path
Definition at line 349 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.restore_settings | ( | self, | |
global_settings, | |||
perspective_settings | |||
) |
Definition at line 707 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.save_controller | ( | self, | |
joint_name | |||
) |
Saves the current values for the given controller using the ros service.
Definition at line 544 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.save_settings | ( | self, | |
global_settings, | |||
perspective_settings | |||
) |
Definition at line 704 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.set_controller | ( | self, | |
joint_name | |||
) |
Sets the current values for the given controller using the ros service.
Definition at line 526 of file controller_tuner.py.
Definition at line 701 of file controller_tuner.py.
Definition at line 250 of file controller_tuner.py.
Definition at line 250 of file controller_tuner.py.
Definition at line 250 of file controller_tuner.py.
Definition at line 250 of file controller_tuner.py.
Definition at line 250 of file controller_tuner.py.
Definition at line 250 of file controller_tuner.py.
Definition at line 250 of file controller_tuner.py.
Definition at line 250 of file controller_tuner.py.
Definition at line 250 of file controller_tuner.py.
Definition at line 250 of file controller_tuner.py.