Public Member Functions | Public Attributes | Static Public Attributes
sr_gui_controller_tuner.sr_controller_tuner.SrControllerTunerApp Class Reference

List of all members.

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

Detailed Description

Handles loading, saving and setting of controller settings

Definition at line 84 of file sr_controller_tuner.py.


Constructor & Destructor Documentation

Definition at line 91 of file sr_controller_tuner.py.


Member Function Documentation

Get the prefix (hand and joint)
Check if it matches selected prefix

Definition at line 116 of file sr_controller_tuner.py.

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.

Sets all the controllers to defined type for edit-only mode

Definition at line 241 of file sr_controller_tuner.py.


Member Data Documentation

Definition at line 91 of file sr_controller_tuner.py.

Definition at line 91 of file sr_controller_tuner.py.

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.


The documentation for this class was generated from the following file:


sr_gui_controller_tuner
Author(s): Ugo Cupcic
autogenerated on Thu Jun 6 2019 21:13:52