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 |
A rosgui plugin for loading the different controllers
Definition at line 49 of file advanced_controls.py.
def sr_gui_advanced_controls.advanced_controls.SrGuiAdvancedControls.__init__ | ( | self, | |
context | |||
) |
Definition at line 120 of file advanced_controls.py.
def sr_gui_advanced_controls.advanced_controls.SrGuiAdvancedControls._unregisterPublisher | ( | self | ) | [private] |
Definition at line 412 of file advanced_controls.py.
def sr_gui_advanced_controls.advanced_controls.SrGuiAdvancedControls.change_ctrl | ( | self, | |
controller | |||
) |
Switch the current controller
Definition at line 319 of file advanced_controls.py.
def sr_gui_advanced_controls.advanced_controls.SrGuiAdvancedControls.change_force_ctrl_type | ( | self, | |
chng_type_msg | |||
) |
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.
def sr_gui_advanced_controls.advanced_controls.SrGuiAdvancedControls.on_control_mode_radio_button_toggled_ | ( | self, | |
checked | |||
) |
Switch between FORCE, PWM modes We only react to the currently ON radio button event
Definition at line 188 of file advanced_controls.py.
def sr_gui_advanced_controls.advanced_controls.SrGuiAdvancedControls.on_effort_ctrl_clicked_ | ( | self | ) |
Effort controller selected
Definition at line 219 of file advanced_controls.py.
Mixed controller selected
Definition at line 269 of file advanced_controls.py.
def sr_gui_advanced_controls.advanced_controls.SrGuiAdvancedControls.on_position_ctrl_clicked_ | ( | self | ) |
Position controller selected
Definition at line 244 of file advanced_controls.py.
Stop controller
Definition at line 203 of file advanced_controls.py.
def sr_gui_advanced_controls.advanced_controls.SrGuiAdvancedControls.on_velocity_ctrl_clicked_ | ( | self | ) |
Velocity controller selected
Definition at line 294 of file advanced_controls.py.
Definition at line 59 of file advanced_controls.py.
def sr_gui_advanced_controls.advanced_controls.SrGuiAdvancedControls.prefix_selected | ( | self, | |
prefix | |||
) |
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.
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.
tuple sr_gui_advanced_controls::advanced_controls.SrGuiAdvancedControls::CONTROLLER_OFF_ICON = QIcon(os.path.join(ICON_DIR, 'red.png')) [static] |
Definition at line 57 of file advanced_controls.py.
tuple sr_gui_advanced_controls::advanced_controls.SrGuiAdvancedControls::CONTROLLER_ON_ICON = QIcon(os.path.join(ICON_DIR, 'green.png')) [static] |
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.
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.