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 | 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 |
Default methods for the rosgui plugins. | |
Private Attributes | |
_publisher | |
_widget |
a rosgui plugin for tuning the sr_mechanism_controllers
Definition at line 194 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.__init__ | ( | self, | |
context | |||
) |
Definition at line 198 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner._unregisterPublisher | ( | self | ) | [private] |
Default methods for the rosgui plugins.
Definition at line 561 of file controller_tuner.py.
reload the parameters in rosparam, then refresh the tree widget
Definition at line 333 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.on_btn_move_pressed_ | ( | self, | |
joint_name, | |||
btn | |||
) |
Definition at line 247 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.on_btn_plot_pressed_ | ( | self, | |
joint_name, | |||
btn | |||
) |
Definition at line 243 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 383 of file controller_tuner.py.
Save all controllers
Definition at line 356 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 343 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 274 of file controller_tuner.py.
Sets the current values for all controllers using the ros service.
Definition at line 376 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 363 of file controller_tuner.py.
Definition at line 552 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 252 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.read_settings | ( | self, | |
joint_name | |||
) |
retrive settings for joint with given name
Definition at line 397 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 443 of file controller_tuner.py.
Clear the chosen file path and disable the save button until user selects another path
Definition at line 261 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.restore_settings | ( | self, | |
global_settings, | |||
perspective_settings | |||
) |
Definition at line 572 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 433 of file controller_tuner.py.
def sr_gui_controller_tuner.controller_tuner.SrGuiControllerTuner.save_settings | ( | self, | |
global_settings, | |||
perspective_settings | |||
) |
Definition at line 569 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 418 of file controller_tuner.py.
Definition at line 566 of file controller_tuner.py.
Definition at line 198 of file controller_tuner.py.
Definition at line 198 of file controller_tuner.py.
Definition at line 198 of file controller_tuner.py.
Definition at line 198 of file controller_tuner.py.
Definition at line 198 of file controller_tuner.py.
Definition at line 198 of file controller_tuner.py.
Definition at line 198 of file controller_tuner.py.
Definition at line 198 of file controller_tuner.py.