Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes
sr_gui_advanced_controls.advanced_controls.SrGuiAdvancedControls Class Reference
Inheritance diagram for sr_gui_advanced_controls.advanced_controls.SrGuiAdvancedControls:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def change_ctrl
def change_force_ctrl_type
def on_control_mode_radio_button_toggled_
def on_effort_ctrl_clicked_
def on_mixed_ctrl_clicked_
def on_position_ctrl_clicked_
def on_stop_ctrl_clicked_
def on_velocity_ctrl_clicked_
def populate_controllers
def prefix_selected
def restore_settings
def save_settings
def shutdown_plugin

Public Attributes

 controllers
 hand_ids
 managed_controllers

Static Public Attributes

tuple CONTROLLER_OFF_ICON = QIcon(os.path.join(ICON_DIR, 'red.png'))
tuple CONTROLLER_ON_ICON = QIcon(os.path.join(ICON_DIR, 'green.png'))
tuple ICON_DIR

Private Member Functions

def _unregisterPublisher

Private Attributes

 _hand_finder
 _prefix
 _publisher
 _widget

Detailed Description

A rosgui plugin for loading the different controllers

Definition at line 49 of file advanced_controls.py.


Constructor & Destructor Documentation

Definition at line 120 of file advanced_controls.py.


Member Function Documentation

Definition at line 412 of file advanced_controls.py.

Switch the current controller

Definition at line 319 of file advanced_controls.py.

Calls the service (realtime_loop/change_control_type) that allows to
tell the driver (sr_robot_lib)
which type of force control has to be sent to the motor:
    - torque demand (sr_robot_msgs::ControlType::FORCE)
    - PWM (sr_robot_msgs::ControlType::PWM)
it will deactivate the Effort, Position, Mixed and Velocity buttons
for 3 secs to allow hardware controllers to be updated

Definition at line 369 of file advanced_controls.py.

Switch between FORCE, PWM modes
We only react to the currently ON radio button event

Definition at line 188 of file advanced_controls.py.

Effort controller selected

Definition at line 219 of file advanced_controls.py.

Mixed controller selected

Definition at line 269 of file advanced_controls.py.

Position controller selected

Definition at line 244 of file advanced_controls.py.

Stop controller

Definition at line 203 of file advanced_controls.py.

Velocity controller selected

Definition at line 294 of file advanced_controls.py.

Definition at line 59 of file advanced_controls.py.

Definition at line 408 of file advanced_controls.py.

def sr_gui_advanced_controls.advanced_controls.SrGuiAdvancedControls.restore_settings (   self,
  global_settings,
  perspective_settings 
)

Definition at line 423 of file advanced_controls.py.

def sr_gui_advanced_controls.advanced_controls.SrGuiAdvancedControls.save_settings (   self,
  global_settings,
  perspective_settings 
)

Definition at line 420 of file advanced_controls.py.

Definition at line 417 of file advanced_controls.py.


Member Data Documentation

Definition at line 120 of file advanced_controls.py.

Definition at line 120 of file advanced_controls.py.

Definition at line 120 of file advanced_controls.py.

Definition at line 120 of file advanced_controls.py.

Definition at line 57 of file advanced_controls.py.

Definition at line 56 of file advanced_controls.py.

Definition at line 59 of file advanced_controls.py.

Definition at line 59 of file advanced_controls.py.

Initial value:
os.path.join(
        rospkg.RosPack().get_path('sr_visualization_icons'), 'icons')

Definition at line 54 of file advanced_controls.py.

Definition at line 59 of file advanced_controls.py.


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


sr_gui_advanced_controls
Author(s): Ugo Cupcic
autogenerated on Thu Jun 6 2019 21:13:46