Public Member Functions | |
def | __init__ |
def | check_prefix |
def | get_controller_settings |
def | get_ctrls |
def | load_parameters |
def | refresh_control_mode |
def | save_controller |
def | set_controller |
def | set_edit_only |
Public Attributes | |
all_controller_types | |
control_mode | |
controller_prefix | |
edit_only_mode | |
joint_prefix | |
namespace | |
pid_loader | |
prefix | |
selected_prefix | |
single_loop | |
xml_path | |
Static Public Attributes | |
float | CONTROLLER_MANAGER_DETECTION_TIMEOUT = 3.0 |
Handles loading, saving and setting of controller settings
Definition at line 84 of file sr_controller_tuner.py.
def sr_gui_controller_tuner.sr_controller_tuner.SrControllerTunerApp.__init__ | ( | self, | |
xml_path | |||
) |
Definition at line 91 of file sr_controller_tuner.py.
Get the prefix (hand and joint) Check if it matches selected prefix
Definition at line 116 of file sr_controller_tuner.py.
def sr_gui_controller_tuner.sr_controller_tuner.SrControllerTunerApp.get_controller_settings | ( | self, | |
controller_type | |||
) |
Parses a file containing the controller settings and their min and max values, and returns them.
Definition at line 258 of file sr_controller_tuner.py.
Retrieve currently running controllers return ["Motor Force", "Position"]
Definition at line 174 of file sr_controller_tuner.py.
def sr_gui_controller_tuner.sr_controller_tuner.SrControllerTunerApp.load_parameters | ( | self, | |
controller_type, | |||
joint_name | |||
) |
Load the parameters from the yaml file.
Definition at line 268 of file sr_controller_tuner.py.
Effectively change control mode on the realtime loop
Definition at line 251 of file sr_controller_tuner.py.
def sr_gui_controller_tuner.sr_controller_tuner.SrControllerTunerApp.save_controller | ( | self, | |
joint_name, | |||
controller_type, | |||
controller_settings, | |||
filename | |||
) |
Saves the controller settings calling the proper service with the correct syntax for controller type
Definition at line 448 of file sr_controller_tuner.py.
def sr_gui_controller_tuner.sr_controller_tuner.SrControllerTunerApp.set_controller | ( | self, | |
joint_name, | |||
controller_type, | |||
controller_settings | |||
) |
Sets the controller settings calling the proper service with the correct syntax for controller type.
Definition at line 301 of file sr_controller_tuner.py.
def sr_gui_controller_tuner.sr_controller_tuner.SrControllerTunerApp.set_edit_only | ( | self, | |
running_ctrls | |||
) |
Sets all the controllers to defined type for edit-only mode
Definition at line 241 of file sr_controller_tuner.py.
Definition at line 91 of file sr_controller_tuner.py.
Definition at line 91 of file sr_controller_tuner.py.
float sr_gui_controller_tuner::sr_controller_tuner.SrControllerTunerApp::CONTROLLER_MANAGER_DETECTION_TIMEOUT = 3.0 [static] |
Definition at line 89 of file sr_controller_tuner.py.
Definition at line 91 of file sr_controller_tuner.py.
Definition at line 91 of file sr_controller_tuner.py.
Definition at line 91 of file sr_controller_tuner.py.
Definition at line 91 of file sr_controller_tuner.py.
Definition at line 91 of file sr_controller_tuner.py.
Definition at line 91 of file sr_controller_tuner.py.
Definition at line 91 of file sr_controller_tuner.py.
Definition at line 91 of file sr_controller_tuner.py.
Definition at line 91 of file sr_controller_tuner.py.